From 94407534c448821090e975a4c14609aef6175591 Mon Sep 17 00:00:00 2001 From: Steven Murawski Date: Mon, 16 May 2022 16:18:03 +0000 Subject: [PATCH 01/17] adding containerapp compose create --- .github/CODEOWNERS | 2 + scripts/ci/credscan/CredScanSuppressions.json | 21 + src/containerapp-preview/HISTORY.rst | 8 + src/containerapp-preview/README.md | 92 + src/containerapp-preview/README.rst | 5 + .../azext_containerapp_preview/__init__.py | 33 + .../azext_containerapp_preview/_help.py | 23 + .../azext_containerapp_preview/_params.py | 25 + .../azext_containerapp_preview/_validators.py | 20 + .../azext_metadata.json | 4 + .../azext_containerapp_preview/commands.py | 10 + .../azext_containerapp_preview/custom.py | 264 ++ .../tests/__init__.py | 5 + .../tests/latest/__init__.py | 5 + ..._compose_create_no_existing_resources.yaml | 2094 ++++++++++ ...compose_create_with_all_registry_args.yaml | 2038 ++++++++++ ...rapp_compose_create_with_both_ingress.yaml | 2154 +++++++++++ ...containerapp_compose_create_with_cpus.yaml | 2302 +++++++++++ ...mpose_create_with_cpus_and_deploy_cpu.yaml | 2097 ++++++++++ ...nerapp_compose_create_with_deploy_cpu.yaml | 1945 ++++++++++ ...erapp_compose_create_with_environment.yaml | 2049 ++++++++++ ...ompose_create_with_environment_prompt.yaml | 1653 ++++++++ ..._compose_create_with_external_ingress.yaml | 2464 ++++++++++++ ..._compose_create_with_internal_ingress.yaml | 2197 +++++++++++ ...pp_compose_create_with_prompt_ingress.yaml | 1653 ++++++++ ..._create_with_registry_server_arg_only.yaml | 1953 ++++++++++ ...app_compose_create_with_transport_arg.yaml | 2183 +++++++++++ ...ontainerapp_compose_with_command_list.yaml | 1999 ++++++++++ ...tainerapp_compose_with_command_string.yaml | 2099 ++++++++++ ...pose_with_entrypoint_and_command_list.yaml | 2053 ++++++++++ .../test_containerapp_preview_scenario.py | 592 +++ .../vendored_sdks/__init__.py | 0 .../azext_containerapp/__init__.py | 5 + .../azext_containerapp/_acr_run_polling.py | 112 + .../azext_containerapp/_archive_utils.py | 243 ++ .../azext_containerapp/_client_factory.py | 75 + .../azext_containerapp/_clients.py | 787 ++++ .../azext_containerapp/_constants.py | 10 + .../azext_containerapp/_github_oauth.py | 92 + .../vendored_sdks/azext_containerapp/_help.py | 642 ++++ .../azext_containerapp/_models.py | 233 ++ .../azext_containerapp/_params.py | 243 ++ .../azext_containerapp/_sdk_models.py | 3396 +++++++++++++++++ .../azext_containerapp/_ssh_utils.py | 179 + .../azext_containerapp/_up_utils.py | 784 ++++ .../azext_containerapp/_utils.py | 1050 +++++ .../azext_containerapp/_validators.py | 157 + .../azext_containerapp/azext_metadata.json | 5 + .../azext_containerapp/commands.py | 118 + .../azext_containerapp/custom.py | 2202 +++++++++++ src/containerapp-preview/setup.cfg | 4 + src/containerapp-preview/setup.py | 58 + 52 files changed, 44437 insertions(+) create mode 100644 src/containerapp-preview/HISTORY.rst create mode 100644 src/containerapp-preview/README.md create mode 100644 src/containerapp-preview/README.rst create mode 100644 src/containerapp-preview/azext_containerapp_preview/__init__.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/_help.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/_params.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/_validators.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/azext_metadata.json create mode 100644 src/containerapp-preview/azext_containerapp_preview/commands.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/custom.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/__init__.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/__init__.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_no_existing_resources.yaml create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_all_registry_args.yaml create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_both_ingress.yaml create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_cpus.yaml create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_cpus_and_deploy_cpu.yaml create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_deploy_cpu.yaml create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_environment.yaml create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_environment_prompt.yaml create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_external_ingress.yaml create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_internal_ingress.yaml create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_prompt_ingress.yaml create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_registry_server_arg_only.yaml create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_transport_arg.yaml create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_command_list.yaml create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_command_string.yaml create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_entrypoint_and_command_list.yaml create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scenario.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/vendored_sdks/__init__.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/__init__.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_acr_run_polling.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_archive_utils.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_client_factory.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_clients.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_constants.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_github_oauth.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_help.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_models.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_params.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_sdk_models.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_ssh_utils.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_up_utils.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_utils.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_validators.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/azext_metadata.json create mode 100644 src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/commands.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/custom.py create mode 100644 src/containerapp-preview/setup.cfg create mode 100644 src/containerapp-preview/setup.py diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 607175675db..083e79f2e78 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -235,3 +235,5 @@ /src/scvmm/ @nascarsayan /src/spring/ @yuwzho + +/src/containerapp-preview/ @smurawski @jldeen diff --git a/scripts/ci/credscan/CredScanSuppressions.json b/scripts/ci/credscan/CredScanSuppressions.json index 79576301ceb..4507afda899 100644 --- a/scripts/ci/credscan/CredScanSuppressions.json +++ b/scripts/ci/credscan/CredScanSuppressions.json @@ -145,6 +145,27 @@ "src\\containerapp\\azext_containerapp\\tests\\latest\test_containerapp_env_commands.py" ], "_justification": "Dummy resources' keys left during testing Microsoft.App (required for log-analytics to create managedEnvironments)" + }, + { + "file": [ + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_no_existing_resources.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_environment.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_transport_arg.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_all_registry_args.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_environment_prompt.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_with_command_list.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_both_ingress.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_external_ingress.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_with_command_string.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_cpus.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_internal_ingress.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_with_entrypoint_and_command_list.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_cpus_and_deploy_cpu.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_prompt_ingress.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_deploy_cpu.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_registry_server_arg_only.yaml" + ], + "_justification": "Dummy resources' tokens left during testing." } ] } \ No newline at end of file diff --git a/src/containerapp-preview/HISTORY.rst b/src/containerapp-preview/HISTORY.rst new file mode 100644 index 00000000000..8c34bccfff8 --- /dev/null +++ b/src/containerapp-preview/HISTORY.rst @@ -0,0 +1,8 @@ +.. :changelog: + +Release History +=============== + +0.1.0 +++++++ +* Initial release. \ No newline at end of file diff --git a/src/containerapp-preview/README.md b/src/containerapp-preview/README.md new file mode 100644 index 00000000000..4e78ccb8cf3 --- /dev/null +++ b/src/containerapp-preview/README.md @@ -0,0 +1,92 @@ + +# Extensions for Azure CLI 2.0 + +This repository serves two purposes and they are independent: + +1. A source code directory, `src`, to host your extension source code. +2. An index.json where you can add your extension and make it available through Azure CLI. + +For documentation on authoring an extension, see [Extension Documentation](https://github.com/Azure/azure-cli/tree/master/doc/extensions) + +## About index.json + +- The index is at `src/index.json`. +- Modify the index by creating a PR. +- All extensions added to the index *are public* and will be available to *all* CLI users. +- The index is synced to `https://aka.ms/azure-cli-extension-index-v1` every few minutes. +- Your extension source code does not have to be in this repository to be available in the index. +- If you don't want your extension to be part of the index, you can still host it externally and request users to install with `az extension add --source https://contoso.com/mywheel.whl`. + * Users will not be able to add your extension by name, it will not be listed in the `az extension list-available` command and to update to a new version of your extension, the user has to first remove the currently installed extension and then add the new version. + +Add your extension to the index to make it available in these CLI commands: +- `az extension add --name NAME` - Allows users to add an extension by name +- `az extension list-available` - Allows users to list the available extensions in the index +- `az extension update --name NAME` - Allows users to update an extension + +## About source code in this repository + +- Extension source code goes into the `src` directory. +- You can place your source code in this repository by creating a PR. +- Once CI is green and it has been approved, the PR can be merged. +- SDKs generated from [AutoRest](https://github.com/Azure/autorest) often do not pass CI static-checking. If they are vendored inside the extension, exclude them from static checking by placing them in the folder: `src//azext_*/vendored_sdks`. +- Ensure that you include an appropriate owner for your extension in `.github/CODEOWNERS`. +- Your extension artifact (i.e. `.whl`) will not live in this repository. You can publish your extension to PyPI or somewhere else such as Azure Storage. +- If you want your extension to appear in the index.json, modify the index. + +## About extension publishing + +There is a pipeline to automatically build, upload and publish extension wheels. + +Once your PR is merged into master branch, a new PR will be created to update `src/index.json` automatically. + +The precondition is to put your code inside this repo and upgrade the version in the PR but not to modify `src/index.json`. + +If you want to host the source code in your dedicated repo, you have to upload the WHL file and update the `src/index.json` manually. + +For detail, please visit [Publish section in Azure CLI Extension Authoring](https://github.com/Azure/azure-cli/blob/dev/doc/extensions/authoring.md#publish). + +## FAQ + +### How to generate sha256digest for an index.json entry? + +If you use `azdev extension update-index` the command will calculate the SHA256 digest for you. For more information visit https://github.com/Azure/azure-cli-dev-tools. + +As a fallback: + +MacOS +``` +shasum -a 256 path_to_whl.whl +``` + +Windows / PowerShell +``` +Get-FileHash path_to_whl.whl -Algorithm SHA256 +``` + +Note: Hash should be in lowercase in index.json otherwise CI will fail. + +### How to fill in the metadata for an index.json entry? + +The `azdev extension update-index` command can be used to simplify the process of updating the index file. Run `azdev extension update-index ` where URL is the fully-qualified URL to your published extension WHL. This will gather the appropriate metadata and add an entry for your extension to the index. For more information visit https://github.com/Azure/azure-cli-dev-tools. + +As a fallback: + +The metadata needed to be filled is a combination of the contents present in: +- `metadata.json` located in your unzipped extension artifact (`.whl` file) in the `-.dist-info` directory. This metadata is garnered from the `setup.py` folder. +- `azext_metadata.json` (if it exists) under your extension. + +Note that CI will fail if this metadata does not match the contents of your published extension. + +# Contributing + +This project welcomes contributions and suggestions. Most contributions require you to agree to a +Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us +the rights to use your contribution. For details, visit https://cla.microsoft.com. + +When you submit a pull request, a CLA-bot will automatically determine whether you need to provide +a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions +provided by the bot. You will only need to do this once across all repos using our CLA. + +This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). +For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or +contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. diff --git a/src/containerapp-preview/README.rst b/src/containerapp-preview/README.rst new file mode 100644 index 00000000000..d81f7f268ca --- /dev/null +++ b/src/containerapp-preview/README.rst @@ -0,0 +1,5 @@ +Microsoft Azure CLI 'containerapps' Extension +========================================== + +This package is for the 'containerapps' extension. +i.e. 'az containerapps' \ No newline at end of file diff --git a/src/containerapp-preview/azext_containerapp_preview/__init__.py b/src/containerapp-preview/azext_containerapp_preview/__init__.py new file mode 100644 index 00000000000..eb3c65ef2cb --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/__init__.py @@ -0,0 +1,33 @@ +# -------------------------------------------------------------------------------------------- +# 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.core import AzCommandsLoader +from ._help import helps # pylint: disable=unused-import + + +class ContainerappPreviewCommandsLoader(AzCommandsLoader): + + def __init__(self, cli_ctx=None): + from azure.cli.core.commands import CliCommandType + containerapp_preview_custom = CliCommandType( + operations_tmpl='azext_containerapp_preview.custom#{}', + client_factory=None) + # pylint: disable=R1725 + super(ContainerappPreviewCommandsLoader, self).__init__( + cli_ctx=cli_ctx, + custom_command_type=containerapp_preview_custom + ) + + def load_command_table(self, args): + from azext_containerapp_preview.commands import load_command_table + load_command_table(self, args) + return self.command_table + + def load_arguments(self, command): + from azext_containerapp_preview._params import load_arguments + load_arguments(self, command) + + +COMMAND_LOADER_CLS = ContainerappPreviewCommandsLoader diff --git a/src/containerapp-preview/azext_containerapp_preview/_help.py b/src/containerapp-preview/azext_containerapp_preview/_help.py new file mode 100644 index 00000000000..1045d812d5c --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/_help.py @@ -0,0 +1,23 @@ +# coding=utf-8 +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from knack.help_files import helps # pylint: disable=unused-import + +if 'containerapp' not in helps.keys(): + helps['containerapp'] = """ + type: group + short-summary: Manage Azure Container Apps. +""" + +helps['containerapp compose'] = """ + type: group + short-summary: Commands to manage Containerappss. +""" + +helps['containerapp compose create'] = """ + type: command + short-summary: Create a Containerapps. +""" diff --git a/src/containerapp-preview/azext_containerapp_preview/_params.py b/src/containerapp-preview/azext_containerapp_preview/_params.py new file mode 100644 index 00000000000..31ca752b560 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/_params.py @@ -0,0 +1,25 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- +# pylint: disable=line-too-long + + +def load_arguments(self, _): + + from argparse import SUPPRESS + from azure.cli.core.commands.parameters import (tags_type, get_location_type) + from azure.cli.core.commands.validators import get_default_location_from_resource_group + + with self.argument_context('containerapp compose') as c: + c.argument('tags', tags_type) + c.argument('location', get_location_type(self.cli_ctx), validator=get_default_location_from_resource_group) + c.argument('managed_env', options_list=['--environment', '-e'], help="Name of the containerapp's environment.") + + with self.argument_context('containerapp compose create') as c: + c.argument('compose_file_path', options_list=['--compose-file-path', '-f'], help='Path to a Docker Compose file with the configuration to import to Azure Containerapps.') + c.argument('registry_server', options_list=['--registry-server'], help='Path to a container registry') + c.argument('registry_user', options_list=['--registry-username'], help="Supplied container registry's username") + c.argument('registry_pass', options_list=['--registry-password'], help="Supplied container registry's password") + c.argument('logs_workspace_name', options_list=['--logs-workspace', '-w'], help=SUPPRESS) + c.argument('transport', options_list=['--transport'], action='append', nargs='+', help="Transport options per containerapp instance (servicename=transportsetting).") diff --git a/src/containerapp-preview/azext_containerapp_preview/_validators.py b/src/containerapp-preview/azext_containerapp_preview/_validators.py new file mode 100644 index 00000000000..62003eede7b --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/_validators.py @@ -0,0 +1,20 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + + +def example_name_or_id_validator(cmd, namespace): + # Example of a storage account name or ID validator. + # See: https://github.com/Azure/azure-cli/blob/dev/doc/authoring_command_modules/authoring_commands.md#supporting-name-or-id-parameters # pylint: disable=C0301 + from azure.cli.core.commands.client_factory import get_subscription_id + from msrestazure.tools import is_valid_resource_id, resource_id + if namespace.storage_account: + if not is_valid_resource_id(namespace.RESOURCE): + namespace.storage_account = resource_id( + subscription=get_subscription_id(cmd.cli_ctx), + resource_group=namespace.resource_group_name, + namespace='Microsoft.Storage', + type='storageAccounts', + name=namespace.storage_account + ) diff --git a/src/containerapp-preview/azext_containerapp_preview/azext_metadata.json b/src/containerapp-preview/azext_containerapp_preview/azext_metadata.json new file mode 100644 index 00000000000..55c81bf3328 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/azext_metadata.json @@ -0,0 +1,4 @@ +{ + "azext.isPreview": true, + "azext.minCliCoreVersion": "2.0.67" +} \ No newline at end of file diff --git a/src/containerapp-preview/azext_containerapp_preview/commands.py b/src/containerapp-preview/azext_containerapp_preview/commands.py new file mode 100644 index 00000000000..22a818fe490 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/commands.py @@ -0,0 +1,10 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + + +def load_command_table(self, _): + + with self.command_group('containerapp compose', is_preview=True) as g: + g.custom_command('create', 'create_containerapps_from_compose') diff --git a/src/containerapp-preview/azext_containerapp_preview/custom.py b/src/containerapp-preview/azext_containerapp_preview/custom.py new file mode 100644 index 00000000000..d0f74c3f54d --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/custom.py @@ -0,0 +1,264 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +import errno +import os +import yaml + +from knack.log import get_logger +from knack.util import CLIError +from knack.prompting import prompt +from knack.prompting import prompt_choice_list +from pycomposefile import ComposeFile + +from .vendored_sdks.azext_containerapp.custom import ( + create_containerapp, create_managed_environment) +from .vendored_sdks.azext_containerapp._clients import ManagedEnvironmentClient + + +logger = get_logger(__name__) + + +def create_containerapps_from_compose(cmd, # pylint: disable=R0914 + resource_group_name, + managed_env, + compose_file_path='./docker-compose.yml', + registry_server=None, + registry_user=None, + registry_pass=None, + transport=None, + logs_workspace_name=None, + location=None, + tags=None): + logger.info( # pylint: disable=W1203 + f"Creating the Container Apps managed environment {managed_env} under {resource_group_name} in {location}.") + + try: + managed_environment = ManagedEnvironmentClient.show(cmd=cmd, + resource_group_name=resource_group_name, + name=managed_env) + except: # pylint: disable=W0702 + managed_environment = create_managed_environment(cmd, + managed_env, + resource_group_name, + logs_workspace_name=logs_workspace_name, + tags=tags) + os.environ["AZURE_CONTAINERAPPS_ENV_DEFAULT_DOMAIN"] = managed_environment["properties"]["defaultDomain"] + os.environ["AZURE_CONTAINERAPPS_ENV_STATIC_IP"] = managed_environment["properties"]["staticIp"] + + compose_yaml = load_yaml_file(compose_file_path) + parsed_compose_file = ComposeFile(compose_yaml) + + containerapps_from_compose = [] + # Using the key to iterate to get the service name + # pylint: disable=C0201,C0206 + for service_name in parsed_compose_file.ordered_services.keys(): + service = parsed_compose_file.services[service_name] + logger.info( # pylint: disable=W1203 + f"Creating the Container Apps instance for {service_name} under {resource_group_name} in {location}.") + ingress_type, target_port = resolve_ingress_and_target_port(service) + registry, registry_username, registry_password = resolve_registry_from_cli_args(registry_server, registry_user, registry_pass) # pylint: disable=C0301 + transport_setting = resolve_transport_from_cli_args(service_name, transport) + startup_command, startup_args = resolve_service_startup_command(service) + cpu, memory = validate_memory_and_cpu_setting( + resolve_cpu_configuration_from_service(service), + resolve_memory_configuration_from_service(service) + ) + environment = resolve_environment_from_service(service) + containerapps_from_compose.append( + create_containerapp(cmd, + service_name, + resource_group_name, + image=service.image, + container_name=service.container_name, + managed_env=managed_environment["id"], + ingress=ingress_type, + target_port=target_port, + registry_server=registry, + registry_user=registry_username, + registry_pass=registry_password, + transport=transport_setting, + startup_command=startup_command, + args=startup_args, + cpu=cpu, + memory=memory, + env_vars=environment, + )) + + return containerapps_from_compose + + +def service_deploy_exists(service): + return service.deploy is not None + + +def service_deploy_resources_exists(service): + return service_deploy_exists(service) and service.deploy.resources is not None + + +def flatten_list(source_value): + flat_list = [] + for sub_list in source_value: + flat_list += sub_list + return flat_list + + +def resolve_transport_from_cli_args(service_name, transport): + if transport is not None: + transport = flatten_list(transport) + for setting in transport: + key, value = setting.split('=') + if key.lower() == service_name.lower(): + return value + return 'auto' + + +def resolve_registry_from_cli_args(registry_server, registry_user, registry_pass): + if registry_server is not None: + if registry_user is None and registry_pass is None: + registry_user = prompt("Please enter the registry's username: ") + registry_pass = prompt("Please enter the registry's password: ") + elif registry_user is not None and registry_pass is None: + registry_pass = prompt("Please enter the registry's password: ") + return (registry_server, registry_user, registry_pass) + + +def resolve_environment_from_service(service): + env_array = [] + + env_vars = service.resolve_environment_hierarchy() + + if env_vars is None: + return None + + for k, v in env_vars.items(): + if v is None: + v = prompt(f"{k} is empty. What would you like the value to be? ") + env_array.append(f"{k}={v}") + + return env_array + + +def valid_resource_settings(): + # vCPU and Memory reservations + # https://docs.microsoft.com/azure/container-apps/containers#configuration + return { + "0.25": "0.5", + "0.5": "1.0", + "0.75": "1.5", + "1.0": "2.0", + "1.25": "2.5", + "1.5": "3.0", + "1.75": "3.5", + "2.0": "4.0", + } + + +def validate_memory_and_cpu_setting(cpu, memory): + settings = valid_resource_settings() + + if cpu in settings.keys(): # pylint: disable=C0201 + if memory != settings[cpu]: + if memory is not None: + warning = f"Unsupported memory reservation request of {memory}." + warning += f"The default value of {settings[cpu]}Gi will be used." + logger.warning(warning) + memory = settings[cpu] + return (cpu, f"{memory}Gi") + + if cpu is not None: + logger.warning( # pylint: disable=W1203 + f"Invalid CPU reservation request of {cpu}. The default resource values will be used.") + return (None, None) + + +def resolve_cpu_configuration_from_service(service): + cpu = None + if service_deploy_resources_exists(service): + resources = service.deploy.resources + if resources.reservations is not None and resources.reservations.cpus is not None: + cpu = str(resources.reservations.cpus) + elif service.cpus is not None: + cpu = str(service.cpus) + return cpu + + +def resolve_memory_configuration_from_service(service): + memory = None + if service_deploy_resources_exists(service): + resources = service.deploy.resources + if resources.reservations is not None and resources.reservations.memory is not None: + memory = str(resources.reservations.memory.gigabytes()) + elif service.mem_reservation is not None: + memory = str(service.mem_reservation.gigabytes()) + return memory + + +def resolve_port_or_expose_list(ports, name): + if len(ports) > 1: + message = f"You have more than one {name} mapping defined in your docker-compose file." + message += " Which port would you like to use? " + choice_index = prompt_choice_list(message, ports) + + return ports[choice_index] + + +def resolve_ingress_and_target_port(service): + # External Ingress Check + if service.ports is not None: + ingress_type = "external" + + if len(service.ports) == 1: + target_port = service.ports[0].target + else: + ports_list = [] + + for p in service.ports: + ports_list.append(p.target) + target_port = resolve_port_or_expose_list(ports_list, "port") + + # Internal Ingress Check + elif service.expose is not None: + ingress_type = "internal" + + if len(service.expose) == 1: + target_port = service.expose[0] + else: + target_port = resolve_port_or_expose_list(service.expose, "expose") + else: + ingress_type = None + target_port = None + return (ingress_type, target_port) + + +def resolve_service_startup_command(service): + startup_command_array = [] + startup_args_array = [] + if service.entrypoint is not None: + startup_command = service.entrypoint.command_string() + startup_command_array.append(startup_command) + if service.command is not None: + startup_args = service.command.command_string() + startup_args_array.append(startup_args) + elif service.command is not None: + startup_args = service.command.command_string() + startup_command_array.append(startup_args) + startup_args_array = None + else: + startup_command_array = None + startup_args_array = None + return (startup_command_array, startup_args_array) + + +def load_yaml_file(file_name): + try: + with open(file_name) as stream: # pylint: disable=W1514 + return yaml.safe_load(stream) + except (IOError, OSError) as ex: + if getattr(ex, 'errno', 0) == errno.ENOENT: + raise CLIError(f"{file_name} does not exist") # pylint: disable=W0707 + raise + except (yaml.parser.ParserError, UnicodeDecodeError) as ex: + raise CLIError(f"Error parsing {file_name} ({str(ex)})") # pylint: disable=W0707 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/__init__.py b/src/containerapp-preview/azext_containerapp_preview/tests/__init__.py new file mode 100644 index 00000000000..99c0f28cd71 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/__init__.py @@ -0,0 +1,5 @@ +# ----------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ----------------------------------------------------------------------------- diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/__init__.py b/src/containerapp-preview/azext_containerapp_preview/tests/latest/__init__.py new file mode 100644 index 00000000000..99c0f28cd71 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/__init__.py @@ -0,0 +1,5 @@ +# ----------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ----------------------------------------------------------------------------- diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_no_existing_resources.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_no_existing_resources.yaml new file mode 100644 index 00000000000..44f89ee077c --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_no_existing_resources.yaml @@ -0,0 +1,2094 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T23:15:58Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:15:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + under resource group ''cli_test_containerapp_preview000001'' was not found. + For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '267' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:15:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T23:15:58Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:15:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:15:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:15:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:16:00 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:15:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"publicNetworkAccessForIngestion": + "Enabled", "publicNetworkAccessForQuery": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '126' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"e6dbae3c-0542-4959-832d-c8a1f13cefb5\",\r\n \"provisioningState\": \"Creating\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 23:16:03 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 07 May 2022 11:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 23:16:03 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 23:16:03 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1105' + content-type: + - application/json + date: + - Fri, 06 May 2022 23:16:03 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"e6dbae3c-0542-4959-832d-c8a1f13cefb5\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 23:16:03 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 07 May 2022 11:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 23:16:03 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 23:16:04 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1106' + content-type: + - application/json + date: + - Fri, 06 May 2022 23:16:34 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + response: + body: + string: "{\r\n \"primarySharedKey\": \"A3ZPf80prZcwcD46I1zZmeZfztbldP31rvIUPiDAY0kNoz+LKpkNJRF/dbY5B1AJLQDUvGMa7c1xOQ8UDyqFdA==\",\r\n + \ \"secondarySharedKey\": \"YZ02ocE+nqCqGSfXjVWAjmMgI1iqMggUNU3BpoXsAbtqCmxiUd3Dt2/uBeydl+roTz3b74cj8sqn1kfqDY63xA==\"\r\n}" + headers: + cache-control: + - no-cache + cachecontrol: + - no-cache + content-length: + - '235' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:16:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ams-apiversion: + - WebAPI1.0 + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": + {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": + "e6dbae3c-0542-4959-832d-c8a1f13cefb5", "sharedKey": "A3ZPf80prZcwcD46I1zZmeZfztbldP31rvIUPiDAY0kNoz+LKpkNJRF/dbY5B1AJLQDUvGMa7c1xOQ8UDyqFdA=="}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '399' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/f7d6a022-2ced-4f2b-a295-5d7f6fd839ce?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:16:39 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-writes: + - '1197' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:16:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:16:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:16:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:16:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:16:49 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:16:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:16: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:16:58 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:17: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:17:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:17:06 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:17: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:17:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:17: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:17:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:17:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Succeeded","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:17: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:17:22 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Succeeded","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:17:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:17:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": + null, "dapr": null, "registries": null}, "template": {"revisionSuffix": null, + "containers": [{"image": "smurawski/printenv:latest", "name": "foo", "command": + null, "args": null, "env": null, "resources": null, "volumeMounts": null}], + "scale": null, "volumes": null}}, "tags": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '661' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:17:25.7245955Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:17:25.7245955Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.96.208","20.121.96.225","20.121.97.157"],"latestRevisionName":"foo--sron2h3","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/327f397d-7bcc-48c3-92d8-607e3297b869?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1152' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:17:27 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-writes: + - '1198' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:17:25.7245955","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:17:25.7245955"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.96.208","20.121.96.225","20.121.97.157"],"latestRevisionName":"foo--sron2h3","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1150' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:17:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:17:25.7245955","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:17:25.7245955"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.96.208","20.121.96.225","20.121.97.157"],"latestRevisionName":"foo--sron2h3","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1150' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:17:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:17:25.7245955","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:17:25.7245955"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.96.208","20.121.96.225","20.121.97.157"],"latestRevisionName":"foo--sron2h3","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1150' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:17:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:17:25.7245955","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:17:25.7245955"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.96.208","20.121.96.225","20.121.97.157"],"latestRevisionName":"foo--sron2h3","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1149' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:17:37 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_all_registry_args.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_all_registry_args.yaml new file mode 100644 index 00000000000..e34e66f8e0a --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_all_registry_args.yaml @@ -0,0 +1,2038 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:52:40Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:52:41 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + under resource group ''cli_test_containerapp_preview000001'' was not found. + For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '267' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:52:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:52:40Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:52:42 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:52:41 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:52:41 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:52:41 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:52:42 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", "properties": {"publicNetworkAccessForIngestion": + "Enabled", "publicNetworkAccessForQuery": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '126' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7\",\r\n \"provisioningState\": \"Creating\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 22:52:47 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 07 May 2022 22:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:52:45 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 22:52:45 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1105' + content-type: + - application/json + date: + - Fri, 06 May 2022 22:52:46 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 22:52:47 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 07 May 2022 22:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:52:47 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 22:52:48 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1106' + content-type: + - application/json + date: + - Fri, 06 May 2022 22:53:16 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + response: + body: + string: "{\r\n \"primarySharedKey\": \"Gal6EbC18XMIcmyTM+Cg5ZXwsyfwFdra/JR7Z+S51GqjdsE40zrwBfu74BNXOmn1jqzDu41isxRZsa/2mP6DqA==\",\r\n + \ \"secondarySharedKey\": \"hXWlYkYR1Dj2Pja3MtwojaMWSCb6J+dDXUe+hBE8uXhkCSuiS9bT8wYID1Vk7v2wN/RfUq47K3ZzWovjXJJ9mA==\"\r\n}" + headers: + cache-control: + - no-cache + cachecontrol: + - no-cache + content-length: + - '235' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:53:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ams-apiversion: + - WebAPI1.0 + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": + {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": + "03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7", "sharedKey": "Gal6EbC18XMIcmyTM+Cg5ZXwsyfwFdra/JR7Z+S51GqjdsE40zrwBfu74BNXOmn1jqzDu41isxRZsa/2mP6DqA=="}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '399' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/db0102b5-76e0-4248-9791-915fc530a20d?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:53:21 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-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:53:22 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:53:25 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:53:27 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:53:30 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:53: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:53: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:53:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:53: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:53:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:53:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:53:49 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:53:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:53:54 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:53: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:53:59 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:54:00 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:54:00 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:54:00 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", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + "configuration": {"secrets": [{"name": "foobarazurecrio-foobar", "value": "snafu"}], + "activeRevisionsMode": "single", "ingress": {"fqdn": null, "external": true, + "targetPort": "80", "transport": "auto", "traffic": null, "customDomains": null}, + "dapr": null, "registries": [{"server": "foobar.azurecr.io", "username": "foobar", + "passwordSecretRef": "foobarazurecrio-foobar"}]}, "template": {"revisionSuffix": + null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", + "name": "foo", "command": ["/code/entrypoint.sh"], "args": ["echo \"hello world\""], + "env": [{"name": "RACK_ENV", "value": "development"}, {"name": "SHOW", "value": + "true"}, {"name": "BAZ", "value": "\"snafu\""}], "resources": null, "volumeMounts": + null}], "scale": null, "volumes": null}}, "tags": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '1093' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:03.1382217Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:03.1382217Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.81.86.171","20.81.86.155","20.81.87.135"],"latestRevisionName":"foo--68as60h","latestRevisionFqdn":"foo--68as60h.wittysky-c3041aea.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"foobarazurecrio-foobar"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.wittysky-c3041aea.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false},"registries":[{"server":"foobar.azurecr.io","username":"foobar","passwordSecretRef":"foobarazurecrio-foobar"}]},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/33eb94f9-b5be-45f9-85e3-d7e1ab5fde17?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1761' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:54:05 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-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:03.1382217","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:03.1382217"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.81.86.171","20.81.86.155","20.81.87.135"],"latestRevisionName":"foo--68as60h","latestRevisionFqdn":"foo--68as60h.wittysky-c3041aea.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"foobarazurecrio-foobar"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.wittysky-c3041aea.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false},"registries":[{"server":"foobar.azurecr.io","username":"foobar","passwordSecretRef":"foobarazurecrio-foobar"}]},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1759' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:54:06 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:03.1382217","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:03.1382217"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.81.86.171","20.81.86.155","20.81.87.135"],"latestRevisionName":"foo--68as60h","latestRevisionFqdn":"foo--68as60h.wittysky-c3041aea.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"foobarazurecrio-foobar"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.wittysky-c3041aea.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false},"registries":[{"server":"foobar.azurecr.io","username":"foobar","passwordSecretRef":"foobarazurecrio-foobar"}]},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1759' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:54: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:03.1382217","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:03.1382217"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.81.86.171","20.81.86.155","20.81.87.135"],"latestRevisionName":"foo--68as60h","latestRevisionFqdn":"foo--68as60h.wittysky-c3041aea.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"foobarazurecrio-foobar"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.wittysky-c3041aea.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false},"registries":[{"server":"foobar.azurecr.io","username":"foobar","passwordSecretRef":"foobarazurecrio-foobar"}]},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1759' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:54: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-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:03.1382217","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:03.1382217"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.81.86.171","20.81.86.155","20.81.87.135"],"latestRevisionName":"foo--68as60h","latestRevisionFqdn":"foo--68as60h.wittysky-c3041aea.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"foobarazurecrio-foobar"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.wittysky-c3041aea.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false},"registries":[{"server":"foobar.azurecr.io","username":"foobar","passwordSecretRef":"foobarazurecrio-foobar"}]},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1758' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:54:15 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_both_ingress.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_both_ingress.yaml new file mode 100644 index 00000000000..7278cf2b887 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_both_ingress.yaml @@ -0,0 +1,2154 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:45:45Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:45: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: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + under resource group ''cli_test_containerapp_preview000001'' was not found. + For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '267' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:45:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:45:45Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:45: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:45: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:45: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:45: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:45: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", "properties": {"publicNetworkAccessForIngestion": + "Enabled", "publicNetworkAccessForQuery": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '126' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"664a5c5e-eb3d-41ce-9f53-031416804923\",\r\n \"provisioningState\": \"Creating\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 22:45:49 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 07 May 2022 02:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:45:49 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 22:45:49 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1105' + content-type: + - application/json + date: + - Fri, 06 May 2022 22:45:50 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"664a5c5e-eb3d-41ce-9f53-031416804923\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 22:45:49 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 07 May 2022 02:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:45:49 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 22:45:50 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1106' + content-type: + - application/json + date: + - Fri, 06 May 2022 22:46:20 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + response: + body: + string: "{\r\n \"primarySharedKey\": \"Ro1PmHquFlejdYKGWnO7dYvKg48hOLqfZqM7O9ew0wRbz1aQ3ysSPvgNUGgqCSnxOIFGf+YKaon11KdoqO2t4A==\",\r\n + \ \"secondarySharedKey\": \"IRhbD+geTNsCE1B/VMTSGmYferQeHLIk6ZGJJ8Vs4fs4a/na1MCic8aQ35yor7dooSRi93UBYiA4x06NGIYs5g==\"\r\n}" + headers: + cache-control: + - no-cache + cachecontrol: + - no-cache + content-length: + - '235' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:46:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ams-apiversion: + - WebAPI1.0 + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": + {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": + "664a5c5e-eb3d-41ce-9f53-031416804923", "sharedKey": "Ro1PmHquFlejdYKGWnO7dYvKg48hOLqfZqM7O9ew0wRbz1aQ3ysSPvgNUGgqCSnxOIFGf+YKaon11KdoqO2t4A=="}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '399' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/05608b48-853e-4b20-99cf-e7d91cfa786d?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '793' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:46:26 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-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:46:27 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:46:30 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:46: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:46: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:46:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:46: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:46:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:46:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:46:49 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:46:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:46: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:46:59 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:47: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:47: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:47: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:47: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Succeeded","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '793' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:47: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-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:47:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Succeeded","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '793' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:47: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:47:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": + {"fqdn": null, "external": true, "targetPort": "3000", "transport": "auto", + "traffic": null, "customDomains": null}, "dapr": null, "registries": null}, + "template": {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", + "name": "foo", "command": ["/code/entrypoint.sh"], "args": ["echo \"hello world\""], + "env": [{"name": "RACK_ENV", "value": "development"}, {"name": "SHOW", "value": + "true"}, {"name": "BAZ", "value": "\"snafu\""}], "resources": null, "volumeMounts": + null}], "scale": null, "volumes": null}}, "tags": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '947' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:47:16.4371967Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:47:16.4371967Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.92.81","20.121.94.133","20.121.94.162"],"latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.victoriousmoss-a500e694.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/90df4cb3-3fa7-4a06-8f65-8bc5f7ace2b4?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1519' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:47:18 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-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:47:16.4371967","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:47:16.4371967"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.92.81","20.121.94.133","20.121.94.162"],"latestRevisionName":"foo--x8exiv9","latestRevisionFqdn":"foo--x8exiv9.victoriousmoss-a500e694.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.victoriousmoss-a500e694.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1618' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:47:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:47:16.4371967","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:47:16.4371967"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.92.81","20.121.94.133","20.121.94.162"],"latestRevisionName":"foo--x8exiv9","latestRevisionFqdn":"foo--x8exiv9.victoriousmoss-a500e694.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.victoriousmoss-a500e694.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1618' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:47:22 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:47:16.4371967","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:47:16.4371967"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.92.81","20.121.94.133","20.121.94.162"],"latestRevisionName":"foo--x8exiv9","latestRevisionFqdn":"foo--x8exiv9.victoriousmoss-a500e694.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.victoriousmoss-a500e694.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1618' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:47:24 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:47:16.4371967","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:47:16.4371967"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.92.81","20.121.94.133","20.121.94.162"],"latestRevisionName":"foo--x8exiv9","latestRevisionFqdn":"foo--x8exiv9.victoriousmoss-a500e694.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.victoriousmoss-a500e694.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1618' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:47:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:47:16.4371967","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:47:16.4371967"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.92.81","20.121.94.133","20.121.94.162"],"latestRevisionName":"foo--x8exiv9","latestRevisionFqdn":"foo--x8exiv9.victoriousmoss-a500e694.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.victoriousmoss-a500e694.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1617' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:47:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_cpus.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_cpus.yaml new file mode 100644 index 00000000000..275a32be8ca --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_cpus.yaml @@ -0,0 +1,2302 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T23:10:13Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:10:14 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + under resource group ''cli_test_containerapp_preview000001'' was not found. + For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '267' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:10:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T23:10:13Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:10:15 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:10:14 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:10:15 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:10:15 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:10:15 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", "properties": {"publicNetworkAccessForIngestion": + "Enabled", "publicNetworkAccessForQuery": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '126' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"21838e32-502f-466e-b1e4-29f33144bdc7\",\r\n \"provisioningState\": \"Creating\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 23:10:20 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 07 May 2022 11:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 23:10:20 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 23:10:20 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1105' + content-type: + - application/json + date: + - Fri, 06 May 2022 23:10:20 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"21838e32-502f-466e-b1e4-29f33144bdc7\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 23:10:20 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 07 May 2022 11:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 23:10:20 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 23:10:21 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1106' + content-type: + - application/json + date: + - Fri, 06 May 2022 23:10:51 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + response: + body: + string: "{\r\n \"primarySharedKey\": \"unIYQFIgQdAnNm7Bzn0r1unTjfhwdwlMlsWVey81o14DXobbsY9OdxW6V/bW1NC4Q3oCjhOavLQGZiEMhpTnEg==\",\r\n + \ \"secondarySharedKey\": \"ylfYwdpNZ0gsNwA7+y6Y/QUYMURiIgLzEA8y8XOoOBJMx1gMiojdQvkzsbgcQRN5HxWPGSp6qfIQAi/O1Zac0Q==\"\r\n}" + headers: + cache-control: + - no-cache + cachecontrol: + - no-cache + content-length: + - '235' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:10:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ams-apiversion: + - WebAPI1.0 + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": + {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": + "21838e32-502f-466e-b1e4-29f33144bdc7", "sharedKey": "unIYQFIgQdAnNm7Bzn0r1unTjfhwdwlMlsWVey81o14DXobbsY9OdxW6V/bW1NC4Q3oCjhOavLQGZiEMhpTnEg=="}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '399' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/7288eae7-0a4c-4ca0-b535-d2ef114973a4?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:10:55 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-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '786' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:10: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '786' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:10:59 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '786' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:11: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '786' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:11: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '786' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:11:06 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '786' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:11: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '786' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:11: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '786' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:11:15 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '786' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:11: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '786' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:11:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '786' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:11:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '786' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:11:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '786' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:11:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '786' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:11:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Succeeded","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:11:34 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:11:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Succeeded","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:11:34 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:11:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": + {"fqdn": null, "external": false, "targetPort": 3000, "transport": "auto", "traffic": + null, "customDomains": null}, "dapr": null, "registries": null}, "template": + {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", + "name": "foo", "command": null, "args": null, "env": null, "resources": {"cpu": + "1.25", "memory": "2.5Gi"}, "volumeMounts": null}], "scale": null, "volumes": + null}}, "tags": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '821' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:11:37.871405Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:11:37.871405Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.213.53","52.226.213.220","52.226.213.149"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/6c669c6d-8069-4b2b-9629-46dbe33be231?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1371' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:11:39 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-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:11:37.871405","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:11:37.871405"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.213.53","52.226.213.220","52.226.213.149"],"latestRevisionName":"foo--xewp4xv","latestRevisionFqdn":"foo--xewp4xv.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1451' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:11:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:11:37.871405","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:11:37.871405"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.213.53","52.226.213.220","52.226.213.149"],"latestRevisionName":"foo--xewp4xv","latestRevisionFqdn":"foo--xewp4xv.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1451' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:11:43 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:11:37.871405","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:11:37.871405"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.213.53","52.226.213.220","52.226.213.149"],"latestRevisionName":"foo--xewp4xv","latestRevisionFqdn":"foo--xewp4xv.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1451' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:11: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:11:37.871405","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:11:37.871405"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.213.53","52.226.213.220","52.226.213.149"],"latestRevisionName":"foo--xewp4xv","latestRevisionFqdn":"foo--xewp4xv.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1451' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:11:49 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:11:37.871405","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:11:37.871405"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.213.53","52.226.213.220","52.226.213.149"],"latestRevisionName":"foo--xewp4xv","latestRevisionFqdn":"foo--xewp4xv.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1451' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:11:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:11:37.871405","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:11:37.871405"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.213.53","52.226.213.220","52.226.213.149"],"latestRevisionName":"foo--xewp4xv","latestRevisionFqdn":"foo--xewp4xv.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1451' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:11: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:11:37.871405","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:11:37.871405"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.213.53","52.226.213.220","52.226.213.149"],"latestRevisionName":"foo--xewp4xv","latestRevisionFqdn":"foo--xewp4xv.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1451' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:11:57 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:11:37.871405","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:11:37.871405"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.213.53","52.226.213.220","52.226.213.149"],"latestRevisionName":"foo--xewp4xv","latestRevisionFqdn":"foo--xewp4xv.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1451' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:12:00 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:11:37.871405","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:11:37.871405"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.213.53","52.226.213.220","52.226.213.149"],"latestRevisionName":"foo--xewp4xv","latestRevisionFqdn":"foo--xewp4xv.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1451' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:12:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:11:37.871405","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:11:37.871405"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.213.53","52.226.213.220","52.226.213.149"],"latestRevisionName":"foo--xewp4xv","latestRevisionFqdn":"foo--xewp4xv.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1450' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:12:06 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_cpus_and_deploy_cpu.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_cpus_and_deploy_cpu.yaml new file mode 100644 index 00000000000..42306c5c69d --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_cpus_and_deploy_cpu.yaml @@ -0,0 +1,2097 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T23:12:08Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:12:08 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + under resource group ''cli_test_containerapp_preview000001'' was not found. + For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '267' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:12:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T23:12:08Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:12:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:12:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:12:08 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:12:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:12:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"publicNetworkAccessForIngestion": + "Enabled", "publicNetworkAccessForQuery": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '126' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"0a1e886d-5a00-47bd-8c66-f1503ca4beb7\",\r\n \"provisioningState\": \"Creating\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 23:12:15 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 07 May 2022 22:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 23:12:13 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 23:12:13 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1105' + content-type: + - application/json + date: + - Fri, 06 May 2022 23:12:15 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"0a1e886d-5a00-47bd-8c66-f1503ca4beb7\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 23:12:15 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 07 May 2022 22:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 23:12:15 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 23:12:16 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1106' + content-type: + - application/json + date: + - Fri, 06 May 2022 23:12:45 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + response: + body: + string: "{\r\n \"primarySharedKey\": \"SBcYNDZKUSsJF/qfZNyi8hy149IFSDmprJFH93FDWPPdoAKWa25yDtAPshSeeqlxAldqRlV7bZUkFoB9tpVMJA==\",\r\n + \ \"secondarySharedKey\": \"AI55GyDRcVVgDf8zH65HZj+KT3cHtYdTG70O+8cBv2rKp0RB5Wd08nsRXyeCameNkNsIRH77Ouap4AWINTqlQQ==\"\r\n}" + headers: + cache-control: + - no-cache + cachecontrol: + - no-cache + content-length: + - '235' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:12:46 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ams-apiversion: + - WebAPI1.0 + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": + {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": + "0a1e886d-5a00-47bd-8c66-f1503ca4beb7", "sharedKey": "SBcYNDZKUSsJF/qfZNyi8hy149IFSDmprJFH93FDWPPdoAKWa25yDtAPshSeeqlxAldqRlV7bZUkFoB9tpVMJA=="}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '399' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/a6ad5f7e-15f0-4cd5-b8ab-6694fac5cd74?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:12:50 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-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:12: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:12: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:12:57 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:12:59 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:13:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:13:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:13: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:13:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:13: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:13:15 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:13:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:13:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:13:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:13:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:13:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Succeeded","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:13:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:13:32 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Succeeded","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:13:33 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:13:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": + {"fqdn": null, "external": false, "targetPort": 3000, "transport": "auto", "traffic": + null, "customDomains": null}, "dapr": null, "registries": null}, "template": + {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", + "name": "foo", "command": null, "args": null, "env": null, "resources": {"cpu": + "1.25", "memory": "2.5Gi"}, "volumeMounts": null}], "scale": null, "volumes": + null}}, "tags": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '821' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:13:36.2289512Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:13:36.2289512Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.80.69","20.121.80.8","20.121.80.0"],"latestRevisionName":"foo--m3k3mr0","latestRevisionFqdn":"foo--m3k3mr0.internal.ashyglacier-8986e7d4.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyglacier-8986e7d4.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/83698323-fdad-404b-8f9c-28fd5c4f0ece?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1450' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:13:39 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-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:13:36.2289512","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:13:36.2289512"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.80.69","20.121.80.8","20.121.80.0"],"latestRevisionName":"foo--m3k3mr0","latestRevisionFqdn":"foo--m3k3mr0.internal.ashyglacier-8986e7d4.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyglacier-8986e7d4.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1448' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:13:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:13:36.2289512","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:13:36.2289512"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.80.69","20.121.80.8","20.121.80.0"],"latestRevisionName":"foo--m3k3mr0","latestRevisionFqdn":"foo--m3k3mr0.internal.ashyglacier-8986e7d4.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyglacier-8986e7d4.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1448' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:13:43 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:13:36.2289512","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:13:36.2289512"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.80.69","20.121.80.8","20.121.80.0"],"latestRevisionName":"foo--m3k3mr0","latestRevisionFqdn":"foo--m3k3mr0.internal.ashyglacier-8986e7d4.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyglacier-8986e7d4.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1448' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:13:46 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:13:36.2289512","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:13:36.2289512"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.80.69","20.121.80.8","20.121.80.0"],"latestRevisionName":"foo--m3k3mr0","latestRevisionFqdn":"foo--m3k3mr0.internal.ashyglacier-8986e7d4.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyglacier-8986e7d4.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1448' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:13:49 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:13:36.2289512","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:13:36.2289512"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.80.69","20.121.80.8","20.121.80.0"],"latestRevisionName":"foo--m3k3mr0","latestRevisionFqdn":"foo--m3k3mr0.internal.ashyglacier-8986e7d4.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyglacier-8986e7d4.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1447' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:13:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_deploy_cpu.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_deploy_cpu.yaml new file mode 100644 index 00000000000..fa4fa0d6e3a --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_deploy_cpu.yaml @@ -0,0 +1,1945 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T23:13:55Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:13:56 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + under resource group ''cli_test_containerapp_preview000001'' was not found. + For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '267' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:13:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T23:13:55Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:13:56 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:13:56 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:13:56 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:13:57 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:13:57 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", "properties": {"publicNetworkAccessForIngestion": + "Enabled", "publicNetworkAccessForQuery": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '126' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"8d0b585e-09fc-4412-aff4-6077f9dd4062\",\r\n \"provisioningState\": \"Creating\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 23:14:01 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 07 May 2022 11:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 23:14:01 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 23:14:01 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1105' + content-type: + - application/json + date: + - Fri, 06 May 2022 23:14:01 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"8d0b585e-09fc-4412-aff4-6077f9dd4062\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 23:14:01 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 07 May 2022 11:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 23:14:01 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 23:14:03 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1106' + content-type: + - application/json + date: + - Fri, 06 May 2022 23:14:31 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + response: + body: + string: "{\r\n \"primarySharedKey\": \"IopK9YHNoy6GhgwHMyM24hzzIxtFxOcjL+VAoJMtgw2TJjQMocZtIZDMvhmXTcAXPYLDzKioiqjeKae4CqbKbQ==\",\r\n + \ \"secondarySharedKey\": \"wJ81NXSGiVx/fPOD33A6fawvzax5zSEzMA8mceWw80WJitTd2wa1JePyR8X5vBh0DvPf7Lw5IasQuNv8dTrpkw==\"\r\n}" + headers: + cache-control: + - no-cache + cachecontrol: + - no-cache + content-length: + - '235' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:14:34 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ams-apiversion: + - WebAPI1.0 + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": + {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": + "8d0b585e-09fc-4412-aff4-6077f9dd4062", "sharedKey": "IopK9YHNoy6GhgwHMyM24hzzIxtFxOcjL+VAoJMtgw2TJjQMocZtIZDMvhmXTcAXPYLDzKioiqjeKae4CqbKbQ=="}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '399' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/d12239e5-d056-40d2-a549-06bf08b92e45?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:14:37 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-async-operation-timeout: + - PT15M + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:14:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:14:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:14:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:14:46 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:14:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:14: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:14:54 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:14:57 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:14:59 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:15:02 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:15: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:15: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:15: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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:15: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-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:15:15 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:15:15 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:15:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:15:15 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", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": + {"fqdn": null, "external": false, "targetPort": 3000, "transport": "auto", "traffic": + null, "customDomains": null}, "dapr": null, "registries": null}, "template": + {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", + "name": "foo", "command": null, "args": null, "env": null, "resources": {"cpu": + "1.25", "memory": "2.5Gi"}, "volumeMounts": null}], "scale": null, "volumes": + null}}, "tags": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '821' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:15:17.789165Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:15:17.789165Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.215.247","52.226.215.248","52.226.215.220"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.wittymushroom-356ba1d0.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/02d8d5f9-0b64-4b86-a502-71191ae2758e?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1375' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:15:19 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-writes: + - '1197' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:15:17.789165","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:15:17.789165"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.215.247","52.226.215.248","52.226.215.220"],"latestRevisionName":"foo--9owjvao","latestRevisionFqdn":"foo--9owjvao.internal.wittymushroom-356ba1d0.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.wittymushroom-356ba1d0.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1458' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:15:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:15:17.789165","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:15:17.789165"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.215.247","52.226.215.248","52.226.215.220"],"latestRevisionName":"foo--9owjvao","latestRevisionFqdn":"foo--9owjvao.internal.wittymushroom-356ba1d0.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.wittymushroom-356ba1d0.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1458' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:15:22 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:15:17.789165","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:15:17.789165"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.215.247","52.226.215.248","52.226.215.220"],"latestRevisionName":"foo--9owjvao","latestRevisionFqdn":"foo--9owjvao.internal.wittymushroom-356ba1d0.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.wittymushroom-356ba1d0.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1457' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:15:24 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_environment.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_environment.yaml new file mode 100644 index 00000000000..cb637227a97 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_environment.yaml @@ -0,0 +1,2049 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:44:05Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:44:06 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + under resource group ''cli_test_containerapp_preview000001'' was not found. + For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '267' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:44:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:44:05Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:44:06 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:44:07 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:44:06 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:44:06 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:44:06 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", "properties": {"publicNetworkAccessForIngestion": + "Enabled", "publicNetworkAccessForQuery": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '126' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e\",\r\n \"provisioningState\": \"Creating\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 22:44:10 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 07 May 2022 19:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:44:10 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 22:44:10 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1105' + content-type: + - application/json + date: + - Fri, 06 May 2022 22:44:09 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 22:44:10 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 07 May 2022 19:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:44:10 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 22:44:11 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1106' + content-type: + - application/json + date: + - Fri, 06 May 2022 22:44:40 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + response: + body: + string: "{\r\n \"primarySharedKey\": \"kFS1vudYo4BBLOOrsQQVQ0rlaY1YipbqbD7hkrVAH1oyjev+HoJzhxMdGLnom/BwEjxMKp38l4+WRdw8eM1RFQ==\",\r\n + \ \"secondarySharedKey\": \"Dm/WZjPvXK/bftDlbw8/xJMOftFDeVL8X8nRc7RWBoy5yiXTHnAWZQFbXGTGeWamn57dfTj5R2CZ03rZxsqypw==\"\r\n}" + headers: + cache-control: + - no-cache + cachecontrol: + - no-cache + content-length: + - '235' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:44:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ams-apiversion: + - WebAPI1.0 + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": + {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": + "3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e", "sharedKey": "kFS1vudYo4BBLOOrsQQVQ0rlaY1YipbqbD7hkrVAH1oyjev+HoJzhxMdGLnom/BwEjxMKp38l4+WRdw8eM1RFQ=="}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '399' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/c1549cf0-fd7e-4566-9d68-9db9b6c8195e?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '786' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:44:45 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-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:44:46 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:44:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:44:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:44:54 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:44:57 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:44:59 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:45: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:45:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:45: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:45: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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:45: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:45:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:45:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:45:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:45:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:45:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Succeeded","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '786' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:45:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:45:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Succeeded","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '786' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:45:30 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:45:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": + null, "dapr": null, "registries": null}, "template": {"revisionSuffix": null, + "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", "name": + "foo", "command": ["/code/entrypoint.sh"], "args": ["echo \"hello world\""], + "env": [{"name": "RACK_ENV", "value": "development"}, {"name": "SHOW", "value": + "true"}, {"name": "BAZ", "value": "\"snafu\""}], "resources": null, "volumeMounts": + null}], "scale": null, "volumes": null}}, "tags": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '836' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:45:33.4456626Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:45:33.4456626Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.104.198","20.121.104.206","52.226.244.206"],"latestRevisionName":"foo--ksq1o0e","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/6ef6ff44-a124-4a2d-b191-abf1df5ab263?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1357' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:45:37 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-async-operation-timeout: + - PT15M + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:45:33.4456626","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:45:33.4456626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.104.198","20.121.104.206","52.226.244.206"],"latestRevisionName":"foo--ksq1o0e","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1355' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:45:37 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:45:33.4456626","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:45:33.4456626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.104.198","20.121.104.206","52.226.244.206"],"latestRevisionName":"foo--ksq1o0e","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1355' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:45:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:45:33.4456626","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:45:33.4456626"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.104.198","20.121.104.206","52.226.244.206"],"latestRevisionName":"foo--ksq1o0e","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1354' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:45:43 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_environment_prompt.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_environment_prompt.yaml new file mode 100644 index 00000000000..7dc322aba16 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_environment_prompt.yaml @@ -0,0 +1,1653 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:42:39Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:42:40 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + under resource group ''cli_test_containerapp_preview000001'' was not found. + For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '267' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:42:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:42:39Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:42:40 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:42:40 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:42:40 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:42:40 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:42:40 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", "properties": {"publicNetworkAccessForIngestion": + "Enabled", "publicNetworkAccessForQuery": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '126' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"94a70844-0d33-4c94-9ea6-b60bff7ef188\",\r\n \"provisioningState\": \"Creating\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 22:42:45 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 07 May 2022 15:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:42:44 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 22:42:44 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1105' + content-type: + - application/json + date: + - Fri, 06 May 2022 22:42:46 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"94a70844-0d33-4c94-9ea6-b60bff7ef188\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 22:42:45 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 07 May 2022 15:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:42:45 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 22:42:47 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1106' + content-type: + - application/json + date: + - Fri, 06 May 2022 22:43:16 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + response: + body: + string: "{\r\n \"primarySharedKey\": \"k6tOQoNGMKvUTBGp5uoCbMBYfv/1/eWHKd3JQ7m1p7PKyXYfh+yD38722Alg9ZpCvQr3uPKjuS32K7WgDlyxzw==\",\r\n + \ \"secondarySharedKey\": \"wRyMo8yk37hhJZqn0TJiFo4NxjOIIbvo/ybegC6kcXqowhtkjdeO8sJJcqcJ5YlC3wuORurn8dWU6WPrhXraSg==\"\r\n}" + headers: + cache-control: + - no-cache + cachecontrol: + - no-cache + content-length: + - '235' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:43:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ams-apiversion: + - WebAPI1.0 + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": + {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": + "94a70844-0d33-4c94-9ea6-b60bff7ef188", "sharedKey": "k6tOQoNGMKvUTBGp5uoCbMBYfv/1/eWHKd3JQ7m1p7PKyXYfh+yD38722Alg9ZpCvQr3uPKjuS32K7WgDlyxzw=="}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '399' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0f80eeab-9e06-44fd-a527-bc9daec303aa?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:43:19 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-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:43:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:43:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:43:25 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:43:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:43:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:43: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:43: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:43:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:43:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:43:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:43:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:43:50 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:43:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:43: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:43:57 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:44:00 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Succeeded","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:44:02 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_external_ingress.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_external_ingress.yaml new file mode 100644 index 00000000000..8108feccc6e --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_external_ingress.yaml @@ -0,0 +1,2464 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:50:43Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:50:43 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + under resource group ''cli_test_containerapp_preview000001'' was not found. + For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '267' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:50:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:50:43Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:50:44 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:50:44 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:50:44 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:50:44 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:50:44 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", "properties": {"publicNetworkAccessForIngestion": + "Enabled", "publicNetworkAccessForQuery": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '126' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"bdb77cbe-bc1b-4c05-8671-4138bf07bbed\",\r\n \"provisioningState\": \"Creating\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 22:50:46 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 07 May 2022 15:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:50:46 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 22:50:46 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1105' + content-type: + - application/json + date: + - Fri, 06 May 2022 22:50:47 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"bdb77cbe-bc1b-4c05-8671-4138bf07bbed\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 22:50:46 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 07 May 2022 15:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:50:46 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 22:50:47 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1106' + content-type: + - application/json + date: + - Fri, 06 May 2022 22:51:17 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + response: + body: + string: "{\r\n \"primarySharedKey\": \"en8JOqt6sD34Eqx/h5LZcC+BHDblBuNBEztreQK7paRIGIN7YhqUlY76JsM1rIsQvWV7wya+T7p0gGzTIFgFoQ==\",\r\n + \ \"secondarySharedKey\": \"hbp6gLBESuQEXdgyUJwI/4uZ7KI5V+ts/322Mck3vifkTOK9mKtmZFBPbmpT9unFc4AqlPcZNi5Xdh9Cyc7pvw==\"\r\n}" + headers: + cache-control: + - no-cache + cachecontrol: + - no-cache + content-length: + - '235' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:51:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ams-apiversion: + - WebAPI1.0 + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": + {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": + "bdb77cbe-bc1b-4c05-8671-4138bf07bbed", "sharedKey": "en8JOqt6sD34Eqx/h5LZcC+BHDblBuNBEztreQK7paRIGIN7YhqUlY76JsM1rIsQvWV7wya+T7p0gGzTIFgFoQ=="}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '399' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/6951e71d-51a5-4c3d-9f8f-05e0b84dedbe?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '786' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:51:19 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-writes: + - '1198' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:51:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:51:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:51:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:51:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:51:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:51:34 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:51: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:51:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:51:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:51: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:51:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:51:50 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:51:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:51: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:51:58 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:52:00 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '784' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:52:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Succeeded","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '786' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:52:06 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:52:06 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Succeeded","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '786' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:52: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:52:07 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", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": + {"fqdn": null, "external": true, "targetPort": "80", "transport": "auto", "traffic": + null, "customDomains": null}, "dapr": null, "registries": null}, "template": + {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", + "name": "foo", "command": ["/code/entrypoint.sh"], "args": ["echo \"hello world\""], + "env": [{"name": "RACK_ENV", "value": "development"}, {"name": "SHOW", "value": + "true"}, {"name": "BAZ", "value": "\"snafu\""}], "resources": null, "volumeMounts": + null}], "scale": null, "volumes": null}}, "tags": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '945' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:52:10.0644439Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:52:10.0644439Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.151.242.149","52.151.242.133","52.151.241.203"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.lemonmoss-de50ac20.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/a588ad11-ccb8-49f3-817c-a0d701a48a74?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1540' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:52:12 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-async-operation-timeout: + - PT15M + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:52:10.0644439","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:52:10.0644439"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.151.242.149","52.151.242.133","52.151.241.203"],"latestRevisionName":"foo--wctbcn2","latestRevisionFqdn":"foo--wctbcn2.lemonmoss-de50ac20.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.lemonmoss-de50ac20.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1610' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:52: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:52:10.0644439","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:52:10.0644439"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.151.242.149","52.151.242.133","52.151.241.203"],"latestRevisionName":"foo--wctbcn2","latestRevisionFqdn":"foo--wctbcn2.lemonmoss-de50ac20.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.lemonmoss-de50ac20.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1610' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:52:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:52:10.0644439","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:52:10.0644439"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.151.242.149","52.151.242.133","52.151.241.203"],"latestRevisionName":"foo--wctbcn2","latestRevisionFqdn":"foo--wctbcn2.lemonmoss-de50ac20.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.lemonmoss-de50ac20.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1610' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:52:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:52:10.0644439","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:52:10.0644439"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.151.242.149","52.151.242.133","52.151.241.203"],"latestRevisionName":"foo--wctbcn2","latestRevisionFqdn":"foo--wctbcn2.lemonmoss-de50ac20.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.lemonmoss-de50ac20.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1610' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:52:22 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:52:10.0644439","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:52:10.0644439"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.151.242.149","52.151.242.133","52.151.241.203"],"latestRevisionName":"foo--wctbcn2","latestRevisionFqdn":"foo--wctbcn2.lemonmoss-de50ac20.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.lemonmoss-de50ac20.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1610' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:52:25 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:52:10.0644439","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:52:10.0644439"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.151.242.149","52.151.242.133","52.151.241.203"],"latestRevisionName":"foo--wctbcn2","latestRevisionFqdn":"foo--wctbcn2.lemonmoss-de50ac20.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.lemonmoss-de50ac20.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1610' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:52:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:52:10.0644439","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:52:10.0644439"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.151.242.149","52.151.242.133","52.151.241.203"],"latestRevisionName":"foo--wctbcn2","latestRevisionFqdn":"foo--wctbcn2.lemonmoss-de50ac20.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.lemonmoss-de50ac20.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1610' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:52:30 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:52:10.0644439","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:52:10.0644439"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.151.242.149","52.151.242.133","52.151.241.203"],"latestRevisionName":"foo--wctbcn2","latestRevisionFqdn":"foo--wctbcn2.lemonmoss-de50ac20.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.lemonmoss-de50ac20.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1610' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:52:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:52:10.0644439","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:52:10.0644439"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.151.242.149","52.151.242.133","52.151.241.203"],"latestRevisionName":"foo--wctbcn2","latestRevisionFqdn":"foo--wctbcn2.lemonmoss-de50ac20.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.lemonmoss-de50ac20.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1610' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:52: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:52:10.0644439","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:52:10.0644439"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.151.242.149","52.151.242.133","52.151.241.203"],"latestRevisionName":"foo--wctbcn2","latestRevisionFqdn":"foo--wctbcn2.lemonmoss-de50ac20.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.lemonmoss-de50ac20.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1609' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:52:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_internal_ingress.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_internal_ingress.yaml new file mode 100644 index 00000000000..6370cdf6cca --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_internal_ingress.yaml @@ -0,0 +1,2197 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T23:07:52Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:07: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + under resource group ''cli_test_containerapp_preview000001'' was not found. + For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '267' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:07:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T23:07:52Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:07:52 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:07:52 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:07: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:07: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:07: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: '{"location": "eastus", "properties": {"publicNetworkAccessForIngestion": + "Enabled", "publicNetworkAccessForQuery": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '126' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"03ea1064-5dc6-4954-83ec-868665e9fb03\",\r\n \"provisioningState\": \"Creating\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 23:07:56 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 07 May 2022 18:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 23:07:56 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 23:07:56 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1105' + content-type: + - application/json + date: + - Fri, 06 May 2022 23:07:56 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"03ea1064-5dc6-4954-83ec-868665e9fb03\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 23:07:56 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 07 May 2022 18:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 23:07:56 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 23:07:58 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1106' + content-type: + - application/json + date: + - Fri, 06 May 2022 23:08:27 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + response: + body: + string: "{\r\n \"primarySharedKey\": \"z6woByG8WSIZN04bEmQv5ECvX2jnFVa0GkudH1o/9qEDWRFoe5EqSCkV56cXCiEMYdmYLAdpPtSiOv2AI0V5Eg==\",\r\n + \ \"secondarySharedKey\": \"6vR/Ds//FD3zXgTStRg0mV72SUczA12Clul4kMHs2n39K8oIGdxALZCFVkJA5eG+XxxHw1Y9oDbkilTktdOmmw==\"\r\n}" + headers: + cache-control: + - no-cache + cachecontrol: + - no-cache + content-length: + - '235' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:08:27 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ams-apiversion: + - WebAPI1.0 + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": + {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": + "03ea1064-5dc6-4954-83ec-868665e9fb03", "sharedKey": "z6woByG8WSIZN04bEmQv5ECvX2jnFVa0GkudH1o/9qEDWRFoe5EqSCkV56cXCiEMYdmYLAdpPtSiOv2AI0V5Eg=="}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '399' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/5a760248-2c2c-4ee9-b0d7-d7441294ed83?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:08:30 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-async-operation-timeout: + - PT15M + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:08:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:08:33 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:08: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:08:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:08:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:08:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:08:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:08:50 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:08:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:08:54 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:08:57 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:09:00 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:09:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:09:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:09: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:09: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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Succeeded","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:09: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:09:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Succeeded","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:09: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:09:14 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", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": + {"fqdn": null, "external": false, "targetPort": 3000, "transport": "auto", "traffic": + null, "customDomains": null}, "dapr": null, "registries": null}, "template": + {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", + "name": "foo", "command": null, "args": null, "env": null, "resources": null, + "volumeMounts": null}], "scale": null, "volumes": null}}, "tags": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '791' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:09:16.2740293Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:09:16.2740293Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.211.212","52.226.212.104","52.226.212.170"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowfield-19330164.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/6b658c72-159d-4339-aa3b-3c6a4fe5a622?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1372' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:09:17 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-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:09:16.2740293","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:09:16.2740293"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.211.212","52.226.212.104","52.226.212.170"],"latestRevisionName":"foo--51kxat1","latestRevisionFqdn":"foo--51kxat1.internal.yellowfield-19330164.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowfield-19330164.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1453' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:09:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:09:16.2740293","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:09:16.2740293"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.211.212","52.226.212.104","52.226.212.170"],"latestRevisionName":"foo--51kxat1","latestRevisionFqdn":"foo--51kxat1.internal.yellowfield-19330164.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowfield-19330164.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1453' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:09:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:09:16.2740293","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:09:16.2740293"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.211.212","52.226.212.104","52.226.212.170"],"latestRevisionName":"foo--51kxat1","latestRevisionFqdn":"foo--51kxat1.internal.yellowfield-19330164.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowfield-19330164.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1453' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:09:24 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:09:16.2740293","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:09:16.2740293"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.211.212","52.226.212.104","52.226.212.170"],"latestRevisionName":"foo--51kxat1","latestRevisionFqdn":"foo--51kxat1.internal.yellowfield-19330164.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowfield-19330164.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1453' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:09:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:09:16.2740293","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:09:16.2740293"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.211.212","52.226.212.104","52.226.212.170"],"latestRevisionName":"foo--51kxat1","latestRevisionFqdn":"foo--51kxat1.internal.yellowfield-19330164.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowfield-19330164.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1453' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:09:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:09:16.2740293","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:09:16.2740293"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.211.212","52.226.212.104","52.226.212.170"],"latestRevisionName":"foo--51kxat1","latestRevisionFqdn":"foo--51kxat1.internal.yellowfield-19330164.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowfield-19330164.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1452' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:09:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_prompt_ingress.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_prompt_ingress.yaml new file mode 100644 index 00000000000..5fbbf9f65ac --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_prompt_ingress.yaml @@ -0,0 +1,1653 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:49:18Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:49:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + under resource group ''cli_test_containerapp_preview000001'' was not found. + For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '267' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:49:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:49:18Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:49: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:49:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:49: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:49: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:49: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: '{"location": "eastus", "properties": {"publicNetworkAccessForIngestion": + "Enabled", "publicNetworkAccessForQuery": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '126' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"57ed9722-17a8-46f4-b2a0-043078417313\",\r\n \"provisioningState\": \"Creating\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 22:49:23 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 07 May 2022 21:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:49:23 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 22:49:23 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1105' + content-type: + - application/json + date: + - Fri, 06 May 2022 22:49:23 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"57ed9722-17a8-46f4-b2a0-043078417313\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 22:49:23 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 07 May 2022 21:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:49:23 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 22:49:24 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1106' + content-type: + - application/json + date: + - Fri, 06 May 2022 22:49:53 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + response: + body: + string: "{\r\n \"primarySharedKey\": \"OHpjTKqqgfIR53Dz+jzu1xDIZ8HlUMqvtwZ2jH2k2rF/U5UNJQJP/6ROulS9Lo0HRFAgd7JZYAYMS0754I/nyQ==\",\r\n + \ \"secondarySharedKey\": \"tP1Ttn0D5BT/M9SOrwlco9T+NUpB+3hx69Oj+e6PzAZFq0gQVJr2yS6SIklYs+nWZ04Sh5s9W5MJ6YT3VrHXTQ==\"\r\n}" + headers: + cache-control: + - no-cache + cachecontrol: + - no-cache + content-length: + - '235' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:49:54 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ams-apiversion: + - WebAPI1.0 + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": + {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": + "57ed9722-17a8-46f4-b2a0-043078417313", "sharedKey": "OHpjTKqqgfIR53Dz+jzu1xDIZ8HlUMqvtwZ2jH2k2rF/U5UNJQJP/6ROulS9Lo0HRFAgd7JZYAYMS0754I/nyQ=="}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '399' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/ffd1be5a-76da-448e-9d34-cf59cb221634?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:49:58 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-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:49:59 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:50: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:50: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:50: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:50: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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:50: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-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:50:15 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:50:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:50:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:50:24 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:50:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:50:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:50:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:50:34 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:50: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:50:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:50:41 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_registry_server_arg_only.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_registry_server_arg_only.yaml new file mode 100644 index 00000000000..6c723649a18 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_registry_server_arg_only.yaml @@ -0,0 +1,1953 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:54:17Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:54:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + under resource group ''cli_test_containerapp_preview000001'' was not found. + For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '267' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:54:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:54:17Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:54:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:54:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:54:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:54: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:54:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"publicNetworkAccessForIngestion": + "Enabled", "publicNetworkAccessForQuery": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '126' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"b2224f07-2455-40b4-aefa-000526418b7f\",\r\n \"provisioningState\": \"Creating\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 22:54:21 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 07 May 2022 02:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:54:21 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 22:54:21 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1105' + content-type: + - application/json + date: + - Fri, 06 May 2022 22:54:21 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"b2224f07-2455-40b4-aefa-000526418b7f\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 22:54:21 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 07 May 2022 02:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:54:21 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 22:54:23 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1106' + content-type: + - application/json + date: + - Fri, 06 May 2022 22:54:52 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + response: + body: + string: "{\r\n \"primarySharedKey\": \"K6kgwKebgGVfCShMpYhOjfrtr8AyZLC6CAIwlnlYo65g6EVtKiqQCeS5XDPMEhlUb2v2FFpfxPfWxhBKBarOoQ==\",\r\n + \ \"secondarySharedKey\": \"+p+Y0nduNv8Un40HI0arl+yen0WJE1K9/otg4spDXHdi1tfs250zJLl/Kn3H6k6ymUsVNCar3Q70RF4e8mwaJA==\"\r\n}" + headers: + cache-control: + - no-cache + cachecontrol: + - no-cache + content-length: + - '235' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:54:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ams-apiversion: + - WebAPI1.0 + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": + {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": + "b2224f07-2455-40b4-aefa-000526418b7f", "sharedKey": "K6kgwKebgGVfCShMpYhOjfrtr8AyZLC6CAIwlnlYo65g6EVtKiqQCeS5XDPMEhlUb2v2FFpfxPfWxhBKBarOoQ=="}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '399' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/eda12d8d-9c54-44a9-adf9-f36e8f0f7b16?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:54:57 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-writes: + - '1198' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:54:58 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:55: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:55:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:55:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:55: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:55:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:55: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:55:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:55:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:55:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:55:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:55:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:55:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:55:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:55:34 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:55:37 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:55:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:55:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:55:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:55:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:55:50 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:55:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Succeeded","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:55: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 +version: 1 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_transport_arg.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_transport_arg.yaml new file mode 100644 index 00000000000..42136f4741a --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_transport_arg.yaml @@ -0,0 +1,2183 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T23:19:00Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:19: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + under resource group ''cli_test_containerapp_preview000001'' was not found. + For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '267' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:19:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T23:19:00Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:19:02 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:19:02 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:19:02 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:19:02 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:19:02 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", "properties": {"publicNetworkAccessForIngestion": + "Enabled", "publicNetworkAccessForQuery": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '126' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"047f7071-783c-4d68-908b-7210afbf1d0e\",\r\n \"provisioningState\": \"Creating\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 23:19:06 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 07 May 2022 23:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 23:19:06 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 23:19:06 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1105' + content-type: + - application/json + date: + - Fri, 06 May 2022 23:19:06 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"047f7071-783c-4d68-908b-7210afbf1d0e\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 23:19:06 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 07 May 2022 23:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 23:19:06 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 23:19:08 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1106' + content-type: + - application/json + date: + - Fri, 06 May 2022 23:19:37 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + response: + body: + string: "{\r\n \"primarySharedKey\": \"WfrqLJJAydThmT2lz/qjR8o5AHGv1lpiUxIn4cxp7u+9c3ptJ3gKQhFNP6V6wiRrIjRJmnz+/u87exjQlPrMmQ==\",\r\n + \ \"secondarySharedKey\": \"aLPRTgS6zomTAeUEecwl1CRzjyZfYil8+1+W8ZalKXZGqhfbUSLdkIaleJDwzSg2FRyZ/zsyUvfTSHnwbvPhAw==\"\r\n}" + headers: + cache-control: + - no-cache + cachecontrol: + - no-cache + content-length: + - '235' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:19:37 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ams-apiversion: + - WebAPI1.0 + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": + {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": + "047f7071-783c-4d68-908b-7210afbf1d0e", "sharedKey": "WfrqLJJAydThmT2lz/qjR8o5AHGv1lpiUxIn4cxp7u+9c3ptJ3gKQhFNP6V6wiRrIjRJmnz+/u87exjQlPrMmQ=="}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '399' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/61a44bc6-2633-4e74-a226-e557f6bf0647?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:19:40 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-writes: + - '1198' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:19: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:19:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:19:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:19:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:19: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:19:54 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:19:57 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:20:00 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:20:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:20:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:20: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:20: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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:20: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:20:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:20:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:20:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Succeeded","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:20:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:20:24 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Succeeded","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:20:25 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:20:24 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", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": + {"fqdn": null, "external": true, "targetPort": "80", "transport": "http2", "traffic": + null, "customDomains": null}, "dapr": null, "registries": null}, "template": + {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", + "name": "foo", "command": null, "args": null, "env": null, "resources": null, + "volumeMounts": null}], "scale": null, "volumes": null}}, "tags": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '791' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:20:27.40552Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:20:27.40552Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.85.206.230","20.85.206.246","20.85.207.153"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.blackdune-90599fdc.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Http2","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/ed4ef739-a425-405e-a861-fa51ef362f6a?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1352' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:20:29 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-writes: + - '1197' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:20:27.40552","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:20:27.40552"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.85.206.230","20.85.206.246","20.85.207.153"],"latestRevisionName":"foo--d6k94tv","latestRevisionFqdn":"foo--d6k94tv.blackdune-90599fdc.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.blackdune-90599fdc.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Http2","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1422' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:20:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:20:27.40552","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:20:27.40552"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.85.206.230","20.85.206.246","20.85.207.153"],"latestRevisionName":"foo--d6k94tv","latestRevisionFqdn":"foo--d6k94tv.blackdune-90599fdc.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.blackdune-90599fdc.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Http2","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1422' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:20: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:20:27.40552","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:20:27.40552"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.85.206.230","20.85.206.246","20.85.207.153"],"latestRevisionName":"foo--d6k94tv","latestRevisionFqdn":"foo--d6k94tv.blackdune-90599fdc.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.blackdune-90599fdc.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Http2","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1422' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:20:37 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:20:27.40552","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:20:27.40552"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.85.206.230","20.85.206.246","20.85.207.153"],"latestRevisionName":"foo--d6k94tv","latestRevisionFqdn":"foo--d6k94tv.blackdune-90599fdc.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.blackdune-90599fdc.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Http2","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1422' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:20:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:20:27.40552","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:20:27.40552"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.85.206.230","20.85.206.246","20.85.207.153"],"latestRevisionName":"foo--d6k94tv","latestRevisionFqdn":"foo--d6k94tv.blackdune-90599fdc.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.blackdune-90599fdc.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Http2","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1421' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 23:20:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_command_list.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_command_list.yaml new file mode 100644 index 00000000000..524f0c4c96d --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_command_list.yaml @@ -0,0 +1,1999 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:37:32Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:37:32 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + under resource group ''cli_test_containerapp_preview000001'' was not found. + For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '267' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:37:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:37:32Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:37:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:37:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:37:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:37:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:37:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"publicNetworkAccessForIngestion": + "Enabled", "publicNetworkAccessForQuery": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '126' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"76e7108e-b979-4314-952b-3d17b5a984dc\",\r\n \"provisioningState\": \"Creating\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 22:37:37 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 07 May 2022 07:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:37:37 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 22:37:37 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1105' + content-type: + - application/json + date: + - Fri, 06 May 2022 22:37:37 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"76e7108e-b979-4314-952b-3d17b5a984dc\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 22:37:37 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 07 May 2022 07:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:37:37 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 22:37:38 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1106' + content-type: + - application/json + date: + - Fri, 06 May 2022 22:38:08 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + response: + body: + string: "{\r\n \"primarySharedKey\": \"jcmgYMi+602wzJfGfzKQHvDFQeh0h0LR5/xqat/o88hFu6yO1im0ej5wuGRCyFWdL5mgNhugjzyKhXC7Vki70Q==\",\r\n + \ \"secondarySharedKey\": \"IkScLQONXURqp+h9egafzjGtk/Vd4qSNbjF13npT/oU5R4mgTfDI+jBdCSmc5wPucUVCb5n2Aapeq4NDhCK4kQ==\"\r\n}" + headers: + cache-control: + - no-cache + cachecontrol: + - no-cache + content-length: + - '235' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:38:10 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ams-apiversion: + - WebAPI1.0 + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": + {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": + "76e7108e-b979-4314-952b-3d17b5a984dc", "sharedKey": "jcmgYMi+602wzJfGfzKQHvDFQeh0h0LR5/xqat/o88hFu6yO1im0ej5wuGRCyFWdL5mgNhugjzyKhXC7Vki70Q=="}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '399' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/393162a7-1083-439e-937c-a0e75e2a2ec4?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '793' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:38:13 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-async-operation-timeout: + - PT15M + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:38:14 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:38: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:38:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:38:22 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:38:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:38:27 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:38:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:38: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:38: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:38:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:38:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:38:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:38:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:38:50 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:38:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '793' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:38: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:38:56 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '793' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:38: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:38:57 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", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": + {"fqdn": null, "external": false, "targetPort": 5000, "transport": "auto", "traffic": + null, "customDomains": null}, "dapr": null, "registries": null}, "template": + {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", + "name": "foo", "command": ["echo \"hello world\""], "args": null, "env": null, + "resources": null, "volumeMounts": null}], "scale": null, "volumes": null}}, + "tags": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '811' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:59.7530917Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:59.7530917Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.254.210","20.121.254.194","20.121.254.223"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.wonderfultree-97333ab3.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/0275dbca-c867-4ab0-9976-6af94e72461b?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1409' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:39: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-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:59.7530917","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:59.7530917"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.254.210","20.121.254.194","20.121.254.223"],"latestRevisionName":"foo--lfnqc3k","latestRevisionFqdn":"foo--lfnqc3k.internal.wonderfultree-97333ab3.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.wonderfultree-97333ab3.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1492' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:39:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:59.7530917","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:59.7530917"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.254.210","20.121.254.194","20.121.254.223"],"latestRevisionName":"foo--lfnqc3k","latestRevisionFqdn":"foo--lfnqc3k.internal.wonderfultree-97333ab3.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.wonderfultree-97333ab3.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1492' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:39:06 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:59.7530917","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:59.7530917"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.254.210","20.121.254.194","20.121.254.223"],"latestRevisionName":"foo--lfnqc3k","latestRevisionFqdn":"foo--lfnqc3k.internal.wonderfultree-97333ab3.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.wonderfultree-97333ab3.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1491' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:39: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 +version: 1 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_command_string.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_command_string.yaml new file mode 100644 index 00000000000..29e8f112039 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_command_string.yaml @@ -0,0 +1,2099 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:39:11Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:39:11 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + under resource group ''cli_test_containerapp_preview000001'' was not found. + For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '267' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:39:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:39:11Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:39:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:39:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:39:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:39:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:39:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"publicNetworkAccessForIngestion": + "Enabled", "publicNetworkAccessForQuery": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '126' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"64d023fa-468f-474f-bbcc-c4a27f9ac700\",\r\n \"provisioningState\": \"Creating\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 22:39:16 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 07 May 2022 08:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:39:16 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 22:39:16 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1105' + content-type: + - application/json + date: + - Fri, 06 May 2022 22:39:16 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"64d023fa-468f-474f-bbcc-c4a27f9ac700\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 22:39:16 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 07 May 2022 08:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:39:16 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 22:39:17 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1106' + content-type: + - application/json + date: + - Fri, 06 May 2022 22:39:46 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + response: + body: + string: "{\r\n \"primarySharedKey\": \"xqiuwQgS4lpawdJ9EuNC/1MbBAedn5cJ36hxMgCqk6WG9hRh3kkFzBCA5HaPYQy7F2EMxCtTg+Bhik+zhqTOJw==\",\r\n + \ \"secondarySharedKey\": \"W3sR7zWDKRfHt40znCImPVkB/YKvhldqtdR0SvXO+IRYXU8dKjrLA8XJazjknIAMQotU+0oNoIqVOiCJetahEA==\"\r\n}" + headers: + cache-control: + - no-cache + cachecontrol: + - no-cache + content-length: + - '235' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:39:49 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ams-apiversion: + - WebAPI1.0 + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": + {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": + "64d023fa-468f-474f-bbcc-c4a27f9ac700", "sharedKey": "xqiuwQgS4lpawdJ9EuNC/1MbBAedn5cJ36hxMgCqk6WG9hRh3kkFzBCA5HaPYQy7F2EMxCtTg+Bhik+zhqTOJw=="}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '399' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/e4bab52f-1bb0-473c-b3e8-40d1d62d8a08?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:39:51 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-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:39:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:39: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:39:58 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:40: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:40:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:40:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:40: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:40:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:40: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:40: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:40:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:40:24 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:40:27 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:40:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:40:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:40:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:40:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Succeeded","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:40:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:40:41 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Succeeded","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:40:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:40:42 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", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": + {"fqdn": null, "external": false, "targetPort": 5000, "transport": "auto", "traffic": + null, "customDomains": null}, "dapr": null, "registries": null}, "template": + {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", + "name": "foo", "command": ["echo \"hello world\""], "args": null, "env": null, + "resources": null, "volumeMounts": null}], "scale": null, "volumes": null}}, + "tags": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '811' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:40:45.845126Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:40:45.845126Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.22.1","20.102.20.126","20.102.21.61"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.purplecoast-86f7a36e.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/0c921b45-1a43-4887-9e71-e674901aa256?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1399' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:40:47 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-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:40:45.845126","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:40:45.845126"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.22.1","20.102.20.126","20.102.21.61"],"latestRevisionName":"foo--386kaln","latestRevisionFqdn":"foo--386kaln.internal.purplecoast-86f7a36e.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.purplecoast-86f7a36e.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1480' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:40:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:40:45.845126","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:40:45.845126"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.22.1","20.102.20.126","20.102.21.61"],"latestRevisionName":"foo--386kaln","latestRevisionFqdn":"foo--386kaln.internal.purplecoast-86f7a36e.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.purplecoast-86f7a36e.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1480' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:40: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:40:45.845126","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:40:45.845126"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.22.1","20.102.20.126","20.102.21.61"],"latestRevisionName":"foo--386kaln","latestRevisionFqdn":"foo--386kaln.internal.purplecoast-86f7a36e.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.purplecoast-86f7a36e.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1479' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:40:54 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_entrypoint_and_command_list.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_entrypoint_and_command_list.yaml new file mode 100644 index 00000000000..1ee318833b4 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_entrypoint_and_command_list.yaml @@ -0,0 +1,2053 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:40:57Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:40:57 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + under resource group ''cli_test_containerapp_preview000001'' was not found. + For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '267' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:40:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:40:57Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:40:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:40:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:40:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:40:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:40:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"publicNetworkAccessForIngestion": + "Enabled", "publicNetworkAccessForQuery": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '126' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"aa87a3dc-d9f1-46b3-849d-9b3a979aec75\",\r\n \"provisioningState\": \"Creating\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 22:41:03 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Fri, 06 May 2022 23:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:41:03 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 22:41:03 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1105' + content-type: + - application/json + date: + - Fri, 06 May 2022 22:41:03 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"aa87a3dc-d9f1-46b3-849d-9b3a979aec75\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 06 May 2022 22:41:03 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Fri, 06 May 2022 23:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:41:03 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 06 May 2022 22:41:04 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1106' + content-type: + - application/json + date: + - Fri, 06 May 2022 22:41:33 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + response: + body: + string: "{\r\n \"primarySharedKey\": \"SN6HImwNCpUMjRWp6N//utZgiUBbB4hIECK3dt+CMbGQN60vU1J6Zt1vNFgmeuiJ6Hvogq4eP11kD1awyikX8Q==\",\r\n + \ \"secondarySharedKey\": \"0nUUgf8urNcGUc1D+2dZRucG2eHyNkUk/8fEmBWJiyyDrI98aEoRLmilsZiZyAUZXQq7y0VIsAESBjRVE/etjA==\"\r\n}" + headers: + cache-control: + - no-cache + cachecontrol: + - no-cache + content-length: + - '235' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:41:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ams-apiversion: + - WebAPI1.0 + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": + {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": + "aa87a3dc-d9f1-46b3-849d-9b3a979aec75", "sharedKey": "SN6HImwNCpUMjRWp6N//utZgiUBbB4hIECK3dt+CMbGQN60vU1J6Zt1vNFgmeuiJ6Hvogq4eP11kD1awyikX8Q=="}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '399' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/fb3890cd-e650-48c2-8f63-530a4c7d8985?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:41:38 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-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Waiting","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:41:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Waiting","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:41: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Waiting","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:41:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Waiting","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:41:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Waiting","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:41:49 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Waiting","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:41:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Waiting","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:41: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Waiting","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:41:58 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Waiting","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:42: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Waiting","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:42: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Waiting","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:42:06 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Waiting","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:42: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Waiting","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:42: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-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Waiting","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:42: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Succeeded","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:42: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:42:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Succeeded","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:42: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:42:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": + {"fqdn": null, "external": false, "targetPort": 5000, "transport": "auto", "traffic": + null, "customDomains": null}, "dapr": null, "registries": null}, "template": + {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", + "name": "foo", "command": ["/code/entrypoint.sh"], "args": ["echo \"hello world\""], + "env": null, "resources": null, "volumeMounts": null}], "scale": null, "volumes": + null}}, "tags": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '830' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:42:22.3766318Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:42:22.3766318Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.80.70","20.121.255.217","20.232.80.43"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.blacksky-37d55882.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/5c5ca5e5-405f-4d07-a414-f46d57450e3e?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1431' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:42:24 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-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:42:22.3766318","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:42:22.3766318"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.80.70","20.121.255.217","20.232.80.43"],"latestRevisionName":"foo--ftlv4ju","latestRevisionFqdn":"foo--ftlv4ju.internal.blacksky-37d55882.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.blacksky-37d55882.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1509' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:42:25 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:42:22.3766318","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:42:22.3766318"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.80.70","20.121.255.217","20.232.80.43"],"latestRevisionName":"foo--ftlv4ju","latestRevisionFqdn":"foo--ftlv4ju.internal.blacksky-37d55882.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.blacksky-37d55882.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1509' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:42:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:42:22.3766318","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:42:22.3766318"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.80.70","20.121.255.217","20.232.80.43"],"latestRevisionName":"foo--ftlv4ju","latestRevisionFqdn":"foo--ftlv4ju.internal.blacksky-37d55882.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.blacksky-37d55882.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1509' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:42:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:42:22.3766318","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:42:22.3766318"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.80.70","20.121.255.217","20.232.80.43"],"latestRevisionName":"foo--ftlv4ju","latestRevisionFqdn":"foo--ftlv4ju.internal.blacksky-37d55882.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.blacksky-37d55882.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1509' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:42: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:42:22.3766318","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:42:22.3766318"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.80.70","20.121.255.217","20.232.80.43"],"latestRevisionName":"foo--ftlv4ju","latestRevisionFqdn":"foo--ftlv4ju.internal.blacksky-37d55882.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.blacksky-37d55882.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1508' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 May 2022 22:42:37 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scenario.py b/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scenario.py new file mode 100644 index 00000000000..9724f1c35d2 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scenario.py @@ -0,0 +1,592 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +import os +import unittest + +from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) +from azure.cli.testsdk.exceptions import CliExecutionError + + +TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) + + +class ContainerappComposePreviewScenarioTest(ScenarioTest): + + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_no_existing_resources(self, resource_group): + compose_text = """ +services: + foo: + image: smurawski/printenv:latest +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + self.cmd(command_string, checks=[ + self.check('[].name', ['foo']), + self.check('[] | length(@)', 1), + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + +class ContainerappComposePreviewIngressScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_external_ingress(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + ports: 8080:80 +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + self.cmd(command_string, checks=[ + self.check('[?name==`foo`].properties.configuration.ingress.targetPort', [80]), + self.check('[?name==`foo`].properties.configuration.ingress.external', [True]), + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + +class ContainerappComposePreviewIngressInternalScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_internal_ingress(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + expose: + - "3000" +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + self.cmd(command_string, checks=[ + self.check('[?name==`foo`].properties.configuration.ingress.targetPort', [3000]), + self.check('[?name==`foo`].properties.configuration.ingress.external', [False]), + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + +class ContainerappComposePreviewIngressBothScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_both_ingress(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + ports: 4000:3000 + expose: + - "5000" +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + self.cmd(command_string, checks=[ + self.check('[?name==`foo`].properties.configuration.ingress.targetPort', [3000]), + self.check('[?name==`foo`].properties.configuration.ingress.external', [True]), + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + +class ContainerappComposePreviewIngressPromptScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_prompt_ingress(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + ports: + - 4000:3000 + - 443:443 + - 80:80 + expose: + - "5000" + - "3000" + - "443" +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + + # This test fails because prompts are not supported in NoTTY environments + self.cmd(command_string, expect_failure=True) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + +class ContainerappComposePreviewCommandScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_with_command_string(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + command: echo "hello world" + expose: + - "5000" +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + self.cmd(command_string, checks=[ + self.check('[?name==`foo`].properties.template.containers[0].command[0]', "['echo \"hello world\"']"), + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_with_command_list(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + command: ["echo", "hello world"] + expose: + - "5000" +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + self.cmd(command_string, checks=[ + self.check('[?name==`foo`].properties.template.containers[0].command[0]', "['echo \"hello world\"']"), + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_with_entrypoint_and_command_list(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + command: ["echo", "hello world"] + entrypoint: /code/entrypoint.sh + expose: + - "5000" +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + self.cmd(command_string, checks=[ + self.check('[?name==`foo`].properties.template.containers[0].command[0]', "['/code/entrypoint.sh']"), + self.check('[?name==`foo`].properties.template.containers[0].args[0]', "['echo \"hello world\"']"), + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + +class ContainerappComposePreviewResourceSettingsScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_cpus(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + cpus: 1.25 + expose: + - "3000" +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + self.cmd(command_string, checks=[ + self.check('[?name==`foo`].properties.template.containers[0].resources.cpu', [1.25]), + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_deploy_cpu(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + deploy: + resources: + reservations: + cpus: 1.25 + expose: + - "3000" +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + self.cmd(command_string, checks=[ + self.check('[?name==`foo`].properties.template.containers[0].resources.cpu', [1.25]), + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_cpus_and_deploy_cpu(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + cpus: 0.75 + deploy: + resources: + reservations: + cpus: 1.25 + expose: + - "3000" +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + self.cmd(command_string, checks=[ + self.check('[?name==`foo`].properties.template.containers[0].resources.cpu', [1.25]), + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + +class ContainerappComposePreviewEnvironmentSettingsScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_environment(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + environment: + - RACK_ENV=development + - SHOW=true + - BAZ="snafu" +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + self.cmd(command_string, checks=[ + self.check('[?name==`foo`].properties.template.containers[0].env[0].name', ["RACK_ENV"]), + self.check('[?name==`foo`].properties.template.containers[0].env[0].value', ["development"]), + self.check('[?name==`foo`].properties.template.containers[0].env[1].name', ["SHOW"]), + self.check('[?name==`foo`].properties.template.containers[0].env[1].value', ["true"]), + self.check('[?name==`foo`].properties.template.containers[0].env[2].name', ["BAZ"]), + self.check('[?name==`foo`].properties.template.containers[0].env[2].value', ['"snafu"']) + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + +class ContainerappComposePreviewEnvironmentSettingsExpectedExceptionScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_environment_prompt(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + environment: + - LOREM= +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + + # This test fails because prompts are not supported in NoTTY environments + self.cmd(command_string, expect_failure=True) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + +class ContainerappComposePreviewTransportOverridesScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_transport_arg(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + ports: 8080:80 +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + 'transport': "foo=http2 bar=auto", + 'second_transport': "baz=http", + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + command_string += ' --transport {transport}' + command_string += ' --transport {second_transport}' + self.cmd(command_string, checks=[ + self.check('[?name==`foo`].properties.configuration.ingress.transport', ["Http2"]), + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + +class ContainerappComposePreviewRegistryAllArgsScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_all_registry_args(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + ports: 8080:80 +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + 'registry_server': "foobar.azurecr.io", + 'registry_user': "foobar", + 'registry_pass': "snafu", + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + command_string += ' --registry-server {registry_server}' + command_string += ' --registry-username {registry_user}' + command_string += ' --registry-password {registry_pass}' + + self.cmd(command_string, checks=[ + self.check('[?name==`foo`].properties.configuration.registries[0].server', ["foobar.azurecr.io"]), + self.check('[?name==`foo`].properties.configuration.registries[0].username', ["foobar"]), + self.check('[?name==`foo`].properties.configuration.registries[0].passwordSecretRef', ["foobarazurecrio-foobar"]), # pylint: disable=C0301 + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + +class ContainerappComposePreviewRegistryServerArgOnlyScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_registry_server_arg_only(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + ports: 8080:80 +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + 'registry_server': "foobar.azurecr.io", + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + command_string += ' --registry-server {registry_server}' + + # This test fails because prompts are not supported in NoTTY environments + self.cmd(command_string, expect_failure=True) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/__init__.py b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/__init__.py b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/__init__.py new file mode 100644 index 00000000000..3bafac3f2c9 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/__init__.py @@ -0,0 +1,5 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- +# pylint: disable=super-with-arguments diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_acr_run_polling.py b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_acr_run_polling.py new file mode 100644 index 00000000000..1a71a87c99a --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_acr_run_polling.py @@ -0,0 +1,112 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- +# pylint: disable=line-too-long, consider-using-f-string + +import time + +from msrest import Deserializer +from msrestazure.azure_exceptions import CloudError +from azure.cli.core.profiles import ResourceType +from azure.cli.command_modules.acr._constants import get_acr_task_models +from azure.core.polling import PollingMethod, LROPoller + + +def get_run_with_polling(cmd, + client, + run_id, + registry_name, + resource_group_name): + deserializer = Deserializer( + {k: v for k, v in get_acr_task_models(cmd).__dict__.items() if isinstance(v, type)}) + + def deserialize_run(response): + return deserializer('Run', response) + + return LROPoller( + client=client, + initial_response=client.get( + resource_group_name, registry_name, run_id, cls=lambda x, y, z: x), + deserialization_callback=deserialize_run, + polling_method=RunPolling( + cmd=cmd, + registry_name=registry_name, + run_id=run_id + )) + + +class RunPolling(PollingMethod): # pylint: disable=too-many-instance-attributes + + def __init__(self, cmd, registry_name, run_id, timeout=30): + self._cmd = cmd + self._registry_name = registry_name + self._run_id = run_id + self._timeout = timeout + self._client = None + self._response = None # Will hold latest received response + self._url = None # The URL used to get the run + self._deserialize = None # The deserializer for Run + self.operation_status = "" + self.operation_result = None + + def initialize(self, client, initial_response, deserialization_callback): + self._client = client._client # pylint: disable=protected-access + self._response = initial_response + self._url = initial_response.http_request.url + self._deserialize = deserialization_callback + + self._set_operation_status(initial_response) + + def run(self): + while not self.finished(): + time.sleep(self._timeout) + self._update_status() + + if self.operation_status not in get_succeeded_run_status(self._cmd): + from knack.util import CLIError + raise CLIError("The run with ID '{}' finished with unsuccessful status '{}'. " + "Show run details by 'az acr task show-run -r {} --run-id {}'. " + "Show run logs by 'az acr task logs -r {} --run-id {}'.".format( + self._run_id, + self.operation_status, + self._registry_name, + self._run_id, + self._registry_name, + self._run_id + )) + + def status(self): + return self.operation_status + + def finished(self): + return self.operation_status in get_finished_run_status(self._cmd) + + def resource(self): + return self.operation_result + + def _set_operation_status(self, response): + if response.http_response.status_code == 200: + self.operation_result = self._deserialize(response) + self.operation_status = self.operation_result.status + return + raise CloudError(response) + + def _update_status(self): + self._response = self._client._pipeline.run( # pylint: disable=protected-access + self._client.get(self._url), stream=False) + self._set_operation_status(self._response) + + +def get_succeeded_run_status(cmd): + RunStatus = cmd.get_models('RunStatus', resource_type=ResourceType.MGMT_CONTAINERREGISTRY, operation_group='task_runs') + return [RunStatus.succeeded.value] + + +def get_finished_run_status(cmd): + RunStatus = cmd.get_models('RunStatus', resource_type=ResourceType.MGMT_CONTAINERREGISTRY, operation_group='task_runs') + return [RunStatus.succeeded.value, + RunStatus.failed.value, + RunStatus.canceled.value, + RunStatus.error.value, + RunStatus.timeout.value] diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_archive_utils.py b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_archive_utils.py new file mode 100644 index 00000000000..9130e6ab4f9 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_archive_utils.py @@ -0,0 +1,243 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- +# pylint: disable=consider-using-f-string, consider-using-with, no-member + +import tarfile +import os +import re +import codecs +from io import open +import requests +from knack.log import get_logger +from msrestazure.azure_exceptions import CloudError +from azure.cli.core.azclierror import (CLIInternalError) +from azure.cli.core.profiles import ResourceType, get_sdk +from azure.cli.command_modules.acr._azure_utils import get_blob_info +from azure.cli.command_modules.acr._constants import TASK_VALID_VSTS_URLS + +logger = get_logger(__name__) + + +def upload_source_code(cmd, client, + registry_name, + resource_group_name, + source_location, + tar_file_path, + docker_file_path, + docker_file_in_tar): + _pack_source_code(source_location, + tar_file_path, + docker_file_path, + docker_file_in_tar) + + size = os.path.getsize(tar_file_path) + unit = 'GiB' + for S in ['Bytes', 'KiB', 'MiB', 'GiB']: + if size < 1024: + unit = S + break + size = size / 1024.0 + + logger.info("Uploading archived source code from '%s'...", tar_file_path) + upload_url = None + relative_path = None + try: + source_upload_location = client.get_build_source_upload_url( + resource_group_name, registry_name) + upload_url = source_upload_location.upload_url + relative_path = source_upload_location.relative_path + except (AttributeError, CloudError) as e: + raise CLIInternalError("Failed to get a SAS URL to upload context. Error: {}".format(e.message)) from e + + if not upload_url: + raise CLIInternalError("Failed to get a SAS URL to upload context.") + + account_name, endpoint_suffix, container_name, blob_name, sas_token = get_blob_info(upload_url) + BlockBlobService = get_sdk(cmd.cli_ctx, ResourceType.DATA_STORAGE, 'blob#BlockBlobService') + BlockBlobService(account_name=account_name, + sas_token=sas_token, + endpoint_suffix=endpoint_suffix, + # Increase socket timeout from default of 20s for clients with slow network connection. + socket_timeout=300).create_blob_from_path( + container_name=container_name, + blob_name=blob_name, + file_path=tar_file_path) + logger.info("Sending context ({0:.3f} {1}) to registry: {2}...".format( + size, unit, registry_name)) + return relative_path + + +def _pack_source_code(source_location, tar_file_path, docker_file_path, docker_file_in_tar): + logger.info("Packing source code into tar to upload...") + + original_docker_file_name = os.path.basename(docker_file_path.replace("\\", os.sep)) + ignore_list, ignore_list_size = _load_dockerignore_file(source_location, original_docker_file_name) + common_vcs_ignore_list = {'.git', '.gitignore', '.bzr', 'bzrignore', '.hg', '.hgignore', '.svn'} + + def _ignore_check(tarinfo, parent_ignored, parent_matching_rule_index): + # ignore common vcs dir or file + if tarinfo.name in common_vcs_ignore_list: + logger.info("Excluding '%s' based on default ignore rules", tarinfo.name) + return True, parent_matching_rule_index + + if ignore_list is None: + # if .dockerignore doesn't exists, inherit from parent + # eg, it will ignore the files under .git folder. + return parent_ignored, parent_matching_rule_index + + for index, item in enumerate(ignore_list): + # stop checking the remaining rules whose priorities are lower than the parent matching rule + # at this point, current item should just inherit from parent + if index >= parent_matching_rule_index: + break + if re.match(item.pattern, tarinfo.name): + logger.debug(".dockerignore: rule '%s' matches '%s'.", + item.rule, tarinfo.name) + return item.ignore, index + + logger.debug(".dockerignore: no rule for '%s'. parent ignore '%s'", + tarinfo.name, parent_ignored) + # inherit from parent + return parent_ignored, parent_matching_rule_index + + with tarfile.open(tar_file_path, "w:gz") as tar: + # need to set arcname to empty string as the archive root path + _archive_file_recursively(tar, + source_location, + arcname="", + parent_ignored=False, + parent_matching_rule_index=ignore_list_size, + ignore_check=_ignore_check) + + # Add the Dockerfile if it's specified. + # In the case of run, there will be no Dockerfile. + if docker_file_path: + docker_file_tarinfo = tar.gettarinfo( + docker_file_path, docker_file_in_tar) + with open(docker_file_path, "rb") as f: + tar.addfile(docker_file_tarinfo, f) + + +class IgnoreRule: # pylint: disable=too-few-public-methods + def __init__(self, rule): + + self.rule = rule + self.ignore = True + # ! makes exceptions to exclusions + if rule.startswith('!'): + self.ignore = False + rule = rule[1:] # remove ! + # load path without leading slash in linux and windows + # environments (interferes with dockerignore file) + if rule.startswith('/'): + rule = rule[1:] # remove beginning '/' + + self.pattern = "^" + tokens = rule.split('/') + token_length = len(tokens) + for index, token in enumerate(tokens, 1): + # ** matches any number of directories + if token == "**": + self.pattern += ".*" # treat **/ as ** + else: + # * matches any sequence of non-seperator characters + # ? matches any single non-seperator character + # . matches dot character + self.pattern += token.replace( + "*", "[^/]*").replace("?", "[^/]").replace(".", "\\.") + if index < token_length: + self.pattern += "/" # add back / if it's not the last + self.pattern += "$" + + +def _load_dockerignore_file(source_location, original_docker_file_name): + # reference: https://docs.docker.com/engine/reference/builder/#dockerignore-file + docker_ignore_file = os.path.join(source_location, ".dockerignore") + docker_ignore_file_override = None + if original_docker_file_name != "Dockerfile": + docker_ignore_file_override = os.path.join( + source_location, "{}.dockerignore".format(original_docker_file_name)) + if os.path.exists(docker_ignore_file_override): + logger.info("Overriding .dockerignore with %s", docker_ignore_file_override) + docker_ignore_file = docker_ignore_file_override + + if not os.path.exists(docker_ignore_file): + return None, 0 + + encoding = "utf-8" + header = open(docker_ignore_file, "rb").read(len(codecs.BOM_UTF8)) + if header.startswith(codecs.BOM_UTF8): + encoding = "utf-8-sig" + + ignore_list = [] + if docker_ignore_file == docker_ignore_file_override: + ignore_list.append(IgnoreRule(".dockerignore")) + + for line in open(docker_ignore_file, 'r', encoding=encoding).readlines(): + rule = line.rstrip() + + # skip empty line and comment + if not rule or rule.startswith('#'): + continue + + # the ignore rule at the end has higher priority + ignore_list = [IgnoreRule(rule)] + ignore_list + + return ignore_list, len(ignore_list) + + +def _archive_file_recursively(tar, name, arcname, parent_ignored, parent_matching_rule_index, ignore_check): + # create a TarInfo object from the file + tarinfo = tar.gettarinfo(name, arcname) + + if tarinfo is None: + raise CLIInternalError("tarfile: unsupported type {}".format(name)) + + # check if the file/dir is ignored + ignored, matching_rule_index = ignore_check( + tarinfo, parent_ignored, parent_matching_rule_index) + + if not ignored: + # append the tar header and data to the archive + if tarinfo.isreg(): + with open(name, "rb") as f: + tar.addfile(tarinfo, f) + else: + tar.addfile(tarinfo) + + # even the dir is ignored, its child items can still be included, so continue to scan + if tarinfo.isdir(): + for f in os.listdir(name): + _archive_file_recursively(tar, os.path.join(name, f), os.path.join(arcname, f), + parent_ignored=ignored, parent_matching_rule_index=matching_rule_index, + ignore_check=ignore_check) + + +def check_remote_source_code(source_location): + lower_source_location = source_location.lower() + + # git + if lower_source_location.startswith("git@") or lower_source_location.startswith("git://"): + return source_location + + # http + if lower_source_location.startswith("https://") or lower_source_location.startswith("http://") \ + or lower_source_location.startswith("github.com/"): + isVSTS = any(url in lower_source_location for url in TASK_VALID_VSTS_URLS) + if isVSTS or re.search(r"\.git(?:#.+)?$", lower_source_location): + # git url must contain ".git" or be from VSTS/Azure DevOps. + # This is because Azure DevOps doesn't follow the standard git server convention of putting + # .git at the end of their URLs, so we have to special case them. + return source_location + if not lower_source_location.startswith("github.com/"): + # Others are tarball + if requests.head(source_location).status_code < 400: + return source_location + raise CLIInternalError("'{}' doesn't exist.".format(source_location)) + + # oci + if lower_source_location.startswith("oci://"): + return source_location + raise CLIInternalError("'{}' doesn't exist.".format(source_location)) diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_client_factory.py b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_client_factory.py new file mode 100644 index 00000000000..4e8ad424138 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_client_factory.py @@ -0,0 +1,75 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- +# pylint: disable=line-too-long, consider-using-f-string + +from azure.cli.core.commands.client_factory import get_mgmt_service_client +from azure.cli.core.profiles import ResourceType +from azure.cli.core.azclierror import CLIInternalError + + +# pylint: disable=inconsistent-return-statements +def ex_handler_factory(no_throw=False): + def _polish_bad_errors(ex): + import json + try: + content = json.loads(ex.response.content) + if 'message' in content: + detail = content['message'] + elif 'Message' in content: + detail = content['Message'] + + ex = CLIInternalError(detail) + except Exception: # pylint: disable=broad-except + pass + if no_throw: + return ex + raise ex + return _polish_bad_errors + + +def handle_raw_exception(e): + import json + + stringErr = str(e) + + if "{" in stringErr and "}" in stringErr: + jsonError = stringErr[stringErr.index("{"):stringErr.rindex("}") + 1] + jsonError = json.loads(jsonError) + + if 'error' in jsonError: + jsonError = jsonError['error'] + + if 'code' in jsonError and 'message' in jsonError: + code = jsonError['code'] + message = jsonError['message'] + raise CLIInternalError('({}) {}'.format(code, message)) + elif "Message" in jsonError: + message = jsonError["Message"] + raise CLIInternalError(message) + elif "message" in jsonError: + message = jsonError["message"] + raise CLIInternalError(message) + raise e + + +def providers_client_factory(cli_ctx, subscription_id=None): + return get_mgmt_service_client(cli_ctx, ResourceType.MGMT_RESOURCE_RESOURCES, subscription_id=subscription_id).providers + + +def cf_resource_groups(cli_ctx, subscription_id=None): + return get_mgmt_service_client(cli_ctx, ResourceType.MGMT_RESOURCE_RESOURCES, + subscription_id=subscription_id).resource_groups + + +def log_analytics_client_factory(cli_ctx): + from azure.mgmt.loganalytics import LogAnalyticsManagementClient + + return get_mgmt_service_client(cli_ctx, LogAnalyticsManagementClient).workspaces + + +def log_analytics_shared_key_client_factory(cli_ctx): + from azure.mgmt.loganalytics import LogAnalyticsManagementClient + + return get_mgmt_service_client(cli_ctx, LogAnalyticsManagementClient).shared_keys diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_clients.py b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_clients.py new file mode 100644 index 00000000000..4362e1d51aa --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_clients.py @@ -0,0 +1,787 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- +# pylint: disable=line-too-long, super-with-arguments, too-many-instance-attributes, consider-using-f-string, no-else-return, no-self-use + +import json +import time +import sys + +from azure.cli.core.util import send_raw_request +from azure.cli.core.commands.client_factory import get_subscription_id +from knack.log import get_logger + +logger = get_logger(__name__) + +API_VERSION = "2021-03-01" +PREVIEW_API_VERSION = "2022-01-01-preview" +STABLE_API_VERSION = "2022-03-01" +POLLING_TIMEOUT = 60 # how many seconds before exiting +POLLING_SECONDS = 2 # how many seconds between requests + + +class PollingAnimation(): + def __init__(self): + self.tickers = ["/", "|", "\\", "-", "/", "|", "\\", "-"] + self.currTicker = 0 + + def tick(self): + sys.stdout.write('\r') + sys.stdout.write(self.tickers[self.currTicker] + " Running ..") + sys.stdout.flush() + self.currTicker += 1 + self.currTicker = self.currTicker % len(self.tickers) + + def flush(self): + sys.stdout.flush() + sys.stdout.write('\r') + sys.stdout.write("\033[K") + + +def poll(cmd, request_url, poll_if_status): # pylint: disable=inconsistent-return-statements + try: + start = time.time() + end = time.time() + POLLING_TIMEOUT + animation = PollingAnimation() + + animation.tick() + r = send_raw_request(cmd.cli_ctx, "GET", request_url) + + while r.status_code in [200, 201] and start < end: + time.sleep(POLLING_SECONDS) + animation.tick() + + r = send_raw_request(cmd.cli_ctx, "GET", request_url) + r2 = r.json() + + if "properties" not in r2 or "provisioningState" not in r2["properties"] or not r2["properties"]["provisioningState"].lower() == poll_if_status: + break + start = time.time() + + animation.flush() + return r.json() + except Exception as e: # pylint: disable=broad-except + animation.flush() + + delete_statuses = ["scheduledfordelete", "cancelled"] + + if poll_if_status not in delete_statuses: # Catch "not found" errors if polling for delete + raise e + + +class ContainerAppClient(): + @classmethod + def create_or_update(cls, cmd, resource_group_name, name, container_app_envelope, no_wait=False): + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + api_version = PREVIEW_API_VERSION + sub_id = get_subscription_id(cmd.cli_ctx) + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + name, + api_version) + + r = send_raw_request(cmd.cli_ctx, "PUT", request_url, body=json.dumps(container_app_envelope)) + + if no_wait: + return r.json() + elif r.status_code == 201: + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + name, + api_version) + return poll(cmd, request_url, "inprogress") + + return r.json() + + @classmethod + def update(cls, cmd, resource_group_name, name, container_app_envelope, no_wait=False): + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + + api_version = STABLE_API_VERSION + + sub_id = get_subscription_id(cmd.cli_ctx) + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + name, + api_version) + + r = send_raw_request(cmd.cli_ctx, "PATCH", request_url, body=json.dumps(container_app_envelope)) + + if no_wait: + return r.json() + elif r.status_code == 202: + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + name, + api_version) + return poll(cmd, request_url, "inprogress") + + return r.json() + + @classmethod + def delete(cls, cmd, resource_group_name, name, no_wait=False): + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + api_version = PREVIEW_API_VERSION + sub_id = get_subscription_id(cmd.cli_ctx) + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + name, + api_version) + + r = send_raw_request(cmd.cli_ctx, "DELETE", request_url) + + if no_wait: + return # API doesn't return JSON (it returns no content) + elif r.status_code in [200, 201, 202, 204]: + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + name, + api_version) + + if r.status_code == 202: + from azure.cli.core.azclierror import ResourceNotFoundError + try: + poll(cmd, request_url, "cancelled") + except ResourceNotFoundError: + pass + logger.warning('Containerapp successfully deleted') + + @classmethod + def show(cls, cmd, resource_group_name, name): + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + api_version = PREVIEW_API_VERSION + sub_id = get_subscription_id(cmd.cli_ctx) + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + name, + api_version) + + r = send_raw_request(cmd.cli_ctx, "GET", request_url) + return r.json() + + @classmethod + def list_by_subscription(cls, cmd, formatter=lambda x: x): + app_list = [] + + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + api_version = PREVIEW_API_VERSION + sub_id = get_subscription_id(cmd.cli_ctx) + request_url = "{}/subscriptions/{}/providers/Microsoft.App/containerApps?api-version={}".format( + management_hostname.strip('/'), + sub_id, + api_version) + + r = send_raw_request(cmd.cli_ctx, "GET", request_url) + j = r.json() + for app in j["value"]: + formatted = formatter(app) + app_list.append(formatted) + + while j.get("nextLink") is not None: + request_url = j["nextLink"] + r = send_raw_request(cmd.cli_ctx, "GET", request_url) + j = r.json() + for app in j["value"]: + formatted = formatter(app) + app_list.append(formatted) + + return app_list + + @classmethod + def list_by_resource_group(cls, cmd, resource_group_name, formatter=lambda x: x): + app_list = [] + + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + api_version = PREVIEW_API_VERSION + sub_id = get_subscription_id(cmd.cli_ctx) + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + api_version) + + r = send_raw_request(cmd.cli_ctx, "GET", request_url) + j = r.json() + for app in j["value"]: + formatted = formatter(app) + app_list.append(formatted) + + while j.get("nextLink") is not None: + request_url = j["nextLink"] + r = send_raw_request(cmd.cli_ctx, "GET", request_url) + j = r.json() + for app in j["value"]: + formatted = formatter(app) + app_list.append(formatted) + + return app_list + + @classmethod + def list_secrets(cls, cmd, resource_group_name, name): + + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + api_version = PREVIEW_API_VERSION + sub_id = get_subscription_id(cmd.cli_ctx) + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/listSecrets?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + name, + api_version) + + r = send_raw_request(cmd.cli_ctx, "POST", request_url, body=None) + return r.json() + + @classmethod + def list_revisions(cls, cmd, resource_group_name, name, formatter=lambda x: x): + + revisions_list = [] + + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + api_version = PREVIEW_API_VERSION + sub_id = get_subscription_id(cmd.cli_ctx) + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/revisions?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + name, + api_version) + + r = send_raw_request(cmd.cli_ctx, "GET", request_url) + j = r.json() + for app in j["value"]: + formatted = formatter(app) + revisions_list.append(formatted) + + while j.get("nextLink") is not None: + request_url = j["nextLink"] + r = send_raw_request(cmd.cli_ctx, "GET", request_url) + j = r.json() + for app in j["value"]: + formatted = formatter(app) + revisions_list.append(formatted) + + return revisions_list + + @classmethod + def show_revision(cls, cmd, resource_group_name, container_app_name, name): + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + api_version = PREVIEW_API_VERSION + sub_id = get_subscription_id(cmd.cli_ctx) + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/revisions/{}?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + container_app_name, + name, + api_version) + + r = send_raw_request(cmd.cli_ctx, "GET", request_url) + return r.json() + + @classmethod + def restart_revision(cls, cmd, resource_group_name, container_app_name, name): + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + api_version = PREVIEW_API_VERSION + sub_id = get_subscription_id(cmd.cli_ctx) + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/revisions/{}/restart?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + container_app_name, + name, + api_version) + + r = send_raw_request(cmd.cli_ctx, "POST", request_url) + return r.json() + + @classmethod + def activate_revision(cls, cmd, resource_group_name, container_app_name, name): + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + api_version = PREVIEW_API_VERSION + sub_id = get_subscription_id(cmd.cli_ctx) + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/revisions/{}/activate?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + container_app_name, + name, + api_version) + + r = send_raw_request(cmd.cli_ctx, "POST", request_url) + return r.json() + + @classmethod + def deactivate_revision(cls, cmd, resource_group_name, container_app_name, name): + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + api_version = PREVIEW_API_VERSION + sub_id = get_subscription_id(cmd.cli_ctx) + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/revisions/{}/deactivate?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + container_app_name, + name, + api_version) + + r = send_raw_request(cmd.cli_ctx, "POST", request_url) + return r.json() + + @classmethod + def list_replicas(cls, cmd, resource_group_name, container_app_name, revision_name): + replica_list = [] + + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + sub_id = get_subscription_id(cmd.cli_ctx) + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/revisions/{}/replicas?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + container_app_name, + revision_name, + STABLE_API_VERSION) + + r = send_raw_request(cmd.cli_ctx, "GET", request_url) + j = r.json() + for replica in j["value"]: + replica_list.append(replica) + + while j.get("nextLink") is not None: + request_url = j["nextLink"] + r = send_raw_request(cmd.cli_ctx, "GET", request_url) + j = r.json() + for replica in j["value"]: + replica_list.append(replica) + + return replica_list + + @classmethod + def get_replica(cls, cmd, resource_group_name, container_app_name, revision_name, replica_name): + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + sub_id = get_subscription_id(cmd.cli_ctx) + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/revisions/{}/replicas/{}/?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + container_app_name, + revision_name, + replica_name, + STABLE_API_VERSION) + + r = send_raw_request(cmd.cli_ctx, "GET", request_url) + return r.json() + + @classmethod + def get_auth_token(cls, cmd, resource_group_name, name): + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + sub_id = get_subscription_id(cmd.cli_ctx) + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/authtoken?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + name, + STABLE_API_VERSION) + + r = send_raw_request(cmd.cli_ctx, "POST", request_url) + return r.json() + + +class ManagedEnvironmentClient(): + @classmethod + def create(cls, cmd, resource_group_name, name, managed_environment_envelope, no_wait=False): + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + api_version = PREVIEW_API_VERSION + sub_id = get_subscription_id(cmd.cli_ctx) + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + name, + api_version) + + r = send_raw_request(cmd.cli_ctx, "PUT", request_url, body=json.dumps(managed_environment_envelope)) + + if no_wait: + return r.json() + elif r.status_code == 201: + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + name, + api_version) + return poll(cmd, request_url, "waiting") + + return r.json() + + @classmethod + def update(cls, cmd, resource_group_name, name, managed_environment_envelope, no_wait=False): + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + api_version = PREVIEW_API_VERSION + sub_id = get_subscription_id(cmd.cli_ctx) + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + name, + api_version) + + r = send_raw_request(cmd.cli_ctx, "PATCH", request_url, body=json.dumps(managed_environment_envelope)) + + if no_wait: + return r.json() + elif r.status_code == 201: + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + name, + api_version) + return poll(cmd, request_url, "waiting") + + return r.json() + + @classmethod + def delete(cls, cmd, resource_group_name, name, no_wait=False): + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + api_version = PREVIEW_API_VERSION + sub_id = get_subscription_id(cmd.cli_ctx) + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + name, + api_version) + + r = send_raw_request(cmd.cli_ctx, "DELETE", request_url) + + if no_wait: + return # API doesn't return JSON (it returns no content) + elif r.status_code in [200, 201, 202, 204]: + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + name, + api_version) + + if r.status_code == 202: + from azure.cli.core.azclierror import ResourceNotFoundError + try: + poll(cmd, request_url, "scheduledfordelete") + except ResourceNotFoundError: + pass + logger.warning('Containerapp environment successfully deleted') + return + + @classmethod + def show(cls, cmd, resource_group_name, name): + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + api_version = PREVIEW_API_VERSION + sub_id = get_subscription_id(cmd.cli_ctx) + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + name, + api_version) + + r = send_raw_request(cmd.cli_ctx, "GET", request_url) + return r.json() + + @classmethod + def list_by_subscription(cls, cmd, formatter=lambda x: x): + env_list = [] + + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + api_version = PREVIEW_API_VERSION + sub_id = get_subscription_id(cmd.cli_ctx) + request_url = "{}/subscriptions/{}/providers/Microsoft.App/managedEnvironments?api-version={}".format( + management_hostname.strip('/'), + sub_id, + api_version) + + r = send_raw_request(cmd.cli_ctx, "GET", request_url) + j = r.json() + for env in j["value"]: + formatted = formatter(env) + env_list.append(formatted) + + while j.get("nextLink") is not None: + request_url = j["nextLink"] + r = send_raw_request(cmd.cli_ctx, "GET", request_url) + j = r.json() + for env in j["value"]: + formatted = formatter(env) + env_list.append(formatted) + + return env_list + + @classmethod + def list_by_resource_group(cls, cmd, resource_group_name, formatter=lambda x: x): + env_list = [] + + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + api_version = PREVIEW_API_VERSION + sub_id = get_subscription_id(cmd.cli_ctx) + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + api_version) + + r = send_raw_request(cmd.cli_ctx, "GET", request_url) + j = r.json() + for env in j["value"]: + formatted = formatter(env) + env_list.append(formatted) + + while j.get("nextLink") is not None: + request_url = j["nextLink"] + r = send_raw_request(cmd.cli_ctx, "GET", request_url) + j = r.json() + for env in j["value"]: + formatted = formatter(env) + env_list.append(formatted) + + return env_list + + +class GitHubActionClient(): + @classmethod + def create_or_update(cls, cmd, resource_group_name, name, github_action_envelope, headers, no_wait=False): + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + api_version = STABLE_API_VERSION + sub_id = get_subscription_id(cmd.cli_ctx) + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/sourcecontrols/current?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + name, + api_version) + + r = send_raw_request(cmd.cli_ctx, "PUT", request_url, body=json.dumps(github_action_envelope), headers=headers) + + if no_wait: + return r.json() + elif r.status_code == 201: + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/sourcecontrols/current?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + name, + api_version) + return poll(cmd, request_url, "inprogress") + + return r.json() + + @classmethod + def show(cls, cmd, resource_group_name, name): + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + api_version = STABLE_API_VERSION + sub_id = get_subscription_id(cmd.cli_ctx) + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/sourcecontrols/current?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + name, + api_version) + + r = send_raw_request(cmd.cli_ctx, "GET", request_url) + return r.json() + + @classmethod + def delete(cls, cmd, resource_group_name, name, headers, no_wait=False): + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + api_version = PREVIEW_API_VERSION + sub_id = get_subscription_id(cmd.cli_ctx) + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/sourcecontrols/current?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + name, + api_version) + + r = send_raw_request(cmd.cli_ctx, "DELETE", request_url, headers=headers) + + if no_wait: + return # API doesn't return JSON (it returns no content) + elif r.status_code in [200, 201, 202, 204]: + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/sourcecontrols/current?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + name, + api_version) + + if r.status_code == 202: + from azure.cli.core.azclierror import ResourceNotFoundError + try: + poll(cmd, request_url, "cancelled") + except ResourceNotFoundError: + pass + logger.warning('Containerapp github action successfully deleted') + return + + +class DaprComponentClient(): + @classmethod + def create_or_update(cls, cmd, resource_group_name, environment_name, name, dapr_component_envelope, no_wait=False): + + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + api_version = PREVIEW_API_VERSION + sub_id = get_subscription_id(cmd.cli_ctx) + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}/daprComponents/{}?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + environment_name, + name, + api_version) + + r = send_raw_request(cmd.cli_ctx, "PUT", request_url, body=json.dumps(dapr_component_envelope)) + + if no_wait: + return r.json() + elif r.status_code == 201: + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}/daprComponents/{}?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + environment_name, + name, + api_version) + return poll(cmd, request_url, "inprogress") + + return r.json() + + @classmethod + def delete(cls, cmd, resource_group_name, environment_name, name, no_wait=False): + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + api_version = PREVIEW_API_VERSION + sub_id = get_subscription_id(cmd.cli_ctx) + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}/daprComponents/{}?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + environment_name, + name, + api_version) + + r = send_raw_request(cmd.cli_ctx, "DELETE", request_url) + + if no_wait: + return # API doesn't return JSON (it returns no content) + elif r.status_code in [200, 201, 202, 204]: + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}/daprComponents/{}?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + environment_name, + name, + api_version) + + if r.status_code == 202: + from azure.cli.core.azclierror import ResourceNotFoundError + try: + poll(cmd, request_url, "cancelled") + except ResourceNotFoundError: + pass + logger.warning('Dapr component successfully deleted') + return + + @classmethod + def show(cls, cmd, resource_group_name, environment_name, name): + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + api_version = PREVIEW_API_VERSION + sub_id = get_subscription_id(cmd.cli_ctx) + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}/daprComponents/{}?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + environment_name, + name, + api_version) + + r = send_raw_request(cmd.cli_ctx, "GET", request_url) + return r.json() + + @classmethod + def list(cls, cmd, resource_group_name, environment_name, formatter=lambda x: x): + app_list = [] + + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + api_version = PREVIEW_API_VERSION + sub_id = get_subscription_id(cmd.cli_ctx) + request_url = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}/daprComponents?api-version={}".format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + environment_name, + api_version) + + r = send_raw_request(cmd.cli_ctx, "GET", request_url) + j = r.json() + for app in j["value"]: + formatted = formatter(app) + app_list.append(formatted) + + while j.get("nextLink") is not None: + request_url = j["nextLink"] + r = send_raw_request(cmd.cli_ctx, "GET", request_url) + j = r.json() + for app in j["value"]: + formatted = formatter(app) + app_list.append(formatted) + + return app_list diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_constants.py b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_constants.py new file mode 100644 index 00000000000..d6852056fce --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_constants.py @@ -0,0 +1,10 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +MAXIMUM_SECRET_LENGTH = 20 +MAXIMUM_CONTAINER_APP_NAME_LENGTH = 40 + +SHORT_POLLING_INTERVAL_SECS = 3 +LONG_POLLING_INTERVAL_SECS = 10 diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_github_oauth.py b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_github_oauth.py new file mode 100644 index 00000000000..96144b2d929 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_github_oauth.py @@ -0,0 +1,92 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- +# pylint: disable=consider-using-f-string + +from azure.cli.core.util import open_page_in_browser +from azure.cli.core.azclierror import (ValidationError, CLIInternalError, UnclassifiedUserFault) +from knack.log import get_logger + +logger = get_logger(__name__) + + +''' +Get Github personal access token following Github oauth for command line tools +https://docs.github.com/en/developers/apps/authorizing-oauth-apps#device-flow +''' + + +GITHUB_OAUTH_CLIENT_ID = "8d8e1f6000648c575489" +GITHUB_OAUTH_SCOPES = [ + "admin:repo_hook", + "repo", + "workflow" +] + + +def get_github_access_token(cmd, scope_list=None, token=None): # pylint: disable=unused-argument + if token: + return token + if scope_list: + for scope in scope_list: + if scope not in GITHUB_OAUTH_SCOPES: + raise ValidationError("Requested github oauth scope is invalid") + scope_list = ' '.join(scope_list) + + authorize_url = 'https://github.com/login/device/code' + authorize_url_data = { + 'scope': scope_list, + 'client_id': GITHUB_OAUTH_CLIENT_ID + } + + import requests + import time + from urllib.parse import parse_qs + + try: + response = requests.post(authorize_url, data=authorize_url_data) + parsed_response = parse_qs(response.content.decode('ascii')) + + device_code = parsed_response['device_code'][0] + user_code = parsed_response['user_code'][0] + verification_uri = parsed_response['verification_uri'][0] + interval = int(parsed_response['interval'][0]) + expires_in_seconds = int(parsed_response['expires_in'][0]) + logger.warning('Please navigate to %s and enter the user code %s to activate and ' + 'retrieve your github personal access token', verification_uri, user_code) + open_page_in_browser("https://github.com/login/device") + + timeout = time.time() + expires_in_seconds + logger.warning("Waiting up to '%s' minutes for activation", str(expires_in_seconds // 60)) + + confirmation_url = 'https://github.com/login/oauth/access_token' + confirmation_url_data = { + 'client_id': GITHUB_OAUTH_CLIENT_ID, + 'device_code': device_code, + 'grant_type': 'urn:ietf:params:oauth:grant-type:device_code' + } + + pending = True + while pending: + time.sleep(interval) + + if time.time() > timeout: + raise UnclassifiedUserFault('Activation did not happen in time. Please try again') + + confirmation_response = requests.post(confirmation_url, data=confirmation_url_data) + parsed_confirmation_response = parse_qs(confirmation_response.content.decode('ascii')) + + if 'error' in parsed_confirmation_response and parsed_confirmation_response['error'][0]: + if parsed_confirmation_response['error'][0] == 'slow_down': + interval += 5 # if slow_down error is received, 5 seconds is added to minimum polling interval + elif parsed_confirmation_response['error'][0] != 'authorization_pending': + pending = False + + if 'access_token' in parsed_confirmation_response and parsed_confirmation_response['access_token'][0]: + return parsed_confirmation_response['access_token'][0] + except Exception as e: + raise CLIInternalError( + 'Error: {}. Please try again, or retrieve personal access token from the Github website'.format(e)) from e + + raise UnclassifiedUserFault('Activation did not happen in time. Please try again') diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_help.py b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_help.py new file mode 100644 index 00000000000..ab4cde705eb --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_help.py @@ -0,0 +1,642 @@ +# coding=utf-8 +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from knack.help_files import helps # pylint: disable=unused-import + + +helps['containerapp'] = """ + type: group + short-summary: Manage Azure Container Apps. +""" + +helps['containerapp create'] = """ + type: command + short-summary: Create a container app. + examples: + - name: Create a container app and retrieve its fully qualified domain name. + text: | + az containerapp create -n MyContainerapp -g MyResourceGroup \\ + --image myregistry.azurecr.io/my-app:v1.0 --environment MyContainerappEnv \\ + --ingress external --target-port 80 \\ + --registry-server myregistry.azurecr.io --registry-username myregistry --registry-password $REGISTRY_PASSWORD \\ + --query properties.configuration.ingress.fqdn + - name: Create a container app with resource requirements and replica count limits. + text: | + az containerapp create -n MyContainerapp -g MyResourceGroup \\ + --image nginx --environment MyContainerappEnv \\ + --cpu 0.5 --memory 1.0Gi \\ + --min-replicas 4 --max-replicas 8 + - name: Create a container app with secrets and environment variables. + text: | + az containerapp create -n MyContainerapp -g MyResourceGroup \\ + --image my-app:v1.0 --environment MyContainerappEnv \\ + --secrets mysecret=secretvalue1 anothersecret="secret value 2" \\ + --env-vars GREETING="Hello, world" SECRETENV=secretref:anothersecret + - name: Create a container app using a YAML configuration. Example YAML configuration - https://aka.ms/azure-container-apps-yaml + text: | + az containerapp create -n MyContainerapp -g MyResourceGroup \\ + --environment MyContainerappEnv \\ + --yaml "path/to/yaml/file.yml" +""" + +helps['containerapp update'] = """ + type: command + short-summary: Update a container app. In multiple revisions mode, create a new revision based on the latest revision. + examples: + - name: Update a container app's container image. + text: | + az containerapp update -n MyContainerapp -g MyResourceGroup \\ + --image myregistry.azurecr.io/my-app:v2.0 + - name: Update a container app's resource requirements and scale limits. + text: | + az containerapp update -n MyContainerapp -g MyResourceGroup \\ + --cpu 0.5 --memory 1.0Gi \\ + --min-replicas 4 --max-replicas 8 +""" + +helps['containerapp delete'] = """ + type: command + short-summary: Delete a container app. + examples: + - name: Delete a container app. + text: az containerapp delete -g MyResourceGroup -n MyContainerapp +""" + +helps['containerapp show'] = """ + type: command + short-summary: Show details of a container app. + examples: + - name: Show the details of a container app. + text: | + az containerapp show -n MyContainerapp -g MyResourceGroup +""" + +helps['containerapp list'] = """ + type: command + short-summary: List container apps. + examples: + - name: List container apps in the current subscription. + text: | + az containerapp list + - name: List container apps by resource group. + text: | + az containerapp list -g MyResourceGroup +""" + +helps['containerapp exec'] = """ + type: command + short-summary: Open an SSH-like interactive shell within a container app replica + examples: + - name: exec into a container app + text: | + az containerapp exec -n MyContainerapp -g MyResourceGroup + - name: exec into a particular container app replica and revision + text: | + az containerapp exec -n MyContainerapp -g MyResourceGroup --replica MyReplica --revision MyRevision + - name: open a bash shell in a containerapp + text: | + az containerapp exec -n MyContainerapp -g MyResourceGroup --command bash +""" + +helps['containerapp browse'] = """ + type: command + short-summary: Open a containerapp in the browser, if possible + examples: + - name: open a containerapp in the browser + text: | + az containerapp browse -n MyContainerapp -g MyResourceGroup +""" + +helps['containerapp up'] = """ + type: command + short-summary: Create or update a container app as well as any associated resources (ACR, resource group, container apps environment, Github Actions, etc.) + examples: + - name: Create a container app from a dockerfile in a Github repo (setting up github actions) + text: | + az containerapp up -n MyContainerapp --repo https://github.com/myAccount/myRepo + - name: Create a container app from a dockerfile in a local directory + text: | + az containerapp up -n MyContainerapp --source . + - name: Create a container app from an image in a registry + text: | + az containerapp up -n MyContainerapp --image myregistry.azurecr.io/myImage:myTag + - name: Create a container app from an image in a registry with ingress enabled and a specified environment + text: | + az containerapp up -n MyContainerapp --image myregistry.azurecr.io/myImage:myTag --ingress external --target-port 80 --environment MyEnv +""" + +helps['containerapp logs'] = """ + type: group + short-summary: Show container app logs +""" + +helps['containerapp logs show'] = """ + type: command + short-summary: Show past logs and/or print logs in real time (with the --follow parameter). Note that the logs are only taken from one revision, replica, and container. + examples: + - name: Fetch the past 20 lines of logs from an app and return + text: | + az containerapp logs show -n MyContainerapp -g MyResourceGroup + - name: Fetch 30 lines of past logs logs from an app and print logs as they come in + text: | + az containerapp logs show -n MyContainerapp -g MyResourceGroup --follow --tail 30 + - name: Fetch logs for a particular revision, replica, and container + text: | + az containerapp logs show -n MyContainerapp -g MyResourceGroup --replica MyReplica --revision MyRevision --container MyContainer +""" + +# Replica Commands +helps['containerapp replica'] = """ + type: group + short-summary: Manage container app replicas +""" + +helps['containerapp replica list'] = """ + type: command + short-summary: List a container app revision's replica + examples: + - name: List a container app's replicas in the latest revision + text: | + az containerapp replica list -n MyContainerapp -g MyResourceGroup + - name: List a container app's replicas in a particular revision + text: | + az containerapp replica list -n MyContainerapp -g MyResourceGroup --revision MyRevision +""" + +helps['containerapp replica show'] = """ + type: command + short-summary: Show a container app replica + examples: + - name: Show a replica from the latest revision + text: | + az containerapp replica show -n MyContainerapp -g MyResourceGroup --replica MyReplica + - name: Show a replica from the a particular revision + text: | + az containerapp replica show -n MyContainerapp -g MyResourceGroup --replica MyReplica --revision MyRevision +""" + +# Revision Commands +helps['containerapp revision'] = """ + type: group + short-summary: Commands to manage revisions. +""" + +helps['containerapp revision show'] = """ + type: command + short-summary: Show details of a revision. + examples: + - name: Show details of a revision. + text: | + az containerapp revision show -n MyContainerapp -g MyResourceGroup \\ + --revision MyContainerappRevision +""" + +helps['containerapp revision list'] = """ + type: command + short-summary: List a container app's revisions. + examples: + - name: List a container app's revisions. + text: | + az containerapp revision list -n MyContainerapp -g MyResourceGroup +""" + +helps['containerapp revision restart'] = """ + type: command + short-summary: Restart a revision. + examples: + - name: Restart a revision. + text: | + az containerapp revision restart -n MyContainerapp -g MyResourceGroup --revision MyContainerappRevision +""" + +helps['containerapp revision activate'] = """ + type: command + short-summary: Activate a revision. + examples: + - name: Activate a revision. + text: | + az containerapp revision activate -g MyResourceGroup --revision MyContainerappRevision +""" + +helps['containerapp revision deactivate'] = """ + type: command + short-summary: Deactivate a revision. + examples: + - name: Deactivate a revision. + text: | + az containerapp revision deactivate -g MyResourceGroup --revision MyContainerappRevision +""" + +helps['containerapp revision set-mode'] = """ + type: command + short-summary: Set the revision mode of a container app. + examples: + - name: Set a container app to single revision mode. + text: | + az containerapp revision set-mode -n MyContainerapp -g MyResourceGroup --mode Single +""" + +helps['containerapp revision copy'] = """ + type: command + short-summary: Create a revision based on a previous revision. + examples: + - name: Create a revision based on the latest revision. + text: | + az containerapp revision copy -n MyContainerapp -g MyResourceGroup \\ + --cpu 0.75 --memory 1.5Gi + - name: Create a revision based on a previous revision. + text: | + az containerapp revision copy -g MyResourceGroup \\ + --from-revision PreviousRevisionName --cpu 0.75 --memory 1.5Gi + +""" + +helps['containerapp revision copy'] = """ + type: command + short-summary: Create a revision based on a previous revision. + examples: + - name: Create a revision based on a previous revision. + text: | + az containerapp revision copy -n MyContainerapp -g MyResourceGroup --cpu 0.75 --memory 1.5Gi +""" + +# Environment Commands +helps['containerapp env'] = """ + type: group + short-summary: Commands to manage Container Apps environments. +""" + +helps['containerapp env create'] = """ + type: command + short-summary: Create a Container Apps environment. + examples: + - name: Create an environment with an auto-generated Log Analytics workspace. + text: | + az containerapp env create -n MyContainerappEnvironment -g MyResourceGroup \\ + --location eastus2 + - name: Create an environment with an existing Log Analytics workspace. + text: | + az containerapp env create -n MyContainerappEnvironment -g MyResourceGroup \\ + --logs-workspace-id myLogsWorkspaceID \\ + --logs-workspace-key myLogsWorkspaceKey \\ + --location eastus2 +""" + + +helps['containerapp env delete'] = """ + type: command + short-summary: Delete a Container Apps environment. + examples: + - name: Delete an environment. + text: az containerapp env delete -n MyContainerappEnvironment -g MyResourceGroup +""" + +helps['containerapp env show'] = """ + type: command + short-summary: Show details of a Container Apps environment. + examples: + - name: Show the details of an environment. + text: | + az containerapp env show -n MyContainerappEnvironment -g MyResourceGroup +""" + +helps['containerapp env list'] = """ + type: command + short-summary: List Container Apps environments by subscription or resource group. + examples: + - name: List environments in the current subscription. + text: | + az containerapp env list + - name: List environments by resource group. + text: | + az containerapp env list -g MyResourceGroup +""" + +helps['containerapp env dapr-component'] = """ + type: group + short-summary: Commands to manage Dapr components for the Container Apps environment. +""" + +helps['containerapp env dapr-component list'] = """ + type: command + short-summary: List Dapr components for an environment. + examples: + - name: List Dapr components for an environment. + text: | + az containerapp env dapr-component list -g MyResourceGroup --name MyEnvironment +""" + +helps['containerapp env dapr-component show'] = """ + type: command + short-summary: Show the details of a Dapr component. + examples: + - name: Show the details of a Dapr component. + text: | + az containerapp env dapr-component show -g MyResourceGroup --dapr-component-name MyDaprComponentName --name MyEnvironment +""" + +helps['containerapp env dapr-component set'] = """ + type: command + short-summary: Create or update a Dapr component. + examples: + - name: Create a Dapr component. + text: | + az containerapp env dapr-component set -g MyResourceGroup --name MyEnv --yaml MyYAMLPath --dapr-component-name MyDaprComponentName +""" + +helps['containerapp env dapr-component remove'] = """ + type: command + short-summary: Remove a Dapr component from an environment. + examples: + - name: Remove a Dapr component from a Container Apps environment. + text: | + az containerapp env dapr-component remove -g MyResourceGroup --dapr-component-name MyDaprComponentName --name MyEnvironment +""" + +# Identity Commands +helps['containerapp identity'] = """ + type: group + short-summary: Commands to manage managed identities. +""" + +helps['containerapp identity assign'] = """ + type: command + short-summary: Assign managed identity to a container app. + long-summary: Managed identities can be user-assigned or system-assigned. + examples: + - name: Assign system identity. + text: | + az containerapp identity assign -n myContainerapp -g MyResourceGroup --system-assigned + - name: Assign user identity. + text: | + az containerapp identity assign -n myContainerapp -g MyResourceGroup --user-assigned myUserIdentityName + - name: Assign user identity (from a different resource group than the containerapp). + text: | + az containerapp identity assign -n myContainerapp -g MyResourceGroup --user-assigned myUserIdentityResourceId + - name: Assign system and user identity. + text: | + az containerapp identity assign -n myContainerapp -g MyResourceGroup --system-assigned --user-assigned myUserIdentityResourceId +""" + +helps['containerapp identity remove'] = """ + type: command + short-summary: Remove a managed identity from a container app. + examples: + - name: Remove system identity. + text: | + az containerapp identity remove -n myContainerapp -g MyResourceGroup --system-assigned + - name: Remove user identity. + text: | + az containerapp identity remove -n myContainerapp -g MyResourceGroup --user-assigned myUserIdentityName + - name: Remove system and user identity (from a different resource group than the containerapp). + text: | + az containerapp identity remove -n myContainerapp -g MyResourceGroup --system-assigned --user-assigned myUserIdentityResourceId + - name: Remove all user identities. + text: | + az containerapp identity remove -n myContainerapp -g MyResourceGroup --user-assigned + - name: Remove system identity and all user identities. + text: | + az containerapp identity remove -n myContainerapp -g MyResourceGroup --system-assigned --user-assigned +""" + +helps['containerapp identity show'] = """ + type: command + short-summary: Show managed identities of a container app. + examples: + - name: Show managed identities. + text: | + az containerapp identity show -n myContainerapp -g MyResourceGroup +""" + +# Ingress Commands +helps['containerapp ingress'] = """ + type: group + short-summary: Commands to manage ingress and traffic-splitting. +""" + +helps['containerapp ingress traffic'] = """ + type: subgroup + short-summary: Commands to manage traffic-splitting. +""" + +helps['containerapp ingress show'] = """ + type: command + short-summary: Show details of a container app's ingress. + examples: + - name: Show the details of a container app's ingress. + text: | + az containerapp ingress show -n MyContainerapp -g MyResourceGroup +""" + +helps['containerapp ingress enable'] = """ + type: command + short-summary: Enable ingress for a container app. + examples: + - name: Enable ingress for a container app. + text: | + az containerapp ingress enable -n MyContainerapp -g MyResourceGroup \\ + --type external --allow-insecure --target-port 80 --transport auto +""" + +helps['containerapp ingress disable'] = """ + type: command + short-summary: Disable ingress for a container app. + examples: + - name: Disable ingress for a container app. + text: | + az containerapp ingress disable -n MyContainerapp -g MyResourceGroup +""" + +helps['containerapp ingress traffic'] = """ + type: group + short-summary: Commands to manage traffic-splitting. +""" + +helps['containerapp ingress traffic set'] = """ + type: command + short-summary: Configure traffic-splitting for a container app. + examples: + - name: Route 100%% of a container app's traffic to its latest revision. + text: | + az containerapp ingress traffic set -n MyContainerapp -g MyResourceGroup --traffic-weight latest=100 + - name: Split a container app's traffic between two revisions. + text: | + az containerapp ingress traffic set -n MyContainerapp -g MyResourceGroup --traffic-weight latest=80 MyRevisionName=20 +""" + +helps['containerapp ingress traffic show'] = """ + type: command + short-summary: Show traffic-splitting configuration for a container app. + examples: + - name: Show a container app's ingress traffic configuration. + text: | + az containerapp ingress traffic show -n MyContainerapp -g MyResourceGroup +""" + +# Registry Commands +helps['containerapp registry'] = """ + type: group + short-summary: Commands to manage container registry information. +""" + +helps['containerapp registry show'] = """ + type: command + short-summary: Show details of a container registry. + examples: + - name: Show the details of a container registry. + text: | + az containerapp registry show -n MyContainerapp -g MyResourceGroup --server MyContainerappRegistry.azurecr.io +""" + +helps['containerapp registry list'] = """ + type: command + short-summary: List container registries configured in a container app. + examples: + - name: List container registries configured in a container app. + text: | + az containerapp registry list -n MyContainerapp -g MyResourceGroup +""" + +helps['containerapp registry set'] = """ + type: command + short-summary: Add or update a container registry's details. + examples: + - name: Configure a container app to use a registry. + text: | + az containerapp registry set -n MyContainerapp -g MyResourceGroup \\ + --server MyExistingContainerappRegistry.azurecr.io --username MyRegistryUsername --password MyRegistryPassword +""" + +helps['containerapp registry remove'] = """ + type: command + short-summary: Remove a container registry's details. + examples: + - name: Remove a registry from a Containerapp. + text: | + az containerapp registry remove -n MyContainerapp -g MyResourceGroup --server MyContainerappRegistry.azurecr.io +""" + +# Secret Commands +helps['containerapp secret'] = """ + type: group + short-summary: Commands to manage secrets. +""" + +helps['containerapp secret show'] = """ + type: command + short-summary: Show details of a secret. + examples: + - name: Show the details of a secret. + text: | + az containerapp secret show -n MyContainerapp -g MyResourceGroup --secret-name MySecret +""" + +helps['containerapp secret list'] = """ + type: command + short-summary: List the secrets of a container app. + examples: + - name: List the secrets of a container app. + text: | + az containerapp secret list -n MyContainerapp -g MyResourceGroup +""" + +helps['containerapp secret remove'] = """ + type: command + short-summary: Remove secrets from a container app. + examples: + - name: Remove secrets from a container app. + text: | + az containerapp secret remove -n MyContainerapp -g MyResourceGroup --secret-names MySecret MySecret2 +""" + +helps['containerapp secret set'] = """ + type: command + short-summary: Create/update secrets. + examples: + - name: Add secrets to a container app. + text: | + az containerapp secret set -n MyContainerapp -g MyResourceGroup --secrets MySecretName1=MySecretValue1 MySecretName2=MySecretValue2 + - name: Update a secret. + text: | + az containerapp secret set -n MyContainerapp -g MyResourceGroup --secrets MyExistingSecretName=MyNewSecretValue +""" + +helps['containerapp github-action'] = """ + type: group + short-summary: Commands to manage GitHub Actions. +""" + +helps['containerapp github-action add'] = """ + type: command + short-summary: Add a Github Actions workflow to a repository to deploy a container app. + examples: + - name: Add GitHub Actions, using Azure Container Registry and personal access token. + text: az containerapp github-action add -g MyResourceGroup -n MyContainerapp --repo-url https://github.com/userid/repo --branch main + --registry-url myregistryurl.azurecr.io + --service-principal-client-id 00000000-0000-0000-0000-00000000 + --service-principal-tenant-id 00000000-0000-0000-0000-00000000 + --service-principal-client-secret ClientSecret + --token MyAccessToken + - name: Add GitHub Actions, using Azure Container Registry and log in to GitHub flow to retrieve personal access token. + text: az containerapp github-action add -g MyResourceGroup -n MyContainerapp --repo-url https://github.com/userid/repo --branch main + --registry-url myregistryurl.azurecr.io + --service-principal-client-id 00000000-0000-0000-0000-00000000 + --service-principal-tenant-id 00000000-0000-0000-0000-00000000 + --service-principal-client-secret ClientSecret + --login-with-github + - name: Add GitHub Actions, using Docker Hub and log in to GitHub flow to retrieve personal access token. + text: az containerapp github-action add -g MyResourceGroup -n MyContainerapp --repo-url https://github.com/userid/repo --branch main + --registry-username MyUsername + --registry-password MyPassword + --service-principal-client-id 00000000-0000-0000-0000-00000000 + --service-principal-tenant-id 00000000-0000-0000-0000-00000000 + --service-principal-client-secret ClientSecret + --login-with-github +""" + +helps['containerapp github-action delete'] = """ + type: command + short-summary: Remove a previously configured Container Apps GitHub Actions workflow from a repository. + examples: + - name: Remove GitHub Actions using a personal access token. + text: az containerapp github-action delete -g MyResourceGroup -n MyContainerapp + --token MyAccessToken + - name: Remove GitHub Actions using log in to GitHub flow to retrieve personal access token. + text: az containerapp github-action delete -g MyResourceGroup -n MyContainerapp + --login-with-github +""" + +helps['containerapp github-action show'] = """ + type: command + short-summary: Show the GitHub Actions configuration on a container app. + examples: + - name: Show the GitHub Actions configuration on a Containerapp. + text: az containerapp github-action show -g MyResourceGroup -n MyContainerapp +""" + +# Dapr Commands +helps['containerapp dapr'] = """ + type: group + short-summary: Commands to manage Dapr. To manage Dapr components, see `az containerapp env dapr-component`. +""" + +helps['containerapp dapr enable'] = """ + type: command + short-summary: Enable Dapr for a container app. Updates existing values. + examples: + - name: Enable Dapr for a container app. + text: | + az containerapp dapr enable -n MyContainerapp -g MyResourceGroup --dapr-app-id my-app-id --dapr-app-port 8080 +""" + +helps['containerapp dapr disable'] = """ + type: command + short-summary: Disable Dapr for a container app. Removes existing values. + examples: + - name: Disable Dapr for a container app. + text: | + az containerapp dapr disable -n MyContainerapp -g MyResourceGroup +""" diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_models.py b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_models.py new file mode 100644 index 00000000000..6a474f89267 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_models.py @@ -0,0 +1,233 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +# pylint: disable=line-too-long, too-many-statements, super-with-arguments + +VnetConfiguration = { + "infrastructureSubnetId": None, + "runtimeSubnetId": None, + "dockerBridgeCidr": None, + "platformReservedCidr": None, + "platformReservedDnsIP": None +} + +ManagedEnvironment = { + "location": None, + "tags": None, + "properties": { + "daprAIInstrumentationKey": None, + "vnetConfiguration": None, # VnetConfiguration + "internalLoadBalancerEnabled": None, + "appLogsConfiguration": None + } +} + +AppLogsConfiguration = { + "destination": None, + "logAnalyticsConfiguration": None +} + +LogAnalyticsConfiguration = { + "customerId": None, + "sharedKey": None +} + +# Containerapp + +Dapr = { + "enabled": False, + "appId": None, + "appProtocol": None, + "appPort": None +} + +EnvironmentVar = { + "name": None, + "value": None, + "secretRef": None +} + +ContainerResources = { + "cpu": None, + "memory": None +} + +VolumeMount = { + "volumeName": None, + "mountPath": None +} + +Container = { + "image": None, + "name": None, + "command": None, + "args": None, + "env": None, # [EnvironmentVar] + "resources": None, # ContainerResources + "volumeMounts": None, # [VolumeMount] +} + +Volume = { + "name": None, + "storageType": "EmptyDir", # AzureFile or EmptyDir + "storageName": None # None for EmptyDir, otherwise name of storage resource +} + +ScaleRuleAuth = { + "secretRef": None, + "triggerParameter": None +} + +QueueScaleRule = { + "queueName": None, + "queueLength": None, + "auth": None # ScaleRuleAuth +} + +CustomScaleRule = { + "type": None, + "metadata": {}, + "auth": None # ScaleRuleAuth +} + +HttpScaleRule = { + "metadata": {}, + "auth": None # ScaleRuleAuth +} + +ScaleRule = { + "name": None, + "azureQueue": None, # QueueScaleRule + "customScaleRule": None, # CustomScaleRule + "httpScaleRule": None, # HttpScaleRule +} + +Secret = { + "name": None, + "value": None +} + +Scale = { + "minReplicas": None, + "maxReplicas": None, + "rules": [] # list of ScaleRule +} + +TrafficWeight = { + "revisionName": None, + "weight": None, + "latestRevision": False +} + +BindingType = { + +} + +CustomDomain = { + "name": None, + "bindingType": None, # BindingType + "certificateId": None +} + +Ingress = { + "fqdn": None, + "external": False, + "targetPort": None, + "transport": None, # 'auto', 'http', 'http2' + "traffic": None, # TrafficWeight + "customDomains": None # [CustomDomain] +} + +RegistryCredentials = { + "server": None, + "username": None, + "passwordSecretRef": None +} + +Template = { + "revisionSuffix": None, + "containers": None, # [Container] + "scale": Scale, + "volumes": None # [Volume] +} + +Configuration = { + "secrets": None, # [Secret] + "activeRevisionsMode": None, # 'multiple' or 'single' + "ingress": None, # Ingress + "dapr": Dapr, + "registries": None # [RegistryCredentials] +} + +UserAssignedIdentity = { + +} + +ManagedServiceIdentity = { + "type": None, # 'None', 'SystemAssigned', 'UserAssigned', 'SystemAssigned,UserAssigned' + "userAssignedIdentities": None # {string: UserAssignedIdentity} +} + +ContainerApp = { + "location": None, + "identity": None, # ManagedServiceIdentity + "properties": { + "managedEnvironmentId": None, + "configuration": None, # Configuration + "template": None # Template + }, + "tags": None +} + +DaprComponent = { + "properties": { + "componentType": None, # String + "version": None, + "ignoreErrors": None, + "initTimeout": None, + "secrets": None, + "metadata": None, + "scopes": None + } +} + +DaprMetadata = { + "key": None, # str + "value": None, # str + "secret_ref": None # str +} + +SourceControl = { + "properties": { + "repoUrl": None, + "branch": None, + "githubActionConfiguration": None # [GitHubActionConfiguration] + } + +} + +GitHubActionConfiguration = { + "registryInfo": None, # [RegistryInfo] + "azureCredentials": None, # [AzureCredentials] + "image": None, # str + "contextPath": None, # str + "publishType": None, # str + "os": None, # str + "runtimeStack": None, # str + "runtimeVersion": None # str +} + +RegistryInfo = { + "registryUrl": None, # str + "registryUserName": None, # str + "registryPassword": None # str +} + +AzureCredentials = { + "clientId": None, # str + "clientSecret": None, # str + "tenantId": None, # str + "subscriptionId": None # str +} diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_params.py b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_params.py new file mode 100644 index 00000000000..fa33873602f --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_params.py @@ -0,0 +1,243 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- +# pylint: disable=line-too-long, too-many-statements, consider-using-f-string + +from knack.arguments import CLIArgumentType + +from azure.cli.core.commands.parameters import (resource_group_name_type, get_location_type, + file_type, + get_three_state_flag, get_enum_type, tags_type) +# from azure.cli.core.commands.validators import get_default_location_from_resource_group + +from ._validators import (validate_memory, validate_cpu, validate_managed_env_name_or_id, validate_registry_server, + validate_registry_user, validate_registry_pass, validate_target_port, validate_ingress) + + +def load_arguments(self, _): + + name_type = CLIArgumentType(options_list=['--name', '-n']) + + with self.argument_context('containerapp') as c: + # Base arguments + c.argument('name', name_type, metavar='NAME', id_part='name', help="The name of the Containerapp.") + c.argument('resource_group_name', arg_type=resource_group_name_type) + c.argument('location', arg_type=get_location_type(self.cli_ctx)) + c.ignore('disable_warnings') + + with self.argument_context('containerapp') as c: + c.argument('tags', arg_type=tags_type) + c.argument('managed_env', validator=validate_managed_env_name_or_id, options_list=['--environment'], help="Name or resource ID of the container app's environment.") + c.argument('yaml', type=file_type, help='Path to a .yaml file with the configuration of a container app. All other parameters will be ignored. For an example, see https://docs.microsoft.com/azure/container-apps/azure-resource-manager-api-spec#examples') + + with self.argument_context('containerapp exec') as c: + c.argument('container', help="The name of the container to ssh into") + c.argument('replica', help="The name of the replica to ssh into. List replicas with 'az containerapp replica list'. A replica may not exist if there is not traffic to your app.") + c.argument('revision', help="The name of the container app revision to ssh into. Defaults to the latest revision.") + c.argument('startup_command', options_list=["--command"], help="The startup command (bash, zsh, sh, etc.).") + c.argument('name', name_type, id_part=None, help="The name of the Containerapp.") + c.argument('resource_group_name', arg_type=resource_group_name_type, id_part=None) + + with self.argument_context('containerapp logs show') as c: + c.argument('follow', help="Print logs in real time if present.", arg_type=get_three_state_flag()) + c.argument('tail', help="The number of past logs to print (0-300)", type=int, default=20) + c.argument('container', help="The name of the container") + c.argument('output_format', options_list=["--format"], help="Log output format", arg_type=get_enum_type(["json", "text"]), default="json") + c.argument('replica', help="The name of the replica. List replicas with 'az containerapp replica list'. A replica may not exist if there is not traffic to your app.") + c.argument('revision', help="The name of the container app revision. Defaults to the latest revision.") + c.argument('name', name_type, id_part=None, help="The name of the Containerapp.") + c.argument('resource_group_name', arg_type=resource_group_name_type, id_part=None) + + # Replica + with self.argument_context('containerapp replica') as c: + c.argument('replica', help="The name of the replica. ") + c.argument('revision', help="The name of the container app revision. Defaults to the latest revision.") + c.argument('name', name_type, id_part=None, help="The name of the Containerapp.") + c.argument('resource_group_name', arg_type=resource_group_name_type, id_part=None) + + # Container + with self.argument_context('containerapp', arg_group='Container') as c: + c.argument('container_name', help="Name of the container.") + c.argument('cpu', type=float, validator=validate_cpu, help="Required CPU in cores from 0.25 - 2.0, e.g. 0.5") + c.argument('memory', validator=validate_memory, help="Required memory from 0.5 - 4.0 ending with \"Gi\", e.g. 1.0Gi") + c.argument('env_vars', nargs='*', help="A list of environment variable(s) for the container. Space-separated values in 'key=value' format. Empty string to clear existing values. Prefix value with 'secretref:' to reference a secret.") + c.argument('startup_command', nargs='*', options_list=['--command'], help="A list of supported commands on the container that will executed during startup. Space-separated values e.g. \"/bin/queue\" \"mycommand\". Empty string to clear existing values") + c.argument('args', nargs='*', help="A list of container startup command argument(s). Space-separated values e.g. \"-c\" \"mycommand\". Empty string to clear existing values") + c.argument('revision_suffix', help='User friendly suffix that is appended to the revision name') + + # Env vars + with self.argument_context('containerapp', arg_group='Environment variables') as c: + c.argument('set_env_vars', nargs='*', help="Add or update environment variable(s) in container. Existing environmentenvironment variables are not modified. Space-separated values in 'key=value' format. If stored as a secret, value must start with 'secretref:' followed by the secret name.") + c.argument('remove_env_vars', nargs='*', help="Remove environment variable(s) from container. Space-separated environment variable names.") + c.argument('replace_env_vars', nargs='*', help="Replace environment variable(s) in container. Other existing environment variables are removed. Space-separated values in 'key=value' format. If stored as a secret, value must start with 'secretref:' followed by the secret name.") + c.argument('remove_all_env_vars', help="Remove all environment variable(s) from container..") + + # Scale + with self.argument_context('containerapp', arg_group='Scale') as c: + c.argument('min_replicas', type=int, help="The minimum number of replicas.") + c.argument('max_replicas', type=int, help="The maximum number of replicas.") + + # Dapr + with self.argument_context('containerapp', arg_group='Dapr') as c: + c.argument('dapr_enabled', options_list=['--enable-dapr'], default=False, arg_type=get_three_state_flag(), help="Boolean indicating if the Dapr side car is enabled.") + c.argument('dapr_app_port', type=int, help="The port Dapr uses to talk to the application.") + c.argument('dapr_app_id', help="The Dapr application identifier.") + c.argument('dapr_app_protocol', arg_type=get_enum_type(['http', 'grpc']), help="The protocol Dapr uses to talk to the application.") + + # Configuration + with self.argument_context('containerapp', arg_group='Configuration') as c: + c.argument('revisions_mode', arg_type=get_enum_type(['single', 'multiple']), help="The active revisions mode for the container app.") + c.argument('registry_server', validator=validate_registry_server, help="The container registry server hostname, e.g. myregistry.azurecr.io.") + c.argument('registry_pass', validator=validate_registry_pass, options_list=['--registry-password'], help="The password to log in to container registry. If stored as a secret, value must start with \'secretref:\' followed by the secret name.") + c.argument('registry_user', validator=validate_registry_user, options_list=['--registry-username'], help="The username to log in to container registry.") + c.argument('secrets', nargs='*', options_list=['--secrets', '-s'], help="A list of secret(s) for the container app. Space-separated values in 'key=value' format.") + + # Ingress + with self.argument_context('containerapp', arg_group='Ingress') as c: + c.argument('ingress', validator=validate_ingress, default=None, arg_type=get_enum_type(['internal', 'external']), help="The ingress type.") + c.argument('target_port', type=int, validator=validate_target_port, help="The application port used for ingress traffic.") + c.argument('transport', arg_type=get_enum_type(['auto', 'http', 'http2']), help="The transport protocol used for ingress traffic.") + + with self.argument_context('containerapp create') as c: + c.argument('traffic_weights', nargs='*', options_list=['--traffic-weight'], help="A list of revision weight(s) for the container app. Space-separated values in 'revision_name=weight' format. For latest revision, use 'latest=weight'") + + with self.argument_context('containerapp create', arg_group='Identity') as c: + c.argument('user_assigned', nargs='+', help="Space-separated user identities to be assigned.") + c.argument('system_assigned', help="Boolean indicating whether to assign system-assigned identity.") + + with self.argument_context('containerapp create', arg_group='Container') as c: + c.argument('image', options_list=['--image', '-i'], help="Container image, e.g. publisher/image-name:tag.") + + with self.argument_context('containerapp update', arg_group='Container') as c: + c.argument('image', options_list=['--image', '-i'], help="Container image, e.g. publisher/image-name:tag.") + + with self.argument_context('containerapp scale') as c: + c.argument('min_replicas', type=int, help="The minimum number of replicas.") + c.argument('max_replicas', type=int, help="The maximum number of replicas.") + + with self.argument_context('containerapp env') as c: + c.argument('name', name_type, help='Name of the Container Apps environment.') + c.argument('resource_group_name', arg_type=resource_group_name_type) + c.argument('location', arg_type=get_location_type(self.cli_ctx), help='Location of resource. Examples: eastus2, northeurope') + c.argument('tags', arg_type=tags_type) + + with self.argument_context('containerapp env', arg_group='Log Analytics') as c: + c.argument('logs_customer_id', options_list=['--logs-workspace-id'], help='Name or resource ID of the Log Analytics workspace to send diagnostics logs to. You can use \"az monitor log-analytics workspace create\" to create one. Extra billing may apply.') + c.argument('logs_key', options_list=['--logs-workspace-key'], help='Log Analytics workspace key to configure your Log Analytics workspace. You can use \"az monitor log-analytics workspace get-shared-keys\" to retrieve the key.') + + with self.argument_context('containerapp env', arg_group='Dapr') as c: + c.argument('instrumentation_key', options_list=['--dapr-instrumentation-key'], help='Application Insights instrumentation key used by Dapr to export Service to Service communication telemetry') + + with self.argument_context('containerapp env', arg_group='Virtual Network') as c: + c.argument('infrastructure_subnet_resource_id', options_list=['--infrastructure-subnet-resource-id'], help='Resource ID of a subnet for infrastructure components and user app containers.') + c.argument('app_subnet_resource_id', options_list=['--app-subnet-resource-id'], help='Resource ID of a subnet that Container App containers are injected into. This subnet must be in the same VNET as the subnet defined in infrastructureSubnetResourceId.') + c.argument('docker_bridge_cidr', options_list=['--docker-bridge-cidr'], help='CIDR notation IP range assigned to the Docker bridge. It must not overlap with any Subnet IP ranges or the IP range defined in Platform Reserved CIDR, if defined') + c.argument('platform_reserved_cidr', options_list=['--platform-reserved-cidr'], help='IP range in CIDR notation that can be reserved for environment infrastructure IP addresses. It must not overlap with any other Subnet IP ranges') + c.argument('platform_reserved_dns_ip', options_list=['--platform-reserved-dns-ip'], help='An IP address from the IP range defined by Platform Reserved CIDR that will be reserved for the internal DNS server.') + c.argument('internal_only', arg_type=get_three_state_flag(), options_list=['--internal-only'], help='Boolean indicating the environment only has an internal load balancer. These environments do not have a public static IP resource, therefore must provide infrastructureSubnetResourceId and appSubnetResourceId if enabling this property') + + with self.argument_context('containerapp env update') as c: + c.argument('name', name_type, help='Name of the Container Apps environment.') + c.argument('tags', arg_type=tags_type) + + with self.argument_context('containerapp env delete') as c: + c.argument('name', name_type, help='Name of the Container Apps Environment.') + + with self.argument_context('containerapp env show') as c: + c.argument('name', name_type, help='Name of the Container Apps Environment.') + + with self.argument_context('containerapp identity') as c: + c.argument('user_assigned', nargs='+', help="Space-separated user identities.") + c.argument('system_assigned', help="Boolean indicating whether to assign system-assigned identity.") + + with self.argument_context('containerapp identity remove') as c: + c.argument('user_assigned', nargs='*', help="Space-separated user identities. If no user identities are specified, all user identities will be removed.") + + with self.argument_context('containerapp github-action add') as c: + c.argument('repo_url', help='The GitHub repository to which the workflow file will be added. In the format: https://github.com//') + c.argument('token', help='A Personal Access Token with write access to the specified repository. For more information: https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line') + c.argument('branch', options_list=['--branch', '-b'], help='The branch of the GitHub repo. Defaults to "main" if not specified.') + c.argument('login_with_github', help='Interactively log in with Github to retrieve the Personal Access Token') + c.argument('registry_url', help='The container registry server, e.g. myregistry.azurecr.io') + c.argument('registry_username', help='The username of the registry. If using Azure Container Registry, we will try to infer the credentials if not supplied') + c.argument('registry_password', help='The password of the registry. If using Azure Container Registry, we will try to infer the credentials if not supplied') + c.argument('context_path', help='Path in the repo from which to run the docker build. Defaults to "./"') + c.argument('service_principal_client_id', help='The service principal client ID. ') + c.argument('service_principal_client_secret', help='The service principal client secret.') + c.argument('service_principal_tenant_id', help='The service principal tenant ID.') + c.argument('image', options_list=['--image', '-i'], help="Container image name that the Github Action should use. Defaults to the Container App name.") + + with self.argument_context('containerapp github-action delete') as c: + c.argument('token', help='A Personal Access Token with write access to the specified repository. For more information: https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line') + c.argument('login_with_github', help='Interactively log in with Github to retrieve the Personal Access Token') + + with self.argument_context('containerapp revision') as c: + c.argument('revision_name', options_list=['--revision'], help='Name of the revision.') + + with self.argument_context('containerapp revision copy') as c: + c.argument('from_revision', help='Revision to copy from. Default: latest revision.') + c.argument('image', options_list=['--image', '-i'], help="Container image, e.g. publisher/image-name:tag.") + + with self.argument_context('containerapp ingress') as c: + c.argument('allow_insecure', help='Allow insecure connections for ingress traffic.') + c.argument('type', validator=validate_ingress, arg_type=get_enum_type(['internal', 'external']), help="The ingress type.") + c.argument('transport', arg_type=get_enum_type(['auto', 'http', 'http2']), help="The transport protocol used for ingress traffic.") + c.argument('target_port', type=int, validator=validate_target_port, help="The application port used for ingress traffic.") + + with self.argument_context('containerapp ingress traffic') as c: + c.argument('traffic_weights', nargs='*', options_list=['--traffic-weight'], help="A list of revision weight(s) for the container app. Space-separated values in 'revision_name=weight' format. For latest revision, use 'latest=weight'") + + with self.argument_context('containerapp secret') as c: + c.argument('secrets', nargs='+', options_list=['--secrets', '-s'], help="A list of secret(s) for the container app. Space-separated values in 'key=value' format (where 'key' cannot be longer than 20 characters).") + c.argument('secret_name', help="The name of the secret to show.") + c.argument('secret_names', nargs='+', help="A list of secret(s) for the container app. Space-separated secret values names.") + c.argument('show_values', help='Show the secret values.') + + with self.argument_context('containerapp env dapr-component') as c: + c.argument('dapr_app_id', help="The Dapr app ID.") + c.argument('dapr_app_port', help="The port of your app.") + c.argument('dapr_app_protocol', help="Tell Dapr which protocol your application is using. Allowed values: grpc, http.") + c.argument('dapr_component_name', help="The Dapr component name.") + c.argument('environment_name', options_list=['--name', '-n'], help="The environment name.") + + with self.argument_context('containerapp revision set-mode') as c: + c.argument('mode', arg_type=get_enum_type(['single', 'multiple']), help="The active revisions mode for the container app.") + + with self.argument_context('containerapp registry') as c: + c.argument('server', help="The container registry server, e.g. myregistry.azurecr.io") + c.argument('username', help='The username of the registry. If using Azure Container Registry, we will try to infer the credentials if not supplied') + c.argument('password', help='The password of the registry. If using Azure Container Registry, we will try to infer the credentials if not supplied') + + with self.argument_context('containerapp registry list') as c: + c.argument('name', id_part=None) + + with self.argument_context('containerapp secret list') as c: + c.argument('name', id_part=None) + + with self.argument_context('containerapp revision list') as c: + c.argument('name', id_part=None) + + with self.argument_context('containerapp up') as c: + c.argument('resource_group_name', configured_default='resource_group_name', id_part=None) + c.argument('location', configured_default='location') + c.argument('name', configured_default='name', id_part=None) + c.argument('managed_env', configured_default='managed_env') + c.argument('registry_server', configured_default='registry_server') + c.argument('source', help='Local directory path to upload to Azure container registry.') + c.argument('image', options_list=['--image', '-i'], help="Container image, e.g. publisher/image-name:tag.") + c.argument('browse', help='Open the app in a web browser after creation and deployment, if possible.') + + with self.argument_context('containerapp up', arg_group='Log Analytics (Environment)') as c: + c.argument('logs_customer_id', options_list=['--logs-workspace-id'], help='Name or resource ID of the Log Analytics workspace to send diagnostics logs to. You can use \"az monitor log-analytics workspace create\" to create one. Extra billing may apply.') + c.argument('logs_key', options_list=['--logs-workspace-key'], help='Log Analytics workspace key to configure your Log Analytics workspace. You can use \"az monitor log-analytics workspace get-shared-keys\" to retrieve the key.') + c.ignore('no_wait') + + with self.argument_context('containerapp up', arg_group='Github Repo') as c: + c.argument('repo', help='Create an app via Github Actions. In the format: https://github.com// or /') + c.argument('token', help='A Personal Access Token with write access to the specified repository. For more information: https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line. If missing (and using --repo), a browser page will be opened to authenticate with Github.') + c.argument('branch', options_list=['--branch', '-b'], help='The branch of the GitHub repo. Defaults to "main"') + c.argument('context_path', help='Path in the repo from which to run the docker build. Defaults to "./". Dockerfile is assumed to be named "Dockerfile" and in this directory.') + c.argument('service_principal_client_id', help='The service principal client ID. Used by Github Actions to authenticate with Azure.', options_list=["--service-principal-client-id", "--sp-cid"]) + c.argument('service_principal_client_secret', help='The service principal client secret. Used by Github Actions to authenticate with Azure.', options_list=["--service-principal-client-secret", "--sp-sec"]) + c.argument('service_principal_tenant_id', help='The service principal tenant ID. Used by Github Actions to authenticate with Azure.', options_list=["--service-principal-tenant-id", "--sp-tid"]) diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_sdk_models.py b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_sdk_models.py new file mode 100644 index 00000000000..dd93bfce7c2 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_sdk_models.py @@ -0,0 +1,3396 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- +# pylint: disable=line-too-long, super-with-arguments, too-many-instance-attributes + +from msrest.serialization import Model +from msrest.exceptions import HttpOperationError + + +class AllowedAudiencesValidation(Model): + """The configuration settings of the Allowed Audiences validation flow. + + :param allowed_audiences: The configuration settings of the allowed list + of audiences from which to validate the JWT token. + :type allowed_audiences: list[str] + """ + + _attribute_map = { + 'allowed_audiences': {'key': 'allowedAudiences', 'type': '[str]'}, + } + + def __init__(self, **kwargs): + super(AllowedAudiencesValidation, self).__init__(**kwargs) + self.allowed_audiences = kwargs.get('allowed_audiences', None) + + +class Apple(Model): + """The configuration settings of the Apple provider. + + :param state: Disabled if the Apple provider should not be + enabled despite the set registration; otherwise, Enabled. + Possible values include: 'Enabled', 'Disabled' + :type state: str or ~commondefinitions.models.IdentityProviderState + :param registration: The configuration settings of the Apple registration. + :type registration: ~commondefinitions.models.AppleRegistration + :param login: The configuration settings of the login flow. + :type login: ~commondefinitions.models.LoginScopes + """ + + _attribute_map = { + 'state': {'key': 'state', 'type': 'str'}, + 'registration': {'key': 'registration', 'type': 'AppleRegistration'}, + 'login': {'key': 'login', 'type': 'LoginScopes'}, + } + + def __init__(self, **kwargs): + super(Apple, self).__init__(**kwargs) + self.state = kwargs.get('state', None) + self.registration = kwargs.get('registration', None) + self.login = kwargs.get('login', None) + + +class AppleRegistration(Model): + """The configuration settings of the registration for the Apple provider. + + :param client_id: The Client ID of the app used for login. + :type client_id: str + :param client_secret_ref_name: The app secret ref name that contains the + client secret. + :type client_secret_ref_name: str + """ + + _attribute_map = { + 'client_id': {'key': 'clientId', 'type': 'str'}, + 'client_secret_ref_name': {'key': 'clientSecretRefName', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(AppleRegistration, self).__init__(**kwargs) + self.client_id = kwargs.get('client_id', None) + self.client_secret_ref_name = kwargs.get('client_secret_ref_name', None) + + +class AppLogsConfiguration(Model): + """Configuration of application logs. + + :param destination: Logs destination + :type destination: str + :param log_analytics_configuration: Log Analytics configuration + :type log_analytics_configuration: + ~commondefinitions.models.LogAnalyticsConfiguration + """ + + _attribute_map = { + 'destination': {'key': 'destination', 'type': 'str'}, + 'log_analytics_configuration': {'key': 'logAnalyticsConfiguration', 'type': 'LogAnalyticsConfiguration'}, + } + + def __init__(self, **kwargs): + super(AppLogsConfiguration, self).__init__(**kwargs) + self.destination = kwargs.get('destination', None) + self.log_analytics_configuration = kwargs.get('log_analytics_configuration', None) + + +class AppRegistration(Model): + """The configuration settings of the app registration for providers that have + app ids and app secrets. + + :param app_id: The App ID of the app used for login. + :type app_id: str + :param app_secret_ref_name: The app secret ref name that contains the app + secret. + :type app_secret_ref_name: str + """ + + _attribute_map = { + 'app_id': {'key': 'appId', 'type': 'str'}, + 'app_secret_ref_name': {'key': 'appSecretRefName', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(AppRegistration, self).__init__(**kwargs) + self.app_id = kwargs.get('app_id', None) + self.app_secret_ref_name = kwargs.get('app_secret_ref_name', None) + + +class Resource(Model): + """Resource. + + Common fields that are returned in the response for all Azure Resource + Manager resources. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource. E.g. + "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy + and modifiedBy information. + :vartype system_data: ~commondefinitions.models.SystemData + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + } + + def __init__(self, **kwargs): + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.system_data = None + + +class ProxyResource(Resource): + """Proxy Resource. + + The resource model definition for a Azure Resource Manager proxy resource. + It will not have tags and a location. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource. E.g. + "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy + and modifiedBy information. + :vartype system_data: ~commondefinitions.models.SystemData + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + } + + # def __init__(self, **kwargs): + # super(ProxyResource, self).__init__(**kwargs) + + +class AuthConfig(ProxyResource): + """Configuration settings for the Azure ContainerApp Authentication / + Authorization feature. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource. E.g. + "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy + and modifiedBy information. + :vartype system_data: ~commondefinitions.models.SystemData + :param state: Enabled if the Authentication / Authorization + feature is enabled for the current app; otherwise, Disabled. + Possible values include: 'Enabled', 'Disabled' + :type state: str or ~commondefinitions.models.EasyAuthState + :param global_validation: The configuration settings that determines the + validation flow of users using ContainerApp Authentication/Authorization. + :type global_validation: ~commondefinitions.models.GlobalValidation + :param identity_providers: The configuration settings of each of the + identity providers used to configure ContainerApp + Authentication/Authorization. + :type identity_providers: ~commondefinitions.models.IdentityProviders + :param login: The configuration settings of the login flow of users using + ContainerApp Authentication/Authorization. + :type login: ~commondefinitions.models.Login + :param http_settings: The configuration settings of the HTTP requests for + authentication and authorization requests made against ContainerApp + Authentication/Authorization. + :type http_settings: ~commondefinitions.models.HttpSettings + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'state': {'key': 'properties.state', 'type': 'str'}, + 'global_validation': {'key': 'properties.globalValidation', 'type': 'GlobalValidation'}, + 'identity_providers': {'key': 'properties.identityProviders', 'type': 'IdentityProviders'}, + 'login': {'key': 'properties.login', 'type': 'Login'}, + 'http_settings': {'key': 'properties.httpSettings', 'type': 'HttpSettings'}, + } + + def __init__(self, **kwargs): + super(AuthConfig, self).__init__(**kwargs) + self.state = kwargs.get('state', None) + self.global_validation = kwargs.get('global_validation', None) + self.identity_providers = kwargs.get('identity_providers', None) + self.login = kwargs.get('login', None) + self.http_settings = kwargs.get('http_settings', None) + + +class AuthConfigCollection(Model): + """AuthConfig collection ARM resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. Collection of resources. + :type value: list[~commondefinitions.models.AuthConfig] + :ivar next_link: Link to next page of resources. + :vartype next_link: str + """ + + _validation = { + 'value': {'required': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[AuthConfig]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(AuthConfigCollection, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class AvailableOperations(Model): + """Available operations of the service. + + :param value: Collection of available operation details + :type value: list[~commondefinitions.models.OperationDetail] + :param next_link: URL client should use to fetch the next page (per server + side paging). + It's null for now, added for future use. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[OperationDetail]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(AvailableOperations, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class AzureActiveDirectory(Model): + """The configuration settings of the Azure Active directory provider. + + :param state: Disabled if the Azure Active Directory provider + should not be enabled despite the set registration; otherwise, + Enabled. Possible values include: 'Enabled', 'Disabled' + :type state: str or ~commondefinitions.models.IdentityProviderState + :param registration: The configuration settings of the Azure Active + Directory app registration. + :type registration: + ~commondefinitions.models.AzureActiveDirectoryRegistration + :param login: The configuration settings of the Azure Active Directory + login flow. + :type login: ~commondefinitions.models.AzureActiveDirectoryLogin + :param validation: The configuration settings of the Azure Active + Directory token validation flow. + :type validation: ~commondefinitions.models.AzureActiveDirectoryValidation + """ + + _attribute_map = { + 'state': {'key': 'state', 'type': 'str'}, + 'registration': {'key': 'registration', 'type': 'AzureActiveDirectoryRegistration'}, + 'login': {'key': 'login', 'type': 'AzureActiveDirectoryLogin'}, + 'validation': {'key': 'validation', 'type': 'AzureActiveDirectoryValidation'}, + } + + def __init__(self, **kwargs): + super(AzureActiveDirectory, self).__init__(**kwargs) + self.state = kwargs.get('state', None) + self.registration = kwargs.get('registration', None) + self.login = kwargs.get('login', None) + self.validation = kwargs.get('validation', None) + + +class AzureActiveDirectoryLogin(Model): + """The configuration settings of the Azure Active Directory login flow. + + :param login_parameters: Login parameters to send to the OpenID Connect + authorization endpoint when + a user logs in. Each parameter must be in the form "key=value". + :type login_parameters: list[str] + :param disable_www_authenticate: true if the www-authenticate + provider should be omitted from the request; otherwise, + false. Possible values include: 'True', 'False' + :type disable_www_authenticate: str or + ~commondefinitions.models.DisableWwwAuthenticateMode + """ + + _attribute_map = { + 'login_parameters': {'key': 'loginParameters', 'type': '[str]'}, + 'disable_www_authenticate': {'key': 'disableWwwAuthenticate', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(AzureActiveDirectoryLogin, self).__init__(**kwargs) + self.login_parameters = kwargs.get('login_parameters', None) + self.disable_www_authenticate = kwargs.get('disable_www_authenticate', None) + + +class AzureActiveDirectoryRegistration(Model): + """The configuration settings of the Azure Active Directory app registration. + + :param open_id_issuer: The OpenID Connect Issuer URI that represents the + entity which issues access tokens for this application. + When using Azure Active Directory, this value is the URI of the directory + tenant, e.g. https://login.microsoftonline.com/v2.0/{tenant-guid}/. + This URI is a case-sensitive identifier for the token issuer. + More information on OpenID Connect Discovery: + http://openid.net/specs/openid-connect-discovery-1_0.html + :type open_id_issuer: str + :param client_id: The Client ID of this relying party application, known + as the client_id. + This setting is required for enabling OpenID Connection authentication + with Azure Active Directory or + other 3rd party OpenID Connect providers. + More information on OpenID Connect: + http://openid.net/specs/openid-connect-core-1_0.html + :type client_id: str + :param client_secret_ref_name: The app secret ref name that contains the + client secret of the relying party application. + :type client_secret_ref_name: str + :param client_secret_certificate_thumbprint: An alternative to the client + secret, that is the thumbprint of a certificate used for signing purposes. + This property acts as + a replacement for the Client Secret. It is also optional. + :type client_secret_certificate_thumbprint: str + :param client_secret_certificate_subject_alternative_name: An alternative + to the client secret thumbprint, that is the subject alternative name of a + certificate used for signing purposes. This property acts as + a replacement for the Client Secret Certificate Thumbprint. It is also + optional. + :type client_secret_certificate_subject_alternative_name: str + :param client_secret_certificate_issuer: An alternative to the client + secret thumbprint, that is the issuer of a certificate used for signing + purposes. This property acts as + a replacement for the Client Secret Certificate Thumbprint. It is also + optional. + :type client_secret_certificate_issuer: str + """ + + _attribute_map = { + 'open_id_issuer': {'key': 'openIdIssuer', 'type': 'str'}, + 'client_id': {'key': 'clientId', 'type': 'str'}, + 'client_secret_ref_name': {'key': 'clientSecretRefName', 'type': 'str'}, + 'client_secret_certificate_thumbprint': {'key': 'clientSecretCertificateThumbprint', 'type': 'str'}, + 'client_secret_certificate_subject_alternative_name': {'key': 'clientSecretCertificateSubjectAlternativeName', 'type': 'str'}, + 'client_secret_certificate_issuer': {'key': 'clientSecretCertificateIssuer', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(AzureActiveDirectoryRegistration, self).__init__(**kwargs) + self.open_id_issuer = kwargs.get('open_id_issuer', None) + self.client_id = kwargs.get('client_id', None) + self.client_secret_ref_name = kwargs.get('client_secret_ref_name', None) + self.client_secret_certificate_thumbprint = kwargs.get('client_secret_certificate_thumbprint', None) + self.client_secret_certificate_subject_alternative_name = kwargs.get('client_secret_certificate_subject_alternative_name', None) + self.client_secret_certificate_issuer = kwargs.get('client_secret_certificate_issuer', None) + + +class AzureActiveDirectoryValidation(Model): + """The configuration settings of the Azure Active Directory token validation + flow. + + :param allowed_audiences: The list of audiences that can make successful + authentication/authorization requests. + :type allowed_audiences: list[str] + """ + + _attribute_map = { + 'allowed_audiences': {'key': 'allowedAudiences', 'type': '[str]'}, + } + + def __init__(self, **kwargs): + super(AzureActiveDirectoryValidation, self).__init__(**kwargs) + self.allowed_audiences = kwargs.get('allowed_audiences', None) + + +class AzureCredentials(Model): + """Container App credentials. + + :param client_id: Client Id. + :type client_id: str + :param client_secret: Client Secret. + :type client_secret: str + :param tenant_id: Tenant Id. + :type tenant_id: str + :param subscription_id: Subscription Id. + :type subscription_id: str + """ + + _attribute_map = { + 'client_id': {'key': 'clientId', 'type': 'str'}, + 'client_secret': {'key': 'clientSecret', 'type': 'str'}, + 'tenant_id': {'key': 'tenantId', 'type': 'str'}, + 'subscription_id': {'key': 'subscriptionId', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(AzureCredentials, self).__init__(**kwargs) + self.client_id = kwargs.get('client_id', None) + self.client_secret = kwargs.get('client_secret', None) + self.tenant_id = kwargs.get('tenant_id', None) + self.subscription_id = kwargs.get('subscription_id', None) + + +class AzureEntityResource(Resource): + """Entity Resource. + + The resource model definition for an Azure Resource Manager resource with + an etag. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource. E.g. + "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy + and modifiedBy information. + :vartype system_data: ~commondefinitions.models.SystemData + :ivar etag: Resource Etag. + :vartype etag: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'etag': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(AzureEntityResource, self).__init__(**kwargs) + self.etag = None + + +class AzureFileProperties(Model): + """Azure File Properties. + + :param account_name: Storage account name for azure file. + :type account_name: str + :param account_key: Storage account key for azure file. + :type account_key: str + :param access_mode: Access mode for storage. Possible values include: + 'ReadOnly', 'ReadWrite' + :type access_mode: str or ~commondefinitions.models.AccessMode + :param share_name: Azure file share name. + :type share_name: str + """ + + _attribute_map = { + 'account_name': {'key': 'accountName', 'type': 'str'}, + 'account_key': {'key': 'accountKey', 'type': 'str'}, + 'access_mode': {'key': 'accessMode', 'type': 'str'}, + 'share_name': {'key': 'shareName', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(AzureFileProperties, self).__init__(**kwargs) + self.account_name = kwargs.get('account_name', None) + self.account_key = kwargs.get('account_key', None) + self.access_mode = kwargs.get('access_mode', None) + self.share_name = kwargs.get('share_name', None) + + +class AzureStaticWebApp(Model): + """The configuration settings of the Azure Static Web Apps provider. + + :param state: Disabled if the Azure Static Web Apps provider + should not be enabled despite the set registration; otherwise, + Enabled. Possible values include: 'Enabled', 'Disabled' + :type state: str or ~commondefinitions.models.IdentityProviderState + :param registration: The configuration settings of the Azure Static Web + Apps registration. + :type registration: + ~commondefinitions.models.AzureStaticWebAppRegistration + """ + + _attribute_map = { + 'state': {'key': 'state', 'type': 'str'}, + 'registration': {'key': 'registration', 'type': 'AzureStaticWebAppRegistration'}, + } + + def __init__(self, **kwargs): + super(AzureStaticWebApp, self).__init__(**kwargs) + self.state = kwargs.get('state', None) + self.registration = kwargs.get('registration', None) + + +class AzureStaticWebAppRegistration(Model): + """The configuration settings of the registration for the Azure Static Web + Apps provider. + + :param client_id: The Client ID of the app used for login. + :type client_id: str + """ + + _attribute_map = { + 'client_id': {'key': 'clientId', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(AzureStaticWebAppRegistration, self).__init__(**kwargs) + self.client_id = kwargs.get('client_id', None) + + +class TrackedResource(Resource): + """Tracked Resource. + + The resource model definition for an Azure Resource Manager tracked top + level resource which has 'tags' and a 'location'. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource. E.g. + "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy + and modifiedBy information. + :vartype system_data: ~commondefinitions.models.SystemData + :param tags: Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives + :type location: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'location': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(TrackedResource, self).__init__(**kwargs) + self.tags = kwargs.get('tags', None) + self.location = kwargs.get('location', None) + + +class Certificate(TrackedResource): + """Certificate used for Custom Domain bindings of Container Apps in a Managed + Environment. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource. E.g. + "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy + and modifiedBy information. + :vartype system_data: ~commondefinitions.models.SystemData + :param tags: Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives + :type location: str + :param properties: Certificate resource specific properties + :type properties: ~commondefinitions.models.CertificateProperties + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'location': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + 'properties': {'key': 'properties', 'type': 'CertificateProperties'}, + } + + def __init__(self, **kwargs): + super(Certificate, self).__init__(**kwargs) + self.properties = kwargs.get('properties', None) + + +class CertificateCollection(Model): + """Collection of Certificates. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. Collection of resources. + :type value: list[~commondefinitions.models.Certificate] + :ivar next_link: Link to next page of resources. + :vartype next_link: str + """ + + _validation = { + 'value': {'required': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Certificate]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(CertificateCollection, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class CertificatePatch(Model): + """A certificate to update. + + :param tags: Application-specific metadata in the form of key-value pairs. + :type tags: dict[str, str] + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + } + + def __init__(self, **kwargs): + super(CertificatePatch, self).__init__(**kwargs) + self.tags = kwargs.get('tags', None) + + +class CertificateProperties(Model): + """Certificate resource specific properties. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param password: Certificate password. + :type password: str + :ivar subject_name: Subject name of the certificate. + :vartype subject_name: str + :param value: PFX or PEM blob + :type value: bytearray + :ivar issuer: Certificate issuer. + :vartype issuer: str + :ivar issue_date: Certificate issue Date. + :vartype issue_date: datetime + :ivar expiration_date: Certificate expiration date. + :vartype expiration_date: datetime + :ivar thumbprint: Certificate thumbprint. + :vartype thumbprint: str + :ivar valid: Is the certificate valid?. + :vartype valid: bool + :ivar public_key_hash: Public key hash. + :vartype public_key_hash: str + """ + + _validation = { + 'subject_name': {'readonly': True}, + 'issuer': {'readonly': True}, + 'issue_date': {'readonly': True}, + 'expiration_date': {'readonly': True}, + 'thumbprint': {'readonly': True}, + 'valid': {'readonly': True}, + 'public_key_hash': {'readonly': True}, + } + + _attribute_map = { + 'password': {'key': 'password', 'type': 'str'}, + 'subject_name': {'key': 'subjectName', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'bytearray'}, + 'issuer': {'key': 'issuer', 'type': 'str'}, + 'issue_date': {'key': 'issueDate', 'type': 'iso-8601'}, + 'expiration_date': {'key': 'expirationDate', 'type': 'iso-8601'}, + 'thumbprint': {'key': 'thumbprint', 'type': 'str'}, + 'valid': {'key': 'valid', 'type': 'bool'}, + 'public_key_hash': {'key': 'publicKeyHash', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(CertificateProperties, self).__init__(**kwargs) + self.password = kwargs.get('password', None) + self.subject_name = None + self.value = kwargs.get('value', None) + self.issuer = None + self.issue_date = None + self.expiration_date = None + self.thumbprint = None + self.valid = None + self.public_key_hash = None + + +class ClientRegistration(Model): + """The configuration settings of the app registration for providers that have + client ids and client secrets. + + :param client_id: The Client ID of the app used for login. + :type client_id: str + :param client_secret_ref_name: The app secret ref name that contains the + client secret. + :type client_secret_ref_name: str + """ + + _attribute_map = { + 'client_id': {'key': 'clientId', 'type': 'str'}, + 'client_secret_ref_name': {'key': 'clientSecretRefName', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ClientRegistration, self).__init__(**kwargs) + self.client_id = kwargs.get('client_id', None) + self.client_secret_ref_name = kwargs.get('client_secret_ref_name', None) + + +class Configuration(Model): + """Non versioned Container App configuration properties that define the + mutable settings of a Container app. + + :param secrets: Collection of secrets used by a Container app + :type secrets: list[~commondefinitions.models.Secret] + :param active_revisions_mode: ActiveRevisionsMode controls how active + revisions are handled for the Container app: + Multiple: multiple revisions can be active. If no value if + provided, this is the defaultSingle: Only one revision can be + active at a time. Revision weights can not be used in this + mode. Possible values include: 'multiple', 'single' + :type active_revisions_mode: str or + ~commondefinitions.models.ActiveRevisionsMode + :param ingress: Ingress configurations. + :type ingress: ~commondefinitions.models.Ingress + :param dapr: Dapr configuration for the Container App. + :type dapr: ~commondefinitions.models.Dapr + :param registries: Collection of private container registry credentials + for containers used by the Container app + :type registries: list[~commondefinitions.models.RegistryCredentials] + """ + + _attribute_map = { + 'secrets': {'key': 'secrets', 'type': '[Secret]'}, + 'active_revisions_mode': {'key': 'activeRevisionsMode', 'type': 'str'}, + 'ingress': {'key': 'ingress', 'type': 'Ingress'}, + 'dapr': {'key': 'dapr', 'type': 'Dapr'}, + 'registries': {'key': 'registries', 'type': '[RegistryCredentials]'}, + } + + def __init__(self, **kwargs): + super(Configuration, self).__init__(**kwargs) + self.secrets = kwargs.get('secrets', None) + self.active_revisions_mode = kwargs.get('active_revisions_mode', None) + self.ingress = kwargs.get('ingress', None) + self.dapr = kwargs.get('dapr', None) + self.registries = kwargs.get('registries', None) + + +class Container(Model): + """Container App container definition. + + :param image: Container image tag. + :type image: str + :param name: Custom container name. + :type name: str + :param command: Container start command. + :type command: list[str] + :param args: Container start command arguments. + :type args: list[str] + :param env: Container environment variables. + :type env: list[~commondefinitions.models.EnvironmentVar] + :param resources: Container resource requirements. + :type resources: ~commondefinitions.models.ContainerResources + :param probes: List of probes for the container. + :type probes: list[~commondefinitions.models.ContainerAppProbe] + :param volume_mounts: Container volume mounts. + :type volume_mounts: list[~commondefinitions.models.VolumeMount] + """ + + _attribute_map = { + 'image': {'key': 'image', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'command': {'key': 'command', 'type': '[str]'}, + 'args': {'key': 'args', 'type': '[str]'}, + 'env': {'key': 'env', 'type': '[EnvironmentVar]'}, + 'resources': {'key': 'resources', 'type': 'ContainerResources'}, + 'probes': {'key': 'probes', 'type': '[ContainerAppProbe]'}, + 'volume_mounts': {'key': 'volumeMounts', 'type': '[VolumeMount]'}, + } + + def __init__(self, **kwargs): + super(Container, self).__init__(**kwargs) + self.image = kwargs.get('image', None) + self.name = kwargs.get('name', None) + self.command = kwargs.get('command', None) + self.args = kwargs.get('args', None) + self.env = kwargs.get('env', None) + self.resources = kwargs.get('resources', None) + self.probes = kwargs.get('probes', None) + self.volume_mounts = kwargs.get('volume_mounts', None) + + +class ContainerApp(TrackedResource): + """Container App. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource. E.g. + "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy + and modifiedBy information. + :vartype system_data: ~commondefinitions.models.SystemData + :param tags: Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives + :type location: str + :param identity: managed identities for the Container App to interact with + other Azure services without maintaining any secrets or credentials in + code. + :type identity: ~commondefinitions.models.ManagedServiceIdentity + :ivar provisioning_state: Provisioning state of the Container App. + Possible values include: 'InProgress', 'Succeeded', 'Failed', 'Canceled' + :vartype provisioning_state: str or + ~commondefinitions.models.ContainerAppProvisioningState + :param managed_environment_id: Resource ID of the Container App's + environment. + :type managed_environment_id: str + :ivar latest_revision_name: Name of the latest revision of the Container + App. + :vartype latest_revision_name: str + :ivar latest_revision_fqdn: Fully Qualified Domain Name of the latest + revision of the Container App. + :vartype latest_revision_fqdn: str + :ivar custom_domain_verification_id: Id used to verify domain name + ownership + :vartype custom_domain_verification_id: str + :param configuration: Non versioned Container App configuration + properties. + :type configuration: ~commondefinitions.models.Configuration + :param template: Container App versioned application definition. + :type template: ~commondefinitions.models.Template + :ivar outbound_ip_addresses: Outbound IP Addresses for container app. + :vartype outbound_ip_addresses: list[str] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'location': {'required': True}, + 'provisioning_state': {'readonly': True}, + 'latest_revision_name': {'readonly': True}, + 'latest_revision_fqdn': {'readonly': True}, + 'custom_domain_verification_id': {'readonly': True}, + 'outbound_ip_addresses': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + 'identity': {'key': 'identity', 'type': 'ManagedServiceIdentity'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'managed_environment_id': {'key': 'properties.managedEnvironmentId', 'type': 'str'}, + 'latest_revision_name': {'key': 'properties.latestRevisionName', 'type': 'str'}, + 'latest_revision_fqdn': {'key': 'properties.latestRevisionFqdn', 'type': 'str'}, + 'custom_domain_verification_id': {'key': 'properties.customDomainVerificationId', 'type': 'str'}, + 'configuration': {'key': 'properties.configuration', 'type': 'Configuration'}, + 'template': {'key': 'properties.template', 'type': 'Template'}, + 'outbound_ip_addresses': {'key': 'properties.outboundIPAddresses', 'type': '[str]'}, + } + + def __init__(self, **kwargs): + super(ContainerApp, self).__init__(**kwargs) + self.identity = kwargs.get('identity', None) + self.provisioning_state = None + self.managed_environment_id = kwargs.get('managed_environment_id', None) + self.latest_revision_name = None + self.latest_revision_fqdn = None + self.custom_domain_verification_id = None + self.configuration = kwargs.get('configuration', None) + self.template = kwargs.get('template', None) + self.outbound_ip_addresses = None + + +class ContainerAppCollection(Model): + """Container App collection ARM resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. Collection of resources. + :type value: list[~commondefinitions.models.ContainerApp] + :ivar next_link: Link to next page of resources. + :vartype next_link: str + """ + + _validation = { + 'value': {'required': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ContainerApp]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ContainerAppCollection, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class ContainerAppPatch(Model): + """Container App Patch. + + :param tags: Application-specific metadata in the form of key-value pairs. + :type tags: dict[str, str] + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + } + + def __init__(self, **kwargs): + super(ContainerAppPatch, self).__init__(**kwargs) + self.tags = kwargs.get('tags', None) + + +class ContainerAppProbe(Model): + """Probe describes a health check to be performed against a container to + determine whether it is alive or ready to receive traffic. + + :param failure_threshold: Minimum consecutive failures for the probe to be + considered failed after having succeeded. Defaults to 3. Minimum value is + 1. Maximum value is 10. + :type failure_threshold: int + :param http_get: HTTPGet specifies the http request to perform. + :type http_get: ~commondefinitions.models.ContainerAppProbeHttpGet + :param initial_delay_seconds: Number of seconds after the container has + started before liveness probes are initiated. Minimum value is 1. Maximum + value is 60. + :type initial_delay_seconds: int + :param period_seconds: How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. Maximum value is 240. + :type period_seconds: int + :param success_threshold: Minimum consecutive successes for the probe to + be considered successful after having failed. Defaults to 1. Must be 1 for + liveness and startup. Minimum value is 1. Maximum value is 10. + :type success_threshold: int + :param tcp_socket: TCPSocket specifies an action involving a TCP port. TCP + hooks not yet supported. + :type tcp_socket: ~commondefinitions.models.ContainerAppProbeTcpSocket + :param termination_grace_period_seconds: Optional duration in seconds the + pod needs to terminate gracefully upon probe failure. The grace period is + the duration in seconds after the processes running in the pod are sent a + termination signal and the time when the processes are forcibly halted + with a kill signal. Set this value longer than the expected cleanup time + for your process. If this value is nil, the pod's + terminationGracePeriodSeconds will be used. Otherwise, this value + overrides the value provided by the pod spec. Value must be non-negative + integer. The value zero indicates stop immediately via the kill signal (no + opportunity to shut down). This is an alpha field and requires enabling + ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 + hour) + :type termination_grace_period_seconds: long + :param timeout_seconds: Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. Maximum value is 240. + :type timeout_seconds: int + :param type: The type of probe. Possible values include: 'liveness', + 'readiness', 'startup' + :type type: str or ~commondefinitions.models.Type + """ + + _attribute_map = { + 'failure_threshold': {'key': 'failureThreshold', 'type': 'int'}, + 'http_get': {'key': 'httpGet', 'type': 'ContainerAppProbeHttpGet'}, + 'initial_delay_seconds': {'key': 'initialDelaySeconds', 'type': 'int'}, + 'period_seconds': {'key': 'periodSeconds', 'type': 'int'}, + 'success_threshold': {'key': 'successThreshold', 'type': 'int'}, + 'tcp_socket': {'key': 'tcpSocket', 'type': 'ContainerAppProbeTcpSocket'}, + 'termination_grace_period_seconds': {'key': 'terminationGracePeriodSeconds', 'type': 'long'}, + 'timeout_seconds': {'key': 'timeoutSeconds', 'type': 'int'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ContainerAppProbe, self).__init__(**kwargs) + self.failure_threshold = kwargs.get('failure_threshold', None) + self.http_get = kwargs.get('http_get', None) + self.initial_delay_seconds = kwargs.get('initial_delay_seconds', None) + self.period_seconds = kwargs.get('period_seconds', None) + self.success_threshold = kwargs.get('success_threshold', None) + self.tcp_socket = kwargs.get('tcp_socket', None) + self.termination_grace_period_seconds = kwargs.get('termination_grace_period_seconds', None) + self.timeout_seconds = kwargs.get('timeout_seconds', None) + self.type = kwargs.get('type', None) + + +class ContainerAppProbeHttpGet(Model): + """HTTPGet specifies the http request to perform. + + All required parameters must be populated in order to send to Azure. + + :param host: Host name to connect to, defaults to the pod IP. You probably + want to set "Host" in httpHeaders instead. + :type host: str + :param http_headers: Custom headers to set in the request. HTTP allows + repeated headers. + :type http_headers: + list[~commondefinitions.models.ContainerAppProbeHttpGetHttpHeadersItem] + :param path: Path to access on the HTTP server. + :type path: str + :param port: Required. Name or number of the port to access on the + container. Number must be in the range 1 to 65535. Name must be an + IANA_SVC_NAME. + :type port: int + :param scheme: Scheme to use for connecting to the host. Defaults to HTTP. + :type scheme: str + """ + + _validation = { + 'port': {'required': True}, + } + + _attribute_map = { + 'host': {'key': 'host', 'type': 'str'}, + 'http_headers': {'key': 'httpHeaders', 'type': '[ContainerAppProbeHttpGetHttpHeadersItem]'}, + 'path': {'key': 'path', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'int'}, + 'scheme': {'key': 'scheme', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ContainerAppProbeHttpGet, self).__init__(**kwargs) + self.host = kwargs.get('host', None) + self.http_headers = kwargs.get('http_headers', None) + self.path = kwargs.get('path', None) + self.port = kwargs.get('port', None) + self.scheme = kwargs.get('scheme', None) + + +class ContainerAppProbeHttpGetHttpHeadersItem(Model): + """HTTPHeader describes a custom header to be used in HTTP probes. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The header field name + :type name: str + :param value: Required. The header field value + :type value: str + """ + + _validation = { + 'name': {'required': True}, + 'value': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ContainerAppProbeHttpGetHttpHeadersItem, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.value = kwargs.get('value', None) + + +class ContainerAppProbeTcpSocket(Model): + """TCPSocket specifies an action involving a TCP port. TCP hooks not yet + supported. + + All required parameters must be populated in order to send to Azure. + + :param host: Optional: Host name to connect to, defaults to the pod IP. + :type host: str + :param port: Required. Number or name of the port to access on the + container. Number must be in the range 1 to 65535. Name must be an + IANA_SVC_NAME. + :type port: int + """ + + _validation = { + 'port': {'required': True}, + } + + _attribute_map = { + 'host': {'key': 'host', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__(self, **kwargs): + super(ContainerAppProbeTcpSocket, self).__init__(**kwargs) + self.host = kwargs.get('host', None) + self.port = kwargs.get('port', None) + + +class ContainerAppSecret(Model): + """Container App Secret. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar name: Secret Name. + :vartype name: str + :ivar value: Secret Value. + :vartype value: str + """ + + _validation = { + 'name': {'readonly': True}, + 'value': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ContainerAppSecret, self).__init__(**kwargs) + self.name = None + self.value = None + + +class ContainerResources(Model): + """Container App container resource requirements. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param cpu: Required CPU in cores, e.g. 0.5 + :type cpu: float + :param memory: Required memory, e.g. "250Mb" + :type memory: str + :ivar ephemeral_storage: Ephemeral Storage, e.g. "1Gi" + :vartype ephemeral_storage: str + """ + + _validation = { + 'ephemeral_storage': {'readonly': True}, + } + + _attribute_map = { + 'cpu': {'key': 'cpu', 'type': 'float'}, + 'memory': {'key': 'memory', 'type': 'str'}, + 'ephemeral_storage': {'key': 'ephemeralStorage', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ContainerResources, self).__init__(**kwargs) + self.cpu = kwargs.get('cpu', None) + self.memory = kwargs.get('memory', None) + self.ephemeral_storage = None + + +class CustomDomain(Model): + """Custom Domain of a Container App. + + :param name: Hostname. + :type name: str + :param binding_type: Custom Domain binding type. Possible values include: + 'Disabled', 'SniEnabled' + :type binding_type: str or ~commondefinitions.models.BindingType + :param certificate_id: Resource Id of the Certificate to be bound to this + hostname. Must exist in the Managed Environment. + :type certificate_id: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'binding_type': {'key': 'bindingType', 'type': 'str'}, + 'certificate_id': {'key': 'certificateId', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(CustomDomain, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.binding_type = kwargs.get('binding_type', None) + self.certificate_id = kwargs.get('certificate_id', None) + + +class CustomHostnameAnalysisResult(ProxyResource): + """Custom domain analysis. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource. E.g. + "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy + and modifiedBy information. + :vartype system_data: ~commondefinitions.models.SystemData + :ivar host_name: Host name that was analyzed + :vartype host_name: str + :ivar is_hostname_already_verified: true if hostname is + already verified; otherwise, false. + :vartype is_hostname_already_verified: bool + :ivar custom_domain_verification_test: DNS verification test result. + Possible values include: 'Passed', 'Failed', 'Skipped' + :vartype custom_domain_verification_test: str or + ~commondefinitions.models.DnsVerificationTestResult + :ivar custom_domain_verification_failure_info: Raw failure information if + DNS verification fails. + :vartype custom_domain_verification_failure_info: + ~commondefinitions.models.DefaultErrorResponse + :ivar has_conflict_on_managed_environment: true if there is a + conflict on the Container App's managed environment; otherwise, + false. + :vartype has_conflict_on_managed_environment: bool + :ivar conflicting_container_app_resource_id: Name of the conflicting + Container App on the Managed Environment if it's within the same + subscription. + :vartype conflicting_container_app_resource_id: str + :param c_name_records: CName records visible for this hostname. + :type c_name_records: list[str] + :param txt_records: TXT records visible for this hostname. + :type txt_records: list[str] + :param a_records: A records visible for this hostname. + :type a_records: list[str] + :param alternate_cname_records: Alternate CName records visible for this + hostname. + :type alternate_cname_records: list[str] + :param alternate_txt_records: Alternate TXT records visible for this + hostname. + :type alternate_txt_records: list[str] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'host_name': {'readonly': True}, + 'is_hostname_already_verified': {'readonly': True}, + 'custom_domain_verification_test': {'readonly': True}, + 'custom_domain_verification_failure_info': {'readonly': True}, + 'has_conflict_on_managed_environment': {'readonly': True}, + 'conflicting_container_app_resource_id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'host_name': {'key': 'properties.hostName', 'type': 'str'}, + 'is_hostname_already_verified': {'key': 'properties.isHostnameAlreadyVerified', 'type': 'bool'}, + 'custom_domain_verification_test': {'key': 'properties.customDomainVerificationTest', 'type': 'DnsVerificationTestResult'}, + 'custom_domain_verification_failure_info': {'key': 'properties.customDomainVerificationFailureInfo', 'type': 'DefaultErrorResponse'}, + 'has_conflict_on_managed_environment': {'key': 'properties.hasConflictOnManagedEnvironment', 'type': 'bool'}, + 'conflicting_container_app_resource_id': {'key': 'properties.conflictingContainerAppResourceId', 'type': 'str'}, + 'c_name_records': {'key': 'properties.cNameRecords', 'type': '[str]'}, + 'txt_records': {'key': 'properties.txtRecords', 'type': '[str]'}, + 'a_records': {'key': 'properties.aRecords', 'type': '[str]'}, + 'alternate_cname_records': {'key': 'properties.alternateCNameRecords', 'type': '[str]'}, + 'alternate_txt_records': {'key': 'properties.alternateTxtRecords', 'type': '[str]'}, + } + + def __init__(self, **kwargs): + super(CustomHostnameAnalysisResult, self).__init__(**kwargs) + self.host_name = None + self.is_hostname_already_verified = None + self.custom_domain_verification_test = None + self.custom_domain_verification_failure_info = None + self.has_conflict_on_managed_environment = None + self.conflicting_container_app_resource_id = None + self.c_name_records = kwargs.get('c_name_records', None) + self.txt_records = kwargs.get('txt_records', None) + self.a_records = kwargs.get('a_records', None) + self.alternate_cname_records = kwargs.get('alternate_cname_records', None) + self.alternate_txt_records = kwargs.get('alternate_txt_records', None) + + +class CustomOpenIdConnectProvider(Model): + """The configuration settings of the custom Open ID Connect provider. + + :param state: Disabled if the custom Open ID Connect provider + should not be enabled despite the set registration; otherwise, + Enabled. Possible values include: 'Enabled', 'Disabled' + :type state: str or ~commondefinitions.models.IdentityProviderState + :param registration: The configuration settings of the app registration + for the custom Open ID Connect provider. + :type registration: ~commondefinitions.models.OpenIdConnectRegistration + :param login: The configuration settings of the login flow of the custom + Open ID Connect provider. + :type login: ~commondefinitions.models.OpenIdConnectLogin + """ + + _attribute_map = { + 'state': {'key': 'state', 'type': 'str'}, + 'registration': {'key': 'registration', 'type': 'OpenIdConnectRegistration'}, + 'login': {'key': 'login', 'type': 'OpenIdConnectLogin'}, + } + + def __init__(self, **kwargs): + super(CustomOpenIdConnectProvider, self).__init__(**kwargs) + self.state = kwargs.get('state', None) + self.registration = kwargs.get('registration', None) + self.login = kwargs.get('login', None) + + +class CustomScaleRule(Model): + """Container App container Custom scaling rule. + + :param type: Type of the custom scale rule + eg: azure-servicebus, redis etc. + :type type: str + :param metadata: Metadata properties to describe custom scale rule. + :type metadata: dict[str, str] + :param auth: Authentication secrets for the custom scale rule. + :type auth: list[~commondefinitions.models.ScaleRuleAuth] + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'metadata': {'key': 'metadata', 'type': '{str}'}, + 'auth': {'key': 'auth', 'type': '[ScaleRuleAuth]'}, + } + + def __init__(self, **kwargs): + super(CustomScaleRule, self).__init__(**kwargs) + self.type = kwargs.get('type', None) + self.metadata = kwargs.get('metadata', None) + self.auth = kwargs.get('auth', None) + + +class Dapr(Model): + """Container App Dapr configuration. + + :param enabled: Boolean indicating if the Dapr side car is enabled + :type enabled: bool + :param app_id: Dapr application identifier + :type app_id: str + :param app_protocol: Tells Dapr which protocol your application is using. + Valid options are http and grpc. Default is http. Possible values include: + 'http', 'grpc' + :type app_protocol: str or ~commondefinitions.models.AppProtocol + :param app_port: Tells Dapr which port your application is listening on + :type app_port: int + """ + + _attribute_map = { + 'enabled': {'key': 'enabled', 'type': 'bool'}, + 'app_id': {'key': 'appId', 'type': 'str'}, + 'app_protocol': {'key': 'appProtocol', 'type': 'str'}, + 'app_port': {'key': 'appPort', 'type': 'int'}, + } + + def __init__(self, **kwargs): + super(Dapr, self).__init__(**kwargs) + self.enabled = kwargs.get('enabled', None) + self.app_id = kwargs.get('app_id', None) + self.app_protocol = kwargs.get('app_protocol', None) + self.app_port = kwargs.get('app_port', None) + + +class DaprComponent(ProxyResource): + """Dapr Component. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource. E.g. + "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy + and modifiedBy information. + :vartype system_data: ~commondefinitions.models.SystemData + :param component_type: Component type + :type component_type: str + :param version: Component version + :type version: str + :param ignore_errors: Boolean describing if the component errors are + ignores + :type ignore_errors: bool + :param init_timeout: Initialization timeout + :type init_timeout: str + :param secrets: Collection of secrets used by a Dapr component + :type secrets: list[~commondefinitions.models.Secret] + :param metadata: Component metadata + :type metadata: list[~commondefinitions.models.DaprMetadata] + :param scopes: Names of container apps that can use this Dapr component + :type scopes: list[str] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'component_type': {'key': 'properties.componentType', 'type': 'str'}, + 'version': {'key': 'properties.version', 'type': 'str'}, + 'ignore_errors': {'key': 'properties.ignoreErrors', 'type': 'bool'}, + 'init_timeout': {'key': 'properties.initTimeout', 'type': 'str'}, + 'secrets': {'key': 'properties.secrets', 'type': '[Secret]'}, + 'metadata': {'key': 'properties.metadata', 'type': '[DaprMetadata]'}, + 'scopes': {'key': 'properties.scopes', 'type': '[str]'}, + } + + def __init__(self, **kwargs): + super(DaprComponent, self).__init__(**kwargs) + self.component_type = kwargs.get('component_type', None) + self.version = kwargs.get('version', None) + self.ignore_errors = kwargs.get('ignore_errors', None) + self.init_timeout = kwargs.get('init_timeout', None) + self.secrets = kwargs.get('secrets', None) + self.metadata = kwargs.get('metadata', None) + self.scopes = kwargs.get('scopes', None) + + +class DaprComponentsCollection(Model): + """Dapr Components ARM resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. Collection of resources. + :type value: list[~commondefinitions.models.DaprComponent] + :ivar next_link: Link to next page of resources. + :vartype next_link: str + """ + + _validation = { + 'value': {'required': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DaprComponent]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(DaprComponentsCollection, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class DaprMetadata(Model): + """Dapr component metadata. + + :param name: Metadata property name. + :type name: str + :param value: Metadata property value. + :type value: str + :param secret_ref: Name of the Dapr Component secret from which to pull + the metadata property value. + :type secret_ref: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + 'secret_ref': {'key': 'secretRef', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(DaprMetadata, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.value = kwargs.get('value', None) + self.secret_ref = kwargs.get('secret_ref', None) + + +class DefaultErrorResponse(Model): + """App Service error response. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar error: Error model. + :vartype error: ~commondefinitions.models.DefaultErrorResponseError + """ + + _validation = { + 'error': {'readonly': True}, + } + + _attribute_map = { + 'error': {'key': 'error', 'type': 'DefaultErrorResponseError'}, + } + + def __init__(self, **kwargs): + super(DefaultErrorResponse, self).__init__(**kwargs) + self.error = None + + +class DefaultErrorResponseException(HttpOperationError): + """Server responsed with exception of type: 'DefaultErrorResponse'. + + :param deserialize: A deserializer + :param response: Server response to be deserialized. + """ + + def __init__(self, deserialize, response, *args): + + super(DefaultErrorResponseException, self).__init__(deserialize, response, 'DefaultErrorResponse', *args) + + +class DefaultErrorResponseError(Model): + """Error model. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar code: Standardized string to programmatically identify the error. + :vartype code: str + :ivar message: Detailed error description and debugging information. + :vartype message: str + :ivar target: Detailed error description and debugging information. + :vartype target: str + :param details: Details or the error + :type details: + list[~commondefinitions.models.DefaultErrorResponseErrorDetailsItem] + :ivar innererror: More information to debug error. + :vartype innererror: str + """ + + _validation = { + 'code': {'readonly': True}, + 'message': {'readonly': True}, + 'target': {'readonly': True}, + 'innererror': {'readonly': True}, + } + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'target': {'key': 'target', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[DefaultErrorResponseErrorDetailsItem]'}, + 'innererror': {'key': 'innererror', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(DefaultErrorResponseError, self).__init__(**kwargs) + self.code = None + self.message = None + self.target = None + self.details = kwargs.get('details', None) + self.innererror = None + + +class DefaultErrorResponseErrorDetailsItem(Model): + """Detailed errors. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar code: Standardized string to programmatically identify the error. + :vartype code: str + :ivar message: Detailed error description and debugging information. + :vartype message: str + :ivar target: Detailed error description and debugging information. + :vartype target: str + """ + + _validation = { + 'code': {'readonly': True}, + 'message': {'readonly': True}, + 'target': {'readonly': True}, + } + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'target': {'key': 'target', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(DefaultErrorResponseErrorDetailsItem, self).__init__(**kwargs) + self.code = None + self.message = None + self.target = None + + +class EnvironmentVar(Model): + """Container App container environment variable. + + :param name: Environment variable name. + :type name: str + :param value: Non-secret environment variable value. + :type value: str + :param secret_ref: Name of the Container App secret from which to pull the + environment variable value. + :type secret_ref: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + 'secret_ref': {'key': 'secretRef', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(EnvironmentVar, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.value = kwargs.get('value', None) + self.secret_ref = kwargs.get('secret_ref', None) + + +class Facebook(Model): + """The configuration settings of the Facebook provider. + + :param state: Disabled if the Facebook provider should not be + enabled despite the set registration; otherwise, Enabled. + Possible values include: 'Enabled', 'Disabled' + :type state: str or ~commondefinitions.models.IdentityProviderState + :param registration: The configuration settings of the app registration + for the Facebook provider. + :type registration: ~commondefinitions.models.AppRegistration + :param graph_api_version: The version of the Facebook api to be used while + logging in. + :type graph_api_version: str + :param login: The configuration settings of the login flow. + :type login: ~commondefinitions.models.LoginScopes + """ + + _attribute_map = { + 'state': {'key': 'state', 'type': 'str'}, + 'registration': {'key': 'registration', 'type': 'AppRegistration'}, + 'graph_api_version': {'key': 'graphApiVersion', 'type': 'str'}, + 'login': {'key': 'login', 'type': 'LoginScopes'}, + } + + def __init__(self, **kwargs): + super(Facebook, self).__init__(**kwargs) + self.state = kwargs.get('state', None) + self.registration = kwargs.get('registration', None) + self.graph_api_version = kwargs.get('graph_api_version', None) + self.login = kwargs.get('login', None) + + +class GitHub(Model): + """The configuration settings of the GitHub provider. + + :param state: Disabled if the GitHub provider should not be + enabled despite the set registration; otherwise, Enabled. + Possible values include: 'Enabled', 'Disabled' + :type state: str or ~commondefinitions.models.IdentityProviderState + :param registration: The configuration settings of the app registration + for the GitHub provider. + :type registration: ~commondefinitions.models.ClientRegistration + :param login: The configuration settings of the login flow. + :type login: ~commondefinitions.models.LoginScopes + """ + + _attribute_map = { + 'state': {'key': 'state', 'type': 'str'}, + 'registration': {'key': 'registration', 'type': 'ClientRegistration'}, + 'login': {'key': 'login', 'type': 'LoginScopes'}, + } + + def __init__(self, **kwargs): + super(GitHub, self).__init__(**kwargs) + self.state = kwargs.get('state', None) + self.registration = kwargs.get('registration', None) + self.login = kwargs.get('login', None) + + +class GithubActionConfiguration(Model): + """Configuration properties that define the mutable settings of a Container + App SourceControl. + + :param registry_info: Registry configurations. + :type registry_info: ~commondefinitions.models.RegistryInfo + :param azure_credentials: AzureCredentials configurations. + :type azure_credentials: ~commondefinitions.models.AzureCredentials + :param dockerfile_path: Docker file path + :type dockerfile_path: str + :param publish_type: Code or Image + :type publish_type: str + :param os: Operation system + :type os: str + :param runtime_stack: Runtime stack + :type runtime_stack: str + :param runtime_version: Runtime Version + :type runtime_version: str + """ + + _attribute_map = { + 'registry_info': {'key': 'registryInfo', 'type': 'RegistryInfo'}, + 'azure_credentials': {'key': 'azureCredentials', 'type': 'AzureCredentials'}, + 'dockerfile_path': {'key': 'dockerfilePath', 'type': 'str'}, + 'publish_type': {'key': 'publishType', 'type': 'str'}, + 'os': {'key': 'os', 'type': 'str'}, + 'runtime_stack': {'key': 'runtimeStack', 'type': 'str'}, + 'runtime_version': {'key': 'runtimeVersion', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(GithubActionConfiguration, self).__init__(**kwargs) + self.registry_info = kwargs.get('registry_info', None) + self.azure_credentials = kwargs.get('azure_credentials', None) + self.dockerfile_path = kwargs.get('dockerfile_path', None) + self.publish_type = kwargs.get('publish_type', None) + self.os = kwargs.get('os', None) + self.runtime_stack = kwargs.get('runtime_stack', None) + self.runtime_version = kwargs.get('runtime_version', None) + + +class GlobalValidation(Model): + """The configuration settings that determines the validation flow of users + using ContainerApp Authentication/Authorization. + + :param unauthenticated_client_action: The action to take when an + unauthenticated client attempts to access the app. Possible values + include: 'RedirectToLoginPage', 'AllowAnonymous', 'Return401', 'Return403' + :type unauthenticated_client_action: str or + ~commondefinitions.models.UnauthenticatedClientAction + :param redirect_to_provider: The default authentication provider to use + when multiple providers are configured. + This setting is only needed if multiple providers are configured and the + unauthenticated client + action is set to "RedirectToLoginPage". + :type redirect_to_provider: str + """ + + _attribute_map = { + 'unauthenticated_client_action': {'key': 'unauthenticatedClientAction', 'type': 'str'}, + 'redirect_to_provider': {'key': 'redirectToProvider', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(GlobalValidation, self).__init__(**kwargs) + self.unauthenticated_client_action = kwargs.get('unauthenticated_client_action', None) + self.redirect_to_provider = kwargs.get('redirect_to_provider', None) + + +class Google(Model): + """The configuration settings of the Google provider. + + :param state: Disabled if the Google provider should not be + enabled despite the set registration; otherwise, Enabled. + Possible values include: 'Enabled', 'Disabled' + :type state: str or ~commondefinitions.models.IdentityProviderState + :param registration: The configuration settings of the app registration + for the Google provider. + :type registration: ~commondefinitions.models.ClientRegistration + :param login: The configuration settings of the login flow. + :type login: ~commondefinitions.models.LoginScopes + :param validation: The configuration settings of the Azure Active + Directory token validation flow. + :type validation: ~commondefinitions.models.AllowedAudiencesValidation + """ + + _attribute_map = { + 'state': {'key': 'state', 'type': 'str'}, + 'registration': {'key': 'registration', 'type': 'ClientRegistration'}, + 'login': {'key': 'login', 'type': 'LoginScopes'}, + 'validation': {'key': 'validation', 'type': 'AllowedAudiencesValidation'}, + } + + def __init__(self, **kwargs): + super(Google, self).__init__(**kwargs) + self.state = kwargs.get('state', None) + self.registration = kwargs.get('registration', None) + self.login = kwargs.get('login', None) + self.validation = kwargs.get('validation', None) + + +class HttpScaleRule(Model): + """Container App container Custom scaling rule. + + :param metadata: Metadata properties to describe http scale rule. + :type metadata: dict[str, str] + :param auth: Authentication secrets for the custom scale rule. + :type auth: list[~commondefinitions.models.ScaleRuleAuth] + """ + + _attribute_map = { + 'metadata': {'key': 'metadata', 'type': '{str}'}, + 'auth': {'key': 'auth', 'type': '[ScaleRuleAuth]'}, + } + + def __init__(self, **kwargs): + super(HttpScaleRule, self).__init__(**kwargs) + self.metadata = kwargs.get('metadata', None) + self.auth = kwargs.get('auth', None) + + +class HttpSettings(Model): + """The configuration settings of the HTTP requests for authentication and + authorization requests made against ContainerApp + Authentication/Authorization. + + :param require_https: false if the + authentication/authorization responses not having the HTTPS scheme are + permissible; otherwise, true. Possible values include: + 'True', 'False' + :type require_https: str or ~commondefinitions.models.RequireHttpsMode + :param route: The configuration settings of the paths HTTP requests. + :type route: ~commondefinitions.models.HttpSettingsRoute + """ + + _attribute_map = { + 'require_https': {'key': 'requireHttps', 'type': 'str'}, + 'route': {'key': 'route', 'type': 'HttpSettingsRoute'}, + } + + def __init__(self, **kwargs): + super(HttpSettings, self).__init__(**kwargs) + self.require_https = kwargs.get('require_https', None) + self.route = kwargs.get('route', None) + + +class HttpSettingsRoute(Model): + """The configuration settings of the paths HTTP requests. + + :param api_prefix: The prefix that should precede all the + authentication/authorization paths. + :type api_prefix: str + """ + + _attribute_map = { + 'api_prefix': {'key': 'apiPrefix', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(HttpSettingsRoute, self).__init__(**kwargs) + self.api_prefix = kwargs.get('api_prefix', None) + + +class IdentityProviders(Model): + """The configuration settings of each of the identity providers used to + configure ContainerApp Authentication/Authorization. + + :param azure_active_directory: The configuration settings of the Azure + Active directory provider. + :type azure_active_directory: + ~commondefinitions.models.AzureActiveDirectory + :param facebook: The configuration settings of the Facebook provider. + :type facebook: ~commondefinitions.models.Facebook + :param git_hub: The configuration settings of the GitHub provider. + :type git_hub: ~commondefinitions.models.GitHub + :param google: The configuration settings of the Google provider. + :type google: ~commondefinitions.models.Google + :param legacy_microsoft_account: The configuration settings of the legacy + Microsoft Account provider. + :type legacy_microsoft_account: + ~commondefinitions.models.LegacyMicrosoftAccount + :param twitter: The configuration settings of the Twitter provider. + :type twitter: ~commondefinitions.models.Twitter + :param apple: The configuration settings of the Apple provider. + :type apple: ~commondefinitions.models.Apple + :param azure_static_web_app: The configuration settings of the Azure + Static Web Apps provider. + :type azure_static_web_app: ~commondefinitions.models.AzureStaticWebApp + :param custom_open_id_connect_providers: The map of the name of the alias + of each custom Open ID Connect provider to the + configuration settings of the custom Open ID Connect provider. + :type custom_open_id_connect_providers: dict[str, + ~commondefinitions.models.CustomOpenIdConnectProvider] + """ + + _attribute_map = { + 'azure_active_directory': {'key': 'azureActiveDirectory', 'type': 'AzureActiveDirectory'}, + 'facebook': {'key': 'facebook', 'type': 'Facebook'}, + 'git_hub': {'key': 'gitHub', 'type': 'GitHub'}, + 'google': {'key': 'google', 'type': 'Google'}, + 'legacy_microsoft_account': {'key': 'legacyMicrosoftAccount', 'type': 'LegacyMicrosoftAccount'}, + 'twitter': {'key': 'twitter', 'type': 'Twitter'}, + 'apple': {'key': 'apple', 'type': 'Apple'}, + 'azure_static_web_app': {'key': 'azureStaticWebApp', 'type': 'AzureStaticWebApp'}, + 'custom_open_id_connect_providers': {'key': 'customOpenIdConnectProviders', 'type': '{CustomOpenIdConnectProvider}'}, + } + + def __init__(self, **kwargs): + super(IdentityProviders, self).__init__(**kwargs) + self.azure_active_directory = kwargs.get('azure_active_directory', None) + self.facebook = kwargs.get('facebook', None) + self.git_hub = kwargs.get('git_hub', None) + self.google = kwargs.get('google', None) + self.legacy_microsoft_account = kwargs.get('legacy_microsoft_account', None) + self.twitter = kwargs.get('twitter', None) + self.apple = kwargs.get('apple', None) + self.azure_static_web_app = kwargs.get('azure_static_web_app', None) + self.custom_open_id_connect_providers = kwargs.get('custom_open_id_connect_providers', None) + + +class Ingress(Model): + """Container App Ingress configuration. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar fqdn: Hostname. + :vartype fqdn: str + :param external: Bool indicating if app exposes an external http endpoint. + Default value: False . + :type external: bool + :param target_port: Target Port in containers for traffic from ingress + :type target_port: int + :param transport: Ingress transport protocol. Possible values include: + 'auto', 'http', 'http2' + :type transport: str or ~commondefinitions.models.IngressTransportMethod + :param traffic: Traffic weights for app's revisions + :type traffic: list[~commondefinitions.models.TrafficWeight] + :param custom_domains: custom domain bindings for Container Apps' + hostnames. + :type custom_domains: list[~commondefinitions.models.CustomDomain] + :param allow_insecure: Bool indicating if HTTP connections to is allowed. + If set to false HTTP connections are automatically redirected to HTTPS + connections + :type allow_insecure: bool + """ + + _validation = { + 'fqdn': {'readonly': True}, + } + + _attribute_map = { + 'fqdn': {'key': 'fqdn', 'type': 'str'}, + 'external': {'key': 'external', 'type': 'bool'}, + 'target_port': {'key': 'targetPort', 'type': 'int'}, + 'transport': {'key': 'transport', 'type': 'str'}, + 'traffic': {'key': 'traffic', 'type': '[TrafficWeight]'}, + 'custom_domains': {'key': 'customDomains', 'type': '[CustomDomain]'}, + 'allow_insecure': {'key': 'allowInsecure', 'type': 'bool'}, + } + + def __init__(self, **kwargs): + super(Ingress, self).__init__(**kwargs) + self.fqdn = None + self.external = kwargs.get('external', False) + self.target_port = kwargs.get('target_port', None) + self.transport = kwargs.get('transport', None) + self.traffic = kwargs.get('traffic', None) + self.custom_domains = kwargs.get('custom_domains', None) + self.allow_insecure = kwargs.get('allow_insecure', None) + + +class LegacyMicrosoftAccount(Model): + """The configuration settings of the legacy Microsoft Account provider. + + :param state: Disabled if the legacy Microsoft Account + provider should not be enabled despite the set registration; otherwise, + Enabled. Possible values include: 'Enabled', 'Disabled' + :type state: str or ~commondefinitions.models.IdentityProviderState + :param registration: The configuration settings of the app registration + for the legacy Microsoft Account provider. + :type registration: ~commondefinitions.models.ClientRegistration + :param login: The configuration settings of the login flow. + :type login: ~commondefinitions.models.LoginScopes + :param validation: The configuration settings of the legacy Microsoft + Account provider token validation flow. + :type validation: ~commondefinitions.models.AllowedAudiencesValidation + """ + + _attribute_map = { + 'state': {'key': 'state', 'type': 'str'}, + 'registration': {'key': 'registration', 'type': 'ClientRegistration'}, + 'login': {'key': 'login', 'type': 'LoginScopes'}, + 'validation': {'key': 'validation', 'type': 'AllowedAudiencesValidation'}, + } + + def __init__(self, **kwargs): + super(LegacyMicrosoftAccount, self).__init__(**kwargs) + self.state = kwargs.get('state', None) + self.registration = kwargs.get('registration', None) + self.login = kwargs.get('login', None) + self.validation = kwargs.get('validation', None) + + +class LogAnalyticsConfiguration(Model): + """Log analytics configuration. + + :param customer_id: Log analytics customer id + :type customer_id: str + :param shared_key: Log analytics customer key + :type shared_key: str + """ + + _attribute_map = { + 'customer_id': {'key': 'customerId', 'type': 'str'}, + 'shared_key': {'key': 'sharedKey', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(LogAnalyticsConfiguration, self).__init__(**kwargs) + self.customer_id = kwargs.get('customer_id', None) + self.shared_key = kwargs.get('shared_key', None) + + +class Login(Model): + """The configuration settings of the login flow of users using ContainerApp + Authentication/Authorization. + + :param route: The route that specify the endpoint used for login and + logout requests. + :type route: ~commondefinitions.models.LoginRoute + :param preserve_url_fragments_for_logins: True if the + fragments from the request are preserved after the login request is made; + otherwise, False. Possible values include: 'True', 'False' + :type preserve_url_fragments_for_logins: str or + ~commondefinitions.models.PreserveUrlFragmentsForLoginsMode + :param allowed_external_redirect_urls: External URLs that can be + redirected to as part of logging in or logging out of the app. Note that + the query string part of the URL is ignored. + This is an advanced setting typically only needed by Windows Store + application backends. + Note that URLs within the current domain are always implicitly allowed. + :type allowed_external_redirect_urls: list[str] + """ + + _attribute_map = { + 'route': {'key': 'route', 'type': 'LoginRoute'}, + 'preserve_url_fragments_for_logins': {'key': 'preserveUrlFragmentsForLogins', 'type': 'str'}, + 'allowed_external_redirect_urls': {'key': 'allowedExternalRedirectUrls', 'type': '[str]'}, + } + + def __init__(self, **kwargs): + super(Login, self).__init__(**kwargs) + self.route = kwargs.get('route', None) + self.preserve_url_fragments_for_logins = kwargs.get('preserve_url_fragments_for_logins', None) + self.allowed_external_redirect_urls = kwargs.get('allowed_external_redirect_urls', None) + + +class LoginRoute(Model): + """The route that specify the endpoint used for login and logout requests. + + :param logout_endpoint: The endpoint at which a logout request should be + made. + :type logout_endpoint: str + """ + + _attribute_map = { + 'logout_endpoint': {'key': 'logoutEndpoint', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(LoginRoute, self).__init__(**kwargs) + self.logout_endpoint = kwargs.get('logout_endpoint', None) + + +class LoginScopes(Model): + """The configuration settings of the login flow, including the scopes that + should be requested. + + :param scopes: A list of the scopes that should be requested while + authenticating. + :type scopes: list[str] + """ + + _attribute_map = { + 'scopes': {'key': 'scopes', 'type': '[str]'}, + } + + def __init__(self, **kwargs): + super(LoginScopes, self).__init__(**kwargs) + self.scopes = kwargs.get('scopes', None) + + +class ManagedEnvironment(TrackedResource): + """An environment for hosting container apps. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource. E.g. + "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy + and modifiedBy information. + :vartype system_data: ~commondefinitions.models.SystemData + :param tags: Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives + :type location: str + :ivar provisioning_state: Provisioning state of the Environment. Possible + values include: 'Succeeded', 'Failed', 'Canceled', 'Waiting', + 'InitializationInProgress', 'InfrastructureSetupInProgress', + 'InfrastructureSetupComplete', 'ScheduledForDelete', 'UpgradeRequested', + 'UpgradeFailed' + :vartype provisioning_state: str or + ~commondefinitions.models.EnvironmentProvisioningState + :param dapr_ai_instrumentation_key: Azure Monitor instrumentation key used + by Dapr to export Service to Service communication telemetry + :type dapr_ai_instrumentation_key: str + :param vnet_configuration: Vnet configuration for the environment + :type vnet_configuration: ~commondefinitions.models.VnetConfiguration + :ivar deployment_errors: Any errors that occurred during deployment or + deployment validation + :vartype deployment_errors: str + :ivar default_domain: Default Domain Name for the cluster + :vartype default_domain: str + :ivar static_ip: Static IP of the Environment + :vartype static_ip: str + :param app_logs_configuration: Cluster configuration which enables the log + daemon to export + app logs to a destination. Currently only "log-analytics" is + supported + :type app_logs_configuration: + ~commondefinitions.models.AppLogsConfiguration + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'location': {'required': True}, + 'provisioning_state': {'readonly': True}, + 'deployment_errors': {'readonly': True}, + 'default_domain': {'readonly': True}, + 'static_ip': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'dapr_ai_instrumentation_key': {'key': 'properties.daprAIInstrumentationKey', 'type': 'str'}, + 'vnet_configuration': {'key': 'properties.vnetConfiguration', 'type': 'VnetConfiguration'}, + 'deployment_errors': {'key': 'properties.deploymentErrors', 'type': 'str'}, + 'default_domain': {'key': 'properties.defaultDomain', 'type': 'str'}, + 'static_ip': {'key': 'properties.staticIp', 'type': 'str'}, + 'app_logs_configuration': {'key': 'properties.appLogsConfiguration', 'type': 'AppLogsConfiguration'}, + } + + def __init__(self, **kwargs): + super(ManagedEnvironment, self).__init__(**kwargs) + self.provisioning_state = None + self.dapr_ai_instrumentation_key = kwargs.get('dapr_ai_instrumentation_key', None) + self.vnet_configuration = kwargs.get('vnet_configuration', None) + self.deployment_errors = None + self.default_domain = None + self.static_ip = None + self.app_logs_configuration = kwargs.get('app_logs_configuration', None) + + +class ManagedEnvironmentPatch(Model): + """An environment for hosting container apps. + + :param tags: Application-specific metadata in the form of key-value pairs. + :type tags: dict[str, str] + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + } + + def __init__(self, **kwargs): + super(ManagedEnvironmentPatch, self).__init__(**kwargs) + self.tags = kwargs.get('tags', None) + + +class ManagedEnvironmentsCollection(Model): + """Collection of Environments. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. Collection of resources. + :type value: list[~commondefinitions.models.ManagedEnvironment] + :ivar next_link: Link to next page of resources. + :vartype next_link: str + """ + + _validation = { + 'value': {'required': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ManagedEnvironment]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ManagedEnvironmentsCollection, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class ManagedEnvironmentStorage(ProxyResource): + """Storage resource for managedEnvironment. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource. E.g. + "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy + and modifiedBy information. + :vartype system_data: ~commondefinitions.models.SystemData + :param properties: Storage properties + :type properties: + ~commondefinitions.models.ManagedEnvironmentStorageProperties + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'properties': {'key': 'properties', 'type': 'ManagedEnvironmentStorageProperties'}, + } + + def __init__(self, **kwargs): + super(ManagedEnvironmentStorage, self).__init__(**kwargs) + self.properties = kwargs.get('properties', None) + + +class ManagedEnvironmentStorageProperties(Model): + """Storage properties. + + :param azure_file: Azure file properties + :type azure_file: ~commondefinitions.models.AzureFileProperties + """ + + _attribute_map = { + 'azure_file': {'key': 'azureFile', 'type': 'AzureFileProperties'}, + } + + def __init__(self, **kwargs): + super(ManagedEnvironmentStorageProperties, self).__init__(**kwargs) + self.azure_file = kwargs.get('azure_file', None) + + +class ManagedEnvironmentStoragesCollection(Model): + """Collection of Storage for Environments. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. Collection of storage resources. + :type value: list[~commondefinitions.models.ManagedEnvironmentStorage] + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ManagedEnvironmentStorage]'}, + } + + def __init__(self, **kwargs): + super(ManagedEnvironmentStoragesCollection, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + + +class ManagedServiceIdentity(Model): + """Managed service identity (system assigned and/or user assigned identities). + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar principal_id: The service principal ID of the system assigned + identity. This property will only be provided for a system assigned + identity. + :vartype principal_id: str + :ivar tenant_id: The tenant ID of the system assigned identity. This + property will only be provided for a system assigned identity. + :vartype tenant_id: str + :param type: Required. Possible values include: 'None', 'SystemAssigned', + 'UserAssigned', 'SystemAssigned,UserAssigned' + :type type: str or ~commondefinitions.models.ManagedServiceIdentityType + :param user_assigned_identities: + :type user_assigned_identities: dict[str, + ~commondefinitions.models.UserAssignedIdentity] + """ + + _validation = { + 'principal_id': {'readonly': True}, + 'tenant_id': {'readonly': True}, + 'type': {'required': True}, + } + + _attribute_map = { + 'principal_id': {'key': 'principalId', 'type': 'str'}, + 'tenant_id': {'key': 'tenantId', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'user_assigned_identities': {'key': 'userAssignedIdentities', 'type': '{UserAssignedIdentity}'}, + } + + def __init__(self, **kwargs): + super(ManagedServiceIdentity, self).__init__(**kwargs) + self.principal_id = None + self.tenant_id = None + self.type = kwargs.get('type', None) + self.user_assigned_identities = kwargs.get('user_assigned_identities', None) + + +class OpenIdConnectClientCredential(Model): + """The authentication client credentials of the custom Open ID Connect + provider. + + :param client_secret_ref_name: The app setting that contains the client + secret for the custom Open ID Connect provider. + :type client_secret_ref_name: str + """ + + _attribute_map = { + 'client_secret_ref_name': {'key': 'clientSecretRefName', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(OpenIdConnectClientCredential, self).__init__(**kwargs) + self.client_secret_ref_name = kwargs.get('client_secret_ref_name', None) + + +class OpenIdConnectConfig(Model): + """The configuration settings of the endpoints used for the custom Open ID + Connect provider. + + :param authorization_endpoint: The endpoint to be used to make an + authorization request. + :type authorization_endpoint: str + :param token_endpoint: The endpoint to be used to request a token. + :type token_endpoint: str + :param issuer: The endpoint that issues the token. + :type issuer: str + :param certification_uri: The endpoint that provides the keys necessary to + validate the token. + :type certification_uri: str + :param well_known_open_id_configuration: The endpoint that contains all + the configuration endpoints for the provider. + :type well_known_open_id_configuration: str + """ + + _attribute_map = { + 'authorization_endpoint': {'key': 'authorizationEndpoint', 'type': 'str'}, + 'token_endpoint': {'key': 'tokenEndpoint', 'type': 'str'}, + 'issuer': {'key': 'issuer', 'type': 'str'}, + 'certification_uri': {'key': 'certificationUri', 'type': 'str'}, + 'well_known_open_id_configuration': {'key': 'wellKnownOpenIdConfiguration', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(OpenIdConnectConfig, self).__init__(**kwargs) + self.authorization_endpoint = kwargs.get('authorization_endpoint', None) + self.token_endpoint = kwargs.get('token_endpoint', None) + self.issuer = kwargs.get('issuer', None) + self.certification_uri = kwargs.get('certification_uri', None) + self.well_known_open_id_configuration = kwargs.get('well_known_open_id_configuration', None) + + +class OpenIdConnectLogin(Model): + """The configuration settings of the login flow of the custom Open ID Connect + provider. + + :param name_claim_type: The name of the claim that contains the users + name. + :type name_claim_type: str + :param scopes: A list of the scopes that should be requested while + authenticating. + :type scopes: list[str] + """ + + _attribute_map = { + 'name_claim_type': {'key': 'nameClaimType', 'type': 'str'}, + 'scopes': {'key': 'scopes', 'type': '[str]'}, + } + + def __init__(self, **kwargs): + super(OpenIdConnectLogin, self).__init__(**kwargs) + self.name_claim_type = kwargs.get('name_claim_type', None) + self.scopes = kwargs.get('scopes', None) + + +class OpenIdConnectRegistration(Model): + """The configuration settings of the app registration for the custom Open ID + Connect provider. + + :param client_id: The client id of the custom Open ID Connect provider. + :type client_id: str + :param client_credential: The authentication credentials of the custom + Open ID Connect provider. + :type client_credential: + ~commondefinitions.models.OpenIdConnectClientCredential + :param open_id_connect_configuration: The configuration settings of the + endpoints used for the custom Open ID Connect provider. + :type open_id_connect_configuration: + ~commondefinitions.models.OpenIdConnectConfig + """ + + _attribute_map = { + 'client_id': {'key': 'clientId', 'type': 'str'}, + 'client_credential': {'key': 'clientCredential', 'type': 'OpenIdConnectClientCredential'}, + 'open_id_connect_configuration': {'key': 'openIdConnectConfiguration', 'type': 'OpenIdConnectConfig'}, + } + + def __init__(self, **kwargs): + super(OpenIdConnectRegistration, self).__init__(**kwargs) + self.client_id = kwargs.get('client_id', None) + self.client_credential = kwargs.get('client_credential', None) + self.open_id_connect_configuration = kwargs.get('open_id_connect_configuration', None) + + +class OperationDetail(Model): + """Operation detail payload. + + :param name: Name of the operation + :type name: str + :param is_data_action: Indicates whether the operation is a data action + :type is_data_action: bool + :param display: Display of the operation + :type display: ~commondefinitions.models.OperationDisplay + :param origin: Origin of the operation + :type origin: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, + 'display': {'key': 'display', 'type': 'OperationDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(OperationDetail, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.is_data_action = kwargs.get('is_data_action', None) + self.display = kwargs.get('display', None) + self.origin = kwargs.get('origin', None) + + +class OperationDisplay(Model): + """Operation display payload. + + :param provider: Resource provider of the operation + :type provider: str + :param resource: Resource of the operation + :type resource: str + :param operation: Localized friendly name for the operation + :type operation: str + :param description: Localized friendly description for the operation + :type description: str + """ + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(OperationDisplay, self).__init__(**kwargs) + self.provider = kwargs.get('provider', None) + self.resource = kwargs.get('resource', None) + self.operation = kwargs.get('operation', None) + self.description = kwargs.get('description', None) + + +class QueueScaleRule(Model): + """Container App container Azure Queue based scaling rule. + + :param queue_name: Queue name. + :type queue_name: str + :param queue_length: Queue length. + :type queue_length: int + :param auth: Authentication secrets for the queue scale rule. + :type auth: list[~commondefinitions.models.ScaleRuleAuth] + """ + + _attribute_map = { + 'queue_name': {'key': 'queueName', 'type': 'str'}, + 'queue_length': {'key': 'queueLength', 'type': 'int'}, + 'auth': {'key': 'auth', 'type': '[ScaleRuleAuth]'}, + } + + def __init__(self, **kwargs): + super(QueueScaleRule, self).__init__(**kwargs) + self.queue_name = kwargs.get('queue_name', None) + self.queue_length = kwargs.get('queue_length', None) + self.auth = kwargs.get('auth', None) + + +class RegistryCredentials(Model): + """Container App Private Registry. + + :param server: Container Registry Server + :type server: str + :param username: Container Registry Username + :type username: str + :param password_secret_ref: The name of the Secret that contains the + registry login password + :type password_secret_ref: str + """ + + _attribute_map = { + 'server': {'key': 'server', 'type': 'str'}, + 'username': {'key': 'username', 'type': 'str'}, + 'password_secret_ref': {'key': 'passwordSecretRef', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(RegistryCredentials, self).__init__(**kwargs) + self.server = kwargs.get('server', None) + self.username = kwargs.get('username', None) + self.password_secret_ref = kwargs.get('password_secret_ref', None) + + +class RegistryInfo(Model): + """Container App registry information. + + :param registry_url: registry server Url. + :type registry_url: str + :param registry_user_name: registry username. + :type registry_user_name: str + :param registry_password: registry secret. + :type registry_password: str + """ + + _attribute_map = { + 'registry_url': {'key': 'registryUrl', 'type': 'str'}, + 'registry_user_name': {'key': 'registryUserName', 'type': 'str'}, + 'registry_password': {'key': 'registryPassword', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(RegistryInfo, self).__init__(**kwargs) + self.registry_url = kwargs.get('registry_url', None) + self.registry_user_name = kwargs.get('registry_user_name', None) + self.registry_password = kwargs.get('registry_password', None) + + +class Replica(ProxyResource): + """Container App Revision Replica. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource. E.g. + "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy + and modifiedBy information. + :vartype system_data: ~commondefinitions.models.SystemData + :ivar created_time: Timestamp describing when the pod was created by + controller + :vartype created_time: datetime + :param containers: The containers collection under a replica. + :type containers: list[~commondefinitions.models.ReplicaContainer] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'created_time': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, + 'containers': {'key': 'properties.containers', 'type': '[ReplicaContainer]'}, + } + + def __init__(self, **kwargs): + super(Replica, self).__init__(**kwargs) + self.created_time = None + self.containers = kwargs.get('containers', None) + + +class ReplicaCollection(Model): + """Container App Revision Replicas collection ARM resource. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. Collection of resources. + :type value: list[~commondefinitions.models.Replica] + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Replica]'}, + } + + def __init__(self, **kwargs): + super(ReplicaCollection, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + + +class ReplicaContainer(Model): + """Container object under Container App Revision Replica. + + :param name: The Name of the Container + :type name: str + :param container_id: The Id of the Container + :type container_id: str + :param ready: The container ready status + :type ready: bool + :param started: The container start status + :type started: bool + :param restart_count: The container restart count + :type restart_count: int + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'container_id': {'key': 'containerId', 'type': 'str'}, + 'ready': {'key': 'ready', 'type': 'bool'}, + 'started': {'key': 'started', 'type': 'bool'}, + 'restart_count': {'key': 'restartCount', 'type': 'int'}, + } + + def __init__(self, **kwargs): + super(ReplicaContainer, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.container_id = kwargs.get('container_id', None) + self.ready = kwargs.get('ready', None) + self.started = kwargs.get('started', None) + self.restart_count = kwargs.get('restart_count', None) + + +class Revision(ProxyResource): + """Container App Revision. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource. E.g. + "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy + and modifiedBy information. + :vartype system_data: ~commondefinitions.models.SystemData + :ivar created_time: Timestamp describing when the revision was created + by controller + :vartype created_time: datetime + :ivar fqdn: Fully qualified domain name of the revision + :vartype fqdn: str + :ivar template: Container App Revision Template with all possible settings + and the + defaults if user did not provide them. The defaults are populated + as they were at the creation time + :vartype template: ~commondefinitions.models.Template + :ivar active: Boolean describing if the Revision is Active + :vartype active: bool + :ivar replicas: Number of pods currently running for this revision + :vartype replicas: int + :ivar traffic_weight: Traffic weight assigned to this revision + :vartype traffic_weight: int + :ivar provisioning_error: Optional Field - Platform Error Message + :vartype provisioning_error: str + :ivar health_state: Current health State of the revision. Possible values + include: 'Healthy', 'Unhealthy', 'None' + :vartype health_state: str or + ~commondefinitions.models.RevisionHealthState + :ivar provisioning_state: Current provisioning State of the revision. + Possible values include: 'Provisioning', 'Provisioned', 'Failed', + 'Deprovisioning', 'Deprovisioned' + :vartype provisioning_state: str or + ~commondefinitions.models.RevisionProvisioningState + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'created_time': {'readonly': True}, + 'fqdn': {'readonly': True}, + 'template': {'readonly': True}, + 'active': {'readonly': True}, + 'replicas': {'readonly': True}, + 'traffic_weight': {'readonly': True}, + 'provisioning_error': {'readonly': True}, + 'health_state': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, + 'fqdn': {'key': 'properties.fqdn', 'type': 'str'}, + 'template': {'key': 'properties.template', 'type': 'Template'}, + 'active': {'key': 'properties.active', 'type': 'bool'}, + 'replicas': {'key': 'properties.replicas', 'type': 'int'}, + 'traffic_weight': {'key': 'properties.trafficWeight', 'type': 'int'}, + 'provisioning_error': {'key': 'properties.provisioningError', 'type': 'str'}, + 'health_state': {'key': 'properties.healthState', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(Revision, self).__init__(**kwargs) + self.created_time = None + self.fqdn = None + self.template = None + self.active = None + self.replicas = None + self.traffic_weight = None + self.provisioning_error = None + self.health_state = None + self.provisioning_state = None + + +class RevisionCollection(Model): + """Container App Revisions collection ARM resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. Collection of resources. + :type value: list[~commondefinitions.models.Revision] + :ivar next_link: Link to next page of resources. + :vartype next_link: str + """ + + _validation = { + 'value': {'required': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Revision]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(RevisionCollection, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class Scale(Model): + """Container App scaling configurations. + + :param min_replicas: Optional. Minimum number of container replicas. + :type min_replicas: int + :param max_replicas: Optional. Maximum number of container replicas. + Defaults to 10 if not set. + :type max_replicas: int + :param rules: Scaling rules. + :type rules: list[~commondefinitions.models.ScaleRule] + """ + + _attribute_map = { + 'min_replicas': {'key': 'minReplicas', 'type': 'int'}, + 'max_replicas': {'key': 'maxReplicas', 'type': 'int'}, + 'rules': {'key': 'rules', 'type': '[ScaleRule]'}, + } + + def __init__(self, **kwargs): + super(Scale, self).__init__(**kwargs) + self.min_replicas = kwargs.get('min_replicas', None) + self.max_replicas = kwargs.get('max_replicas', None) + self.rules = kwargs.get('rules', None) + + +class ScaleRule(Model): + """Container App container scaling rule. + + :param name: Scale Rule Name + :type name: str + :param azure_queue: Azure Queue based scaling. + :type azure_queue: ~commondefinitions.models.QueueScaleRule + :param custom: Custom scale rule. + :type custom: ~commondefinitions.models.CustomScaleRule + :param http: HTTP requests based scaling. + :type http: ~commondefinitions.models.HttpScaleRule + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'azure_queue': {'key': 'azureQueue', 'type': 'QueueScaleRule'}, + 'custom': {'key': 'custom', 'type': 'CustomScaleRule'}, + 'http': {'key': 'http', 'type': 'HttpScaleRule'}, + } + + def __init__(self, **kwargs): + super(ScaleRule, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.azure_queue = kwargs.get('azure_queue', None) + self.custom = kwargs.get('custom', None) + self.http = kwargs.get('http', None) + + +class ScaleRuleAuth(Model): + """Auth Secrets for Container App Scale Rule. + + :param secret_ref: Name of the Container App secret from which to pull the + auth params. + :type secret_ref: str + :param trigger_parameter: Trigger Parameter that uses the secret + :type trigger_parameter: str + """ + + _attribute_map = { + 'secret_ref': {'key': 'secretRef', 'type': 'str'}, + 'trigger_parameter': {'key': 'triggerParameter', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ScaleRuleAuth, self).__init__(**kwargs) + self.secret_ref = kwargs.get('secret_ref', None) + self.trigger_parameter = kwargs.get('trigger_parameter', None) + + +class Secret(Model): + """Secret definition. + + :param name: Secret Name. + :type name: str + :param value: Secret Value. + :type value: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(Secret, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.value = kwargs.get('value', None) + + +class SecretsCollection(Model): + """Container App Secrets Collection ARM resource. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. Collection of resources. + :type value: list[~commondefinitions.models.ContainerAppSecret] + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ContainerAppSecret]'}, + } + + def __init__(self, **kwargs): + super(SecretsCollection, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + + +class SourceControl(ProxyResource): + """Container App SourceControl. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource. E.g. + "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy + and modifiedBy information. + :vartype system_data: ~commondefinitions.models.SystemData + :ivar operation_state: Current provisioning State of the operation. + Possible values include: 'InProgress', 'Succeeded', 'Failed', 'Canceled' + :vartype operation_state: str or + ~commondefinitions.models.SourceControlOperationState + :param repo_url: The repo url which will be integrated to ContainerApp. + :type repo_url: str + :param branch: The branch which will trigger the auto deployment + :type branch: str + :param github_action_configuration: Container App Revision Template with + all possible settings and the + defaults if user did not provide them. The defaults are populated + as they were at the creation time + :type github_action_configuration: + ~commondefinitions.models.GithubActionConfiguration + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'operation_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'operation_state': {'key': 'properties.operationState', 'type': 'str'}, + 'repo_url': {'key': 'properties.repoUrl', 'type': 'str'}, + 'branch': {'key': 'properties.branch', 'type': 'str'}, + 'github_action_configuration': {'key': 'properties.githubActionConfiguration', 'type': 'GithubActionConfiguration'}, + } + + def __init__(self, **kwargs): + super(SourceControl, self).__init__(**kwargs) + self.operation_state = None + self.repo_url = kwargs.get('repo_url', None) + self.branch = kwargs.get('branch', None) + self.github_action_configuration = kwargs.get('github_action_configuration', None) + + +class SourceControlCollection(Model): + """SourceControl collection ARM resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. Collection of resources. + :type value: list[~commondefinitions.models.SourceControl] + :ivar next_link: Link to next page of resources. + :vartype next_link: str + """ + + _validation = { + 'value': {'required': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[SourceControl]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(SourceControlCollection, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class SystemData(Model): + """Metadata pertaining to creation and last modification of the resource. + + :param created_by: The identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource. + Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key' + :type created_by_type: str or ~commondefinitions.models.CreatedByType + :param created_at: The timestamp of resource creation (UTC). + :type created_at: datetime + :param last_modified_by: The identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the + resource. Possible values include: 'User', 'Application', + 'ManagedIdentity', 'Key' + :type last_modified_by_type: str or + ~commondefinitions.models.CreatedByType + :param last_modified_at: The timestamp of resource last modification (UTC) + :type last_modified_at: datetime + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, + } + + def __init__(self, **kwargs): + super(SystemData, self).__init__(**kwargs) + self.created_by = kwargs.get('created_by', None) + self.created_by_type = kwargs.get('created_by_type', None) + self.created_at = kwargs.get('created_at', None) + self.last_modified_by = kwargs.get('last_modified_by', None) + self.last_modified_by_type = kwargs.get('last_modified_by_type', None) + self.last_modified_at = kwargs.get('last_modified_at', None) + + +class Template(Model): + """Container App versioned application definition. + Defines the desired state of an immutable revision. + Any changes to this section Will result in a new revision being created. + + :param revision_suffix: User friendly suffix that is appended to the + revision name + :type revision_suffix: str + :param containers: List of container definitions for the Container App. + :type containers: list[~commondefinitions.models.Container] + :param scale: Scaling properties for the Container App. + :type scale: ~commondefinitions.models.Scale + :param volumes: List of volume definitions for the Container App. + :type volumes: list[~commondefinitions.models.Volume] + """ + + _attribute_map = { + 'revision_suffix': {'key': 'revisionSuffix', 'type': 'str'}, + 'containers': {'key': 'containers', 'type': '[Container]'}, + 'scale': {'key': 'scale', 'type': 'Scale'}, + 'volumes': {'key': 'volumes', 'type': '[Volume]'}, + } + + def __init__(self, **kwargs): + super(Template, self).__init__(**kwargs) + self.revision_suffix = kwargs.get('revision_suffix', None) + self.containers = kwargs.get('containers', None) + self.scale = kwargs.get('scale', None) + self.volumes = kwargs.get('volumes', None) + + +class TrafficWeight(Model): + """Traffic weight assigned to a revision. + + :param revision_name: Name of a revision + :type revision_name: str + :param weight: Traffic weight assigned to a revision + :type weight: int + :param latest_revision: Indicates that the traffic weight belongs to a + latest stable revision. Default value: False . + :type latest_revision: bool + """ + + _attribute_map = { + 'revision_name': {'key': 'revisionName', 'type': 'str'}, + 'weight': {'key': 'weight', 'type': 'int'}, + 'latest_revision': {'key': 'latestRevision', 'type': 'bool'}, + } + + def __init__(self, **kwargs): + super(TrafficWeight, self).__init__(**kwargs) + self.revision_name = kwargs.get('revision_name', None) + self.weight = kwargs.get('weight', None) + self.latest_revision = kwargs.get('latest_revision', False) + + +class Twitter(Model): + """The configuration settings of the Twitter provider. + + :param state: Disabled if the Twitter provider should not be + enabled despite the set registration; otherwise, Enabled. + Possible values include: 'Enabled', 'Disabled' + :type state: str or ~commondefinitions.models.IdentityProviderState + :param registration: The configuration settings of the app registration + for the Twitter provider. + :type registration: ~commondefinitions.models.TwitterRegistration + """ + + _attribute_map = { + 'state': {'key': 'state', 'type': 'str'}, + 'registration': {'key': 'registration', 'type': 'TwitterRegistration'}, + } + + def __init__(self, **kwargs): + super(Twitter, self).__init__(**kwargs) + self.state = kwargs.get('state', None) + self.registration = kwargs.get('registration', None) + + +class TwitterRegistration(Model): + """The configuration settings of the app registration for the Twitter + provider. + + :param consumer_key: The OAuth 1.0a consumer key of the Twitter + application used for sign-in. + This setting is required for enabling Twitter Sign-In. + Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in + :type consumer_key: str + :param consumer_secret_ref_name: The app secret ref name that contains the + OAuth 1.0a consumer secret of the Twitter + application used for sign-in. + :type consumer_secret_ref_name: str + """ + + _attribute_map = { + 'consumer_key': {'key': 'consumerKey', 'type': 'str'}, + 'consumer_secret_ref_name': {'key': 'consumerSecretRefName', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(TwitterRegistration, self).__init__(**kwargs) + self.consumer_key = kwargs.get('consumer_key', None) + self.consumer_secret_ref_name = kwargs.get('consumer_secret_ref_name', None) + + +class UserAssignedIdentity(Model): + """User assigned identity properties. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar principal_id: The principal ID of the assigned identity. + :vartype principal_id: str + :ivar client_id: The client ID of the assigned identity. + :vartype client_id: str + """ + + _validation = { + 'principal_id': {'readonly': True}, + 'client_id': {'readonly': True}, + } + + _attribute_map = { + 'principal_id': {'key': 'principalId', 'type': 'str'}, + 'client_id': {'key': 'clientId', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(UserAssignedIdentity, self).__init__(**kwargs) + self.principal_id = None + self.client_id = None + + +class VnetConfiguration(Model): + """Configuration properties for apps environment to join a Virtual Network. + + :param internal: Boolean indicating the environment only has an internal + load balancer. These environments do not have a public static IP resource, + must provide ControlPlaneSubnetResourceId and AppSubnetResourceId if + enabling this property + :type internal: bool + :param infrastructure_subnet_id: Resource ID of a subnet for + infrastructure components. This subnet must be in the same VNET as the + subnet defined in runtimeSubnetId. Must not overlap with any other + provided IP ranges. + :type infrastructure_subnet_id: str + :param runtime_subnet_id: Resource ID of a subnet that Container App + containers are injected into. This subnet must be in the same VNET as the + subnet defined in infrastructureSubnetId. Must not overlap with any other + provided IP ranges. + :type runtime_subnet_id: str + :param docker_bridge_cidr: CIDR notation IP range assigned to the Docker + bridge, network. Must not overlap with any other provided IP ranges. + :type docker_bridge_cidr: str + :param platform_reserved_cidr: IP range in CIDR notation that can be + reserved for environment infrastructure IP addresses. Must not overlap + with any other provided IP ranges. + :type platform_reserved_cidr: str + :param platform_reserved_dns_ip: An IP address from the IP range defined + by platformReservedCidr that will be reserved for the internal DNS server. + :type platform_reserved_dns_ip: str + """ + + _attribute_map = { + 'internal': {'key': 'internal', 'type': 'bool'}, + 'infrastructure_subnet_id': {'key': 'infrastructureSubnetId', 'type': 'str'}, + 'runtime_subnet_id': {'key': 'runtimeSubnetId', 'type': 'str'}, + 'docker_bridge_cidr': {'key': 'dockerBridgeCidr', 'type': 'str'}, + 'platform_reserved_cidr': {'key': 'platformReservedCidr', 'type': 'str'}, + 'platform_reserved_dns_ip': {'key': 'platformReservedDnsIP', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(VnetConfiguration, self).__init__(**kwargs) + self.internal = kwargs.get('internal', None) + self.infrastructure_subnet_id = kwargs.get('infrastructure_subnet_id', None) + self.runtime_subnet_id = kwargs.get('runtime_subnet_id', None) + self.docker_bridge_cidr = kwargs.get('docker_bridge_cidr', None) + self.platform_reserved_cidr = kwargs.get('platform_reserved_cidr', None) + self.platform_reserved_dns_ip = kwargs.get('platform_reserved_dns_ip', None) + + +class Volume(Model): + """Volume definitions for the Container App. + + :param name: Volume name. + :type name: str + :param storage_type: Storage type for the volume. If not provided, use + EmptyDir. Possible values include: 'AzureFile', 'EmptyDir' + :type storage_type: str or ~commondefinitions.models.StorageType + :param storage_name: Name of storage resource. No need to provide for + EmptyDir. + :type storage_name: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'storage_type': {'key': 'storageType', 'type': 'str'}, + 'storage_name': {'key': 'storageName', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(Volume, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.storage_type = kwargs.get('storage_type', None) + self.storage_name = kwargs.get('storage_name', None) + + +class VolumeMount(Model): + """Volume mount for the Container App. + + :param volume_name: This must match the Name of a Volume. + :type volume_name: str + :param mount_path: Path within the container at which the volume should be + mounted.Must not contain ':'. + :type mount_path: str + """ + + _attribute_map = { + 'volume_name': {'key': 'volumeName', 'type': 'str'}, + 'mount_path': {'key': 'mountPath', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(VolumeMount, self).__init__(**kwargs) + self.volume_name = kwargs.get('volume_name', None) + self.mount_path = kwargs.get('mount_path', None) diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_ssh_utils.py b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_ssh_utils.py new file mode 100644 index 00000000000..057216a321f --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_ssh_utils.py @@ -0,0 +1,179 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +import os +import sys +import time +import threading +import urllib +import requests +import websocket + +from knack.log import get_logger +from azure.cli.core.azclierror import CLIInternalError +from azure.cli.core.commands.client_factory import get_subscription_id + +from ._clients import ContainerAppClient +from ._utils import safe_get, is_platform_windows + +# pylint: disable=import-error,ungrouped-imports +if is_platform_windows(): + import msvcrt + from azure.cli.command_modules.container._vt_helper import (enable_vt_mode, _get_conout_mode, + _set_conout_mode, _get_conin_mode, _set_conin_mode) + +logger = get_logger(__name__) + +# SSH control byte values for container app proxy +SSH_PROXY_FORWARD = 0 +SSH_PROXY_INFO = 1 +SSH_PROXY_ERROR = 2 + +# SSH control byte values for container app cluster +SSH_CLUSTER_STDIN = 0 +SSH_CLUSTER_STDOUT = 1 +SSH_CLUSTER_STDERR = 2 + +# forward byte + stdin byte +SSH_INPUT_PREFIX = b"\x00\x00" + +# forward byte + terminal resize byte +SSH_TERM_RESIZE_PREFIX = b"\x00\x04" + +SSH_DEFAULT_ENCODING = "utf-8" +SSH_BACKUP_ENCODING = "latin_1" + +SSH_CTRL_C_MSG = b"\x00\x00\x03" + + +class WebSocketConnection: + def __init__(self, cmd, resource_group_name, name, revision, replica, container, startup_command): + from websocket._exceptions import WebSocketBadStatusException + + token_response = ContainerAppClient.get_auth_token(cmd, resource_group_name, name) + self._token = token_response["properties"]["token"] + self._logstream_endpoint = token_response["properties"]["logStreamEndpoint"] + self._url = self._get_url(cmd=cmd, resource_group_name=resource_group_name, name=name, revision=revision, + replica=replica, container=container, startup_command=startup_command) + self._socket = websocket.WebSocket(enable_multithread=True) + logger.warning("Attempting to connect to %s", self._url) + self._socket.connect(self._url, header=[f"Authorization: Bearer {self._token}"]) + + self.is_connected = True + self._windows_conout_mode = None + self._windows_conin_mode = None + if is_platform_windows(): + self._windows_conout_mode = _get_conout_mode() + self._windows_conin_mode = _get_conin_mode() + + def _get_url(self, cmd, resource_group_name, name, revision, replica, container, startup_command): + sub = get_subscription_id(cmd.cli_ctx) + base_url = self._logstream_endpoint + proxy_api_url = base_url[:base_url.index("/subscriptions/")].replace("https://", "") + encoded_cmd = urllib.parse.quote_plus(startup_command) + + return (f"wss://{proxy_api_url}/subscriptions/{sub}/resourceGroups/{resource_group_name}/containerApps/{name}" + f"/revisions/{revision}/replicas/{replica}/containers/{container}/exec" + f"?command={encoded_cmd}") + + def disconnect(self): + logger.warning("Disconnecting...") + self.is_connected = False + self._socket.close() + if self._windows_conout_mode and self._windows_conin_mode: + _set_conout_mode(self._windows_conout_mode) + _set_conin_mode(self._windows_conin_mode) + + def send(self, *args, **kwargs): + return self._socket.send(*args, **kwargs) + + def recv(self, *args, **kwargs): + return self._socket.recv(*args, **kwargs) + + +def _decode_and_output_to_terminal(connection: WebSocketConnection, response, encodings): + for i, encoding in enumerate(encodings): + try: + print(response[2:].decode(encoding), end="", flush=True) + break + except UnicodeDecodeError as e: + if i == len(encodings) - 1: # ran out of encodings to try + connection.disconnect() + logger.info("Proxy Control Byte: %s", response[0]) + logger.info("Cluster Control Byte: %s", response[1]) + logger.info("Hexdump: %s", response[2:].hex()) + raise CLIInternalError("Failed to decode server data") from e + logger.info("Failed to encode with encoding %s", encoding) + + +def read_ssh(connection: WebSocketConnection, response_encodings): + # response_encodings is the ordered list of Unicode encodings to try to decode with before raising an exception + while connection.is_connected: + response = connection.recv() + if not response: + connection.disconnect() + else: + logger.info("Received raw response %s", response.hex()) + proxy_status = response[0] + if proxy_status == SSH_PROXY_INFO: + print(f"INFO: {response[1:].decode(SSH_DEFAULT_ENCODING)}") + elif proxy_status == SSH_PROXY_ERROR: + print(f"ERROR: {response[1:].decode(SSH_DEFAULT_ENCODING)}") + elif proxy_status == SSH_PROXY_FORWARD: + control_byte = response[1] + if control_byte in (SSH_CLUSTER_STDOUT, SSH_CLUSTER_STDERR): + _decode_and_output_to_terminal(connection, response, response_encodings) + else: + connection.disconnect() + raise CLIInternalError("Unexpected message received") + + +def _send_stdin(connection: WebSocketConnection, getch_fn): + while connection.is_connected: + _resize_terminal(connection) + ch = getch_fn() + _resize_terminal(connection) + if connection.is_connected: + connection.send(b"".join([SSH_INPUT_PREFIX, ch])) + + +def _resize_terminal(connection: WebSocketConnection): + size = os.get_terminal_size() + if connection.is_connected: + connection.send(b"".join([SSH_TERM_RESIZE_PREFIX, + f'{{"Width": {size.columns}, ' + f'"Height": {size.lines}}}'.encode(SSH_DEFAULT_ENCODING)])) + + +def _getch_unix(): + return sys.stdin.read(1).encode(SSH_DEFAULT_ENCODING) + + +def _getch_windows(): + while not msvcrt.kbhit(): + time.sleep(0.01) + return msvcrt.getch() + + +def ping_container_app(app): + site = safe_get(app, "properties", "configuration", "ingress", "fqdn") + if site: + resp = requests.get(f'https://{site}') + if not resp.ok: + logger.info(f"Got bad status pinging app: {resp.status_code}") + else: + logger.info("Could not fetch site external URL") + + +def get_stdin_writer(connection: WebSocketConnection): + if not is_platform_windows(): + import tty + tty.setcbreak(sys.stdin.fileno()) # needed to prevent printing arrow key characters + writer = threading.Thread(target=_send_stdin, args=(connection, _getch_unix)) + else: + enable_vt_mode() # needed for interactive commands (ie vim) + writer = threading.Thread(target=_send_stdin, args=(connection, _getch_windows)) + + return writer diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_up_utils.py b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_up_utils.py new file mode 100644 index 00000000000..013baabc681 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_up_utils.py @@ -0,0 +1,784 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- +# pylint: disable=line-too-long, consider-using-f-string, no-else-return, duplicate-string-formatting-argument, expression-not-assigned, too-many-locals, logging-fstring-interpolation, arguments-differ, abstract-method, logging-format-interpolation, broad-except + + +from urllib.parse import urlparse +import requests + +from azure.cli.core.azclierror import ( + RequiredArgumentMissingError, + ValidationError, + InvalidArgumentValueError, + MutuallyExclusiveArgumentError, +) +from azure.cli.core.commands.client_factory import get_subscription_id +from azure.cli.command_modules.appservice._create_util import ( + check_resource_group_exists, +) +from azure.cli.command_modules.acr.custom import acr_show +from azure.cli.core.commands.client_factory import get_mgmt_service_client +from azure.mgmt.containerregistry import ContainerRegistryManagementClient +from knack.log import get_logger + +from msrestazure.tools import parse_resource_id, is_valid_resource_id, resource_id + +from ._clients import ManagedEnvironmentClient, ContainerAppClient, GitHubActionClient + +from ._utils import ( + get_randomized_name, + get_profile_username, + create_resource_group, + get_resource_group, + queue_acr_build, + _get_acr_cred, + create_new_acr, + _get_default_containerapps_location, + safe_get, + is_int, + create_service_principal_for_rbac, + repo_url_to_name, + get_container_app_if_exists, + trigger_workflow +) + +from ._constants import MAXIMUM_SECRET_LENGTH + +from .custom import ( + create_managed_environment, + containerapp_up_logic, + list_containerapp, + list_managed_environments, + create_or_update_github_action, +) + +logger = get_logger(__name__) + + +class ResourceGroup: + def __init__(self, cmd, name: str, location: str, exists: bool = None): + self.cmd = cmd + self.name = name + self.location = _get_default_containerapps_location(cmd, location) + self.exists = exists + + self.check_exists() + + def create(self): + g = create_resource_group(self.cmd, self.name, self.location) + self.exists = True + return g + + def _get(self): + return get_resource_group(self.cmd, self.name) + + def get(self): + r = None + try: + r = self._get() + except: # pylint: disable=bare-except + pass + return r + + def check_exists(self) -> bool: + if self.name is None: + self.exists = False + else: + self.exists = check_resource_group_exists(self.cmd, self.name) + return self.exists + + def create_if_needed(self): + if not self.check_exists(): + if not self.name: + self.name = get_randomized_name(get_profile_username()) + logger.warning(f"Creating resource group '{self.name}'") + self.create() + else: + logger.warning(f"Using resource group '{self.name}'") # TODO use .info() + + +class Resource: + def __init__( + self, cmd, name: str, resource_group: "ResourceGroup", exists: bool = None + ): + self.cmd = cmd + self.name = name + self.resource_group = resource_group + self.exists = exists + + self.check_exists() + + def create(self, *args, **kwargs): + raise NotImplementedError() + + def _get(self): + raise NotImplementedError() + + def get(self): + r = None + try: + r = self._get() + except: # pylint: disable=bare-except + pass + return r + + def check_exists(self): + if self.name is None or self.resource_group.name is None: + self.exists = False + else: + self.exists = self.get() is not None + return self.exists + + +class ContainerAppEnvironment(Resource): + def __init__( + self, + cmd, + name: str, + resource_group: "ResourceGroup", + exists: bool = None, + location=None, + logs_key=None, + logs_customer_id=None, + ): + + super().__init__(cmd, name, resource_group, exists) + if is_valid_resource_id(name): + self.name = parse_resource_id(name)["name"] + if "resource_group" in parse_resource_id(name): + rg = parse_resource_id(name)["resource_group"] + if resource_group.name != rg: + self.resource_group = ResourceGroup(cmd, rg, location) + self.location = _get_default_containerapps_location(cmd, location) + self.logs_key = logs_key + self.logs_customer_id = logs_customer_id + + def set_name(self, name_or_rid): + if is_valid_resource_id(name_or_rid): + self.name = parse_resource_id(name_or_rid)["name"] + if "resource_group" in parse_resource_id(name_or_rid): + rg = parse_resource_id(name_or_rid)["resource_group"] + if self.resource_group.name != rg: + self.resource_group = ResourceGroup( + self.cmd, + rg, + _get_default_containerapps_location(self.cmd, self.location), + ) + else: + self.name = name_or_rid + + def _get(self): + return ManagedEnvironmentClient.show( + self.cmd, self.resource_group.name, self.name + ) + + def create_if_needed(self, app_name): + if not self.check_exists(): + if self.name is None: + self.name = "{}-env".format(app_name).replace("_", "-") + logger.warning( + f"Creating {type(self).__name__} '{self.name}' in resource group {self.resource_group.name}" + ) + self.create() + else: + logger.warning( + f"Using {type(self).__name__} '{self.name}' in resource group {self.resource_group.name}" + ) # TODO use .info() + + def create(self): + env = create_managed_environment( + self.cmd, + self.name, + location=self.location, + resource_group_name=self.resource_group.name, + logs_key=self.logs_key, + logs_customer_id=self.logs_customer_id, + disable_warnings=True, + ) + self.exists = True + return env + + def get_rid(self): + rid = self.name + if not is_valid_resource_id(self.name): + rid = resource_id( + subscription=get_subscription_id(self.cmd.cli_ctx), + resource_group=self.resource_group.name, + namespace="Microsoft.App", + type="managedEnvironments", + name=self.name, + ) + return rid + + +class AzureContainerRegistry(Resource): + def __init__(self, name: str, resource_group: "ResourceGroup"): # pylint: disable=super-init-not-called + + self.name = name + self.resource_group = resource_group + + +class ContainerApp(Resource): # pylint: disable=too-many-instance-attributes + def __init__( + self, + cmd, + name: str, + resource_group: "ResourceGroup", + exists: bool = None, + image=None, + env: "ContainerAppEnvironment" = None, + target_port=None, + registry_server=None, + registry_user=None, + registry_pass=None, + env_vars=None, + ingress=None, + ): + + super().__init__(cmd, name, resource_group, exists) + self.image = image + self.env = env + self.target_port = target_port + self.registry_server = registry_server + self.registry_user = registry_user + self.registry_pass = registry_pass + self.env_vars = env_vars + self.ingress = ingress + + self.should_create_acr = False + self.acr: "AzureContainerRegistry" = None + + def _get(self): + return ContainerAppClient.show(self.cmd, self.resource_group.name, self.name) + + def create(self, no_registry=False): + # no_registry: don't pass in a registry during create even if the app has one (used for GH actions) + if get_container_app_if_exists(self.cmd, self.resource_group.name, self.name): + logger.warning( + f"Updating Containerapp {self.name} in resource group {self.resource_group.name}" + ) + else: + logger.warning( + f"Creating Containerapp {self.name} in resource group {self.resource_group.name}" + ) + + return containerapp_up_logic( + cmd=self.cmd, + name=self.name, + resource_group_name=self.resource_group.name, + image=self.image, + managed_env=self.env.get_rid(), + target_port=self.target_port, + registry_server=None if no_registry else self.registry_server, + registry_pass=None if no_registry else self.registry_pass, + registry_user=None if no_registry else self.registry_user, + env_vars=self.env_vars, + ingress=self.ingress, + ) + + def create_acr_if_needed(self): + if self.should_create_acr: + logger.warning( + f"Creating Azure Container Registry {self.acr.name} in resource group " + f"{self.acr.resource_group.name}" + ) + self.create_acr() + + def create_acr(self): + registry_rg = self.resource_group + url = self.registry_server + registry_name = url[: url.rindex(".azurecr.io")] + registry_def = create_new_acr( + self.cmd, registry_name, registry_rg.name, self.env.location + ) + self.registry_server = registry_def.login_server + + if not self.acr: + self.acr = AzureContainerRegistry(registry_name, registry_rg) + + self.registry_user, self.registry_pass, _ = _get_acr_cred( + self.cmd.cli_ctx, registry_name + ) + + def run_acr_build(self, dockerfile, source, quiet=False): + image_name = self.image if self.image is not None else self.name + from datetime import datetime + + now = datetime.now() + # Add version tag for acr image + image_name += ":{}".format( + str(now).replace(" ", "").replace("-", "").replace(".", "").replace(":", "") + ) + + self.image = self.registry_server + "/" + image_name + + queue_acr_build( + self.cmd, + self.acr.resource_group.name, + self.acr.name, + image_name, + source, + dockerfile, + quiet, + ) + + +def _create_service_principal(cmd, resource_group_name, env_resource_group_name): + logger.warning( + "No valid service principal provided. Creating a new service principal..." + ) + scopes = [ + f"/subscriptions/{get_subscription_id(cmd.cli_ctx)}/resourceGroups/{resource_group_name}" + ] + if ( + env_resource_group_name is not None + and env_resource_group_name != resource_group_name + ): + scopes.append( + f"/subscriptions/{get_subscription_id(cmd.cli_ctx)}/resourceGroups/{env_resource_group_name}" + ) + sp = create_service_principal_for_rbac(cmd, scopes=scopes, role="contributor") + + logger.warning(f"Created service principal: {sp['displayName']} with ID {sp['appId']}") + + return sp["appId"], sp["password"], sp["tenant"] + + +def _get_or_create_sp( # pylint: disable=inconsistent-return-statements + cmd, + resource_group_name, + env_resource_group_name, + name, + service_principal_client_id, + service_principal_client_secret, + service_principal_tenant_id, +): + if service_principal_client_id and service_principal_client_secret and service_principal_tenant_id: + return ( + service_principal_client_id, + service_principal_client_secret, + service_principal_tenant_id, + ) + try: + GitHubActionClient.show( + cmd=cmd, resource_group_name=resource_group_name, name=name + ) + return ( + service_principal_client_id, + service_principal_client_secret, + service_principal_tenant_id, + ) + except: # pylint: disable=bare-except + service_principal = None + + # TODO if possible, search for SPs with the right credentials + # I haven't found a way to get SP creds + secrets yet from the API + + if not service_principal: + return _create_service_principal( + cmd, resource_group_name, env_resource_group_name + ) + # return client_id, secret, tenant_id + + +def _get_dockerfile_content_from_repo( + repo_url, branch, token, context_path, dockerfile +): + from github import Github + + g = Github(token) + context_path = context_path or "." + repo = repo_url_to_name(repo_url) + try: + r = g.get_repo(repo) + except Exception as e: + raise ValidationError(f"Could not find repo {repo_url}") from e + try: + files = r.get_contents(context_path, ref=branch) + except Exception as e: + raise ValidationError(f"Could not find branch {branch}") from e + for f in files: + if f.path == dockerfile or f.path.endswith(f"/{dockerfile}"): + resp = requests.get(f.download_url) + if resp.ok and resp.content: + return resp.content.decode("utf-8").split("\n") + raise ValidationError("Could not find Dockerfile in Github repo/branch. Please ensure it is named 'Dockerfile'. " + "Set the path with --context-path if not in the root directory.") + + +def _get_ingress_and_target_port(ingress, target_port, dockerfile_content: "list[str]"): + if not target_port and not ingress and dockerfile_content is not None: # pylint: disable=too-many-nested-blocks + for line in dockerfile_content: + if line: + line = ( + line.upper() + .strip() + .replace("/TCP", "") + .replace("/UDP", "") + .replace("\n", "") + ) + if line and line[0] != "#": + if "EXPOSE" in line: + parts = line.split(" ") + for i, p in enumerate(parts[:-1]): + if "EXPOSE" in p and is_int(parts[i + 1]): + target_port = parts[i + 1] + ingress = "external" + logger.warning( + "Adding external ingress port {} based on dockerfile expose.".format( + target_port + ) + ) + ingress = "external" if target_port and not ingress else ingress + return ingress, target_port + + +def _validate_up_args(source, image, repo, registry_server): + if not source and not image and not repo: + raise RequiredArgumentMissingError( + "You must specify either --source, --repo, or --image" + ) + if source and repo: + raise MutuallyExclusiveArgumentError( + "Cannot use --source and --repo togther. " + "Can either deploy from a local directory or a Github repo" + ) + if repo and registry_server and "azurecr.io" in registry_server: + parsed = urlparse(registry_server) + registry_name = (parsed.netloc if parsed.scheme else parsed.path).split(".")[0] + if registry_name and len(registry_name) > MAXIMUM_SECRET_LENGTH: + raise ValidationError(f"--registry-server ACR name must be less than {MAXIMUM_SECRET_LENGTH} " + "characters when using --repo") + + +def _reformat_image(source, repo, image): + if source and (image or repo): + image = image.split("/")[-1] # if link is given + image = image.replace(":", "") + return image + + +def _get_dockerfile_content_local(source, dockerfile): + lines = [] + if source: + dockerfile_location = f"{source}/{dockerfile}" + try: + with open(dockerfile_location, "r") as fh: # pylint: disable=unspecified-encoding + lines = list(fh) + except Exception as e: + raise InvalidArgumentValueError( + "Cannot open specified Dockerfile. Check dockerfile name, path, and permissions." + ) from e + return lines + + +def _get_dockerfile_content(repo, branch, token, source, context_path, dockerfile): + if source: + return _get_dockerfile_content_local(source, dockerfile) + elif repo: + return _get_dockerfile_content_from_repo( + repo, branch, token, context_path, dockerfile + ) + return [] + + +def _get_app_env_and_group( + cmd, name, resource_group: "ResourceGroup", env: "ContainerAppEnvironment", location +): + if not resource_group.name and not resource_group.exists: + matched_apps = [c for c in list_containerapp(cmd) if c["name"].lower() == name.lower()] + if env.name: + matched_apps = [c for c in matched_apps if parse_resource_id(c["properties"]["managedEnvironmentId"])["name"].lower() == env.name.lower()] + if location: + matched_apps = [c for c in matched_apps if c["location"].lower() == location.lower()] + if len(matched_apps) == 1: + resource_group.name = parse_resource_id(matched_apps[0]["id"])[ + "resource_group" + ] + env.set_name(matched_apps[0]["properties"]["managedEnvironmentId"]) + elif len(matched_apps) > 1: + raise ValidationError( + f"There are multiple containerapps with name {name} on the subscription. " + "Please specify which resource group your Containerapp is in." + ) + + +def _get_env_and_group_from_log_analytics( + cmd, + resource_group_name, + env: "ContainerAppEnvironment", + resource_group: "ResourceGroup", + logs_customer_id, + location, +): + # resource_group_name is the value the user passed in (if present) + if not env.name: + if (resource_group_name == resource_group.name and resource_group.exists) or ( + not resource_group_name + ): + env_list = list_managed_environments( + cmd=cmd, resource_group_name=resource_group_name + ) + if logs_customer_id: + env_list = [ + e + for e in env_list + if safe_get( + e, + "properties", + "appLogsConfiguration", + "logAnalyticsConfiguration", + "customerId", + ) + == logs_customer_id + ] + if location: + env_list = [e for e in env_list if e["location"] == location] + if env_list: + # TODO check how many CA in env + env_details = parse_resource_id(env_list[0]["id"]) + env.set_name(env_details["name"]) + resource_group.name = env_details["resource_group"] + + +def _get_acr_from_image(cmd, app): + if app.image is not None and "azurecr.io" in app.image: + app.registry_server = app.image.split("/")[ + 0 + ] # TODO what if this conflicts with registry_server param? + parsed = urlparse(app.image) + registry_name = (parsed.netloc if parsed.scheme else parsed.path).split(".")[0] + if app.registry_user is None or app.registry_pass is None: + logger.info( + "No credential was provided to access Azure Container Registry. Trying to look up..." + ) + try: + app.registry_user, app.registry_pass, registry_rg = _get_acr_cred( + cmd.cli_ctx, registry_name + ) + app.acr = AzureContainerRegistry( + registry_name, ResourceGroup(cmd, registry_rg, None, None) + ) + except Exception as ex: + raise RequiredArgumentMissingError( + "Failed to retrieve credentials for container registry. Please provide the registry username and password" + ) from ex + else: + acr_rg = _get_acr_rg(app) + app.acr = AzureContainerRegistry( + name=registry_name, + resource_group=ResourceGroup(app.cmd, acr_rg, None, None), + ) + + +def _get_registry_from_app(app): + containerapp_def = app.get() + if containerapp_def: + if ( + len( + safe_get( + containerapp_def, + "properties", + "configuration", + "registries", + default=[], + ) + ) + == 1 + ): + app.registry_server = containerapp_def["properties"]["configuration"][ + "registries" + ][0]["server"] + + +def _get_acr_rg(app): + registry_name = app.registry_server[: app.registry_server.rindex(".azurecr.io")] + client = get_mgmt_service_client( + app.cmd.cli_ctx, ContainerRegistryManagementClient + ).registries + return parse_resource_id(acr_show(app.cmd, client, registry_name).id)[ + "resource_group" + ] + + +def _get_default_registry_name(app): + import hashlib + + h = hashlib.sha256() + h.update(f"{get_subscription_id(app.cmd.cli_ctx)}/{app.env.resource_group.name}/{app.env.name}".encode("utf-8")) + + registry_name = f"{h.hexdigest()}"[:10] # cap at 15 characters total + return f"ca{registry_name}acr" # ACR names must start + end in a letter + + +def _set_acr_creds(cmd, app: "ContainerApp", registry_name): + logger.info("No credential was provided to access Azure Container Registry. Trying to look up...") + try: + app.registry_user, app.registry_pass, registry_rg = _get_acr_cred( + cmd.cli_ctx, registry_name + ) + return registry_rg + except Exception as ex: + raise RequiredArgumentMissingError( + "Failed to retrieve credentials for container registry. Please provide the registry username and password" + ) from ex + + +def _get_registry_details(cmd, app: "ContainerApp", source): + registry_rg = None + registry_name = None + if app.registry_server: + if "azurecr.io" not in app.registry_server and source: + raise ValidationError( + "Cannot supply non-Azure registry when using --source." + ) + parsed = urlparse(app.registry_server) + registry_name = (parsed.netloc if parsed.scheme else parsed.path).split(".")[0] + if app.registry_user is None or app.registry_pass is None: + registry_rg = _set_acr_creds(cmd, app, registry_name) + else: + registry_rg = _get_acr_rg(app) + else: + registry_name, registry_rg = find_existing_acr(cmd, app) + if registry_name and registry_rg: + _set_acr_creds(cmd, app, registry_name) + app.registry_server = registry_name + ".azurecr.io" + else: + registry_rg = app.resource_group.name + registry_name = _get_default_registry_name(app) + app.registry_server = registry_name + ".azurecr.io" + app.should_create_acr = True + + app.acr = AzureContainerRegistry( + registry_name, ResourceGroup(cmd, registry_rg, None, None) + ) + + +# attempt to populate defaults for managed env, RG, ACR, etc +def _set_up_defaults( + cmd, + name, + resource_group_name, + logs_customer_id, + location, + resource_group: "ResourceGroup", + env: "ContainerAppEnvironment", + app: "ContainerApp", +): + # If no RG passed in and a singular app exists with the same name, get its env and rg + _get_app_env_and_group(cmd, name, resource_group, env, location) + + # If no env passed in (and not creating a new RG), then try getting an env by location / log analytics ID + _get_env_and_group_from_log_analytics( + cmd, resource_group_name, env, resource_group, logs_customer_id, location + ) + + # try to set RG name by env name + if env.name and not resource_group.name: + if not location: + env_list = [e for e in list_managed_environments(cmd=cmd) if e["name"] == env.name] + else: + env_list = [e for e in list_managed_environments(cmd=cmd) if e["name"] == env.name and e["location"] == location] + if len(env_list) == 1: + resource_group.name = parse_resource_id(env_list[0]["id"])["resource_group"] + if len(env_list) > 1: + raise ValidationError( + f"There are multiple environments with name {env.name} on the subscription. " + "Please specify which resource group your Containerapp environment is in." + ) # get ACR details from --image, if possible + _get_acr_from_image(cmd, app) + + +def _create_github_action( + app: "ContainerApp", + env: "ContainerAppEnvironment", + service_principal_client_id, + service_principal_client_secret, + service_principal_tenant_id, + branch, + token, + repo, + context_path, +): + + sp = _get_or_create_sp( + app.cmd, + app.resource_group.name, + env.resource_group.name, + app.name, + service_principal_client_id, + service_principal_client_secret, + service_principal_tenant_id, + ) + ( + service_principal_client_id, + service_principal_client_secret, + service_principal_tenant_id, + ) = sp + + # need to trigger the workflow manually if it already exists (performing an update) + try: + action = GitHubActionClient.show(cmd=app.cmd, resource_group_name=app.resource_group.name, name=app.name) + if action: + trigger_workflow(token, repo, app.name, branch) + except: # pylint: disable=bare-except + pass + + create_or_update_github_action( + cmd=app.cmd, + name=app.name, + resource_group_name=app.resource_group.name, + repo_url=repo, + registry_url=app.registry_server, + registry_username=app.registry_user, + registry_password=app.registry_pass, + branch=branch, + token=token, + login_with_github=False, + service_principal_client_id=service_principal_client_id, + service_principal_client_secret=service_principal_client_secret, + service_principal_tenant_id=service_principal_tenant_id, + image=app.image, + context_path=context_path, + ) + + +def up_output(app): + url = safe_get( + ContainerAppClient.show(app.cmd, app.resource_group.name, app.name), + "properties", + "configuration", + "ingress", + "fqdn", + ) + if url and not url.startswith("http"): + url = f"http://{url}" + + logger.warning( + f"\nYour container app {app.name} has been created and deployed! Congrats! \n" + ) + url and logger.warning(f"Browse to your container app at: {url} \n") + logger.warning( + f"Stream logs for your container with: az containerapp logs show -n {app.name} -g {app.resource_group.name} \n" + ) + logger.warning( + f"See full output using: az containerapp show -n {app.name} -g {app.resource_group.name} \n" + ) + + +def find_existing_acr(cmd, app: "ContainerApp"): + from azure.cli.command_modules.acr._client_factory import cf_acr_registries + client = cf_acr_registries(cmd.cli_ctx) + + acr = None + try: + acr = acr_show(cmd, client=client, registry_name=_get_default_registry_name(app)) + except Exception: + pass + + if acr: + app.should_create_acr = False + return acr.name, parse_resource_id(acr.id)["resource_group"] + return None, None diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_utils.py b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_utils.py new file mode 100644 index 00000000000..d33065a6288 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_utils.py @@ -0,0 +1,1050 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- +# pylint: disable=line-too-long, consider-using-f-string, no-else-return, duplicate-string-formatting-argument, expression-not-assigned, too-many-locals, logging-fstring-interpolation + +import time +import json +import platform + +from urllib.parse import urlparse +from datetime import datetime +from dateutil.relativedelta import relativedelta +from azure.cli.core.azclierror import (ValidationError, RequiredArgumentMissingError, CLIInternalError, + ResourceNotFoundError, ArgumentUsageError) +from azure.cli.core.commands.client_factory import get_subscription_id +from knack.log import get_logger +from msrestazure.tools import parse_resource_id, is_valid_resource_id, resource_id + +from ._clients import ContainerAppClient +from ._client_factory import handle_raw_exception, providers_client_factory, cf_resource_groups, log_analytics_client_factory, log_analytics_shared_key_client_factory +from ._constants import MAXIMUM_CONTAINER_APP_NAME_LENGTH, SHORT_POLLING_INTERVAL_SECS, LONG_POLLING_INTERVAL_SECS + +logger = get_logger(__name__) + + +def validate_container_app_name(name): + if name and len(name) > MAXIMUM_CONTAINER_APP_NAME_LENGTH: + raise ValidationError(f"Container App names cannot be longer than {MAXIMUM_CONTAINER_APP_NAME_LENGTH}. " + f"Please shorten {name}") + + +# original implementation at azure.cli.command_modules.role.custom.create_service_principal_for_rbac +# reimplemented to remove incorrect warning statements +def create_service_principal_for_rbac( # pylint:disable=too-many-statements,too-many-locals, too-many-branches, unused-argument, inconsistent-return-statements + cmd, name=None, years=None, create_cert=False, cert=None, scopes=None, role=None, + show_auth_for_sdk=None, skip_assignment=False, keyvault=None): + from azure.cli.command_modules.role.custom import (_graph_client_factory, TZ_UTC, _process_service_principal_creds, + _validate_app_dates, create_application, + _create_service_principal, _create_role_assignment, + _error_caused_by_role_assignment_exists) + + if role and not scopes or not role and scopes: + raise ArgumentUsageError("Usage error: To create role assignments, specify both --role and --scopes.") + + graph_client = _graph_client_factory(cmd.cli_ctx) + + years = years or 1 + _RETRY_TIMES = 36 + existing_sps = None + + if not name: + # No name is provided, create a new one + app_display_name = 'azure-cli-' + datetime.utcnow().strftime('%Y-%m-%d-%H-%M-%S') + else: + app_display_name = name + # patch existing app with the same displayName to make the command idempotent + query_exp = "displayName eq '{}'".format(name) + existing_sps = list(graph_client.service_principals.list(filter=query_exp)) + + app_start_date = datetime.now(TZ_UTC) + app_end_date = app_start_date + relativedelta(years=years or 1) + + password, public_cert_string, cert_file, cert_start_date, cert_end_date = \ + _process_service_principal_creds(cmd.cli_ctx, years, app_start_date, app_end_date, cert, create_cert, + None, keyvault) + + app_start_date, app_end_date, cert_start_date, cert_end_date = \ + _validate_app_dates(app_start_date, app_end_date, cert_start_date, cert_end_date) + + aad_application = create_application(cmd, + display_name=app_display_name, + available_to_other_tenants=False, + password=password, + key_value=public_cert_string, + start_date=app_start_date, + end_date=app_end_date, + credential_description='rbac') + # pylint: disable=no-member + app_id = aad_application.app_id + + # retry till server replication is done + aad_sp = existing_sps[0] if existing_sps else None + if not aad_sp: + for retry_time in range(0, _RETRY_TIMES): + try: + aad_sp = _create_service_principal(cmd.cli_ctx, app_id, resolve_app=False) + break + except Exception as ex: # pylint: disable=broad-except + err_msg = str(ex) + if retry_time < _RETRY_TIMES and ( + ' does not reference ' in err_msg or + ' does not exist ' in err_msg or + 'service principal being created must in the local tenant' in err_msg): + logger.warning("Creating service principal failed with error '%s'. Retrying: %s/%s", + err_msg, retry_time + 1, _RETRY_TIMES) + time.sleep(5) + else: + logger.warning( + "Creating service principal failed for '%s'. Trace followed:\n%s", + app_id, ex.response.headers + if hasattr(ex, 'response') else ex) # pylint: disable=no-member + raise + sp_oid = aad_sp.object_id + + if role: + for scope in scopes: + # logger.warning("Creating '%s' role assignment under scope '%s'", role, scope) + # retry till server replication is done + for retry_time in range(0, _RETRY_TIMES): + try: + _create_role_assignment(cmd.cli_ctx, role, sp_oid, None, scope, resolve_assignee=False, + assignee_principal_type='ServicePrincipal') + break + except Exception as ex: + if retry_time < _RETRY_TIMES and ' does not exist in the directory ' in str(ex): + time.sleep(5) + logger.warning(' Retrying role assignment creation: %s/%s', retry_time + 1, + _RETRY_TIMES) + continue + if _error_caused_by_role_assignment_exists(ex): + logger.warning(' Role assignment already exists.\n') + break + + # dump out history for diagnoses + logger.warning(' Role assignment creation failed.\n') + if getattr(ex, 'response', None) is not None: + logger.warning(' role assignment response headers: %s\n', + ex.response.headers) # pylint: disable=no-member + raise + + if show_auth_for_sdk: + from azure.cli.core._profile import Profile + profile = Profile(cli_ctx=cmd.cli_ctx) + result = profile.get_sp_auth_info(scopes[0].split('/')[2] if scopes else None, + app_id, password, cert_file) + # sdk-auth file should be in json format all the time, hence the print + print(json.dumps(result, indent=2)) + return + + result = { + 'appId': app_id, + 'password': password, + 'displayName': app_display_name, + 'tenant': graph_client.config.tenant_id + } + if cert_file: + logger.warning( + "Please copy %s to a safe place. When you run 'az login', provide the file path in the --password argument", + cert_file) + result['fileWithCertAndPrivateKey'] = cert_file + return result + + +def is_int(s): + try: + int(s) + return True + except ValueError: + pass + return False + + +def get_github_repo(token, repo): + from github import Github + + g = Github(token) + return g.get_repo(repo) + + +def get_workflow(github_repo, name): # pylint: disable=inconsistent-return-statements + workflows = list(github_repo.get_workflows()) + workflows.sort(key=lambda r: r.created_at, reverse=True) # sort by latest first + for wf in workflows: + if wf.path.startswith(f".github/workflows/{name}") and "Trigger auto deployment for containerapp" in wf.name: + return wf + + +def trigger_workflow(token, repo, name, branch): + logger.warning("Triggering Github Action") + get_workflow(get_github_repo(token, repo), name).create_dispatch(branch) + + +def await_github_action(cmd, token, repo, branch, name, resource_group_name, timeout_secs=1200): + from .custom import show_github_action + from ._clients import PollingAnimation + + start = datetime.utcnow() + animation = PollingAnimation() + animation.tick() + + github_repo = get_github_repo(token, repo) + + gh_action_status = "InProgress" + while gh_action_status == "InProgress": + time.sleep(SHORT_POLLING_INTERVAL_SECS) + animation.tick() + gh_action_status = safe_get(show_github_action(cmd, name, resource_group_name), "properties", "operationState") + if (datetime.utcnow() - start).seconds >= timeout_secs: + raise CLIInternalError("Timed out while waiting for the Github action to be created.") + animation.flush() + if gh_action_status == "Failed": + raise CLIInternalError("The Github Action creation failed.") # TODO ask backend team for a status url / message + + workflow = None + while workflow is None: + animation.tick() + time.sleep(SHORT_POLLING_INTERVAL_SECS) + workflow = get_workflow(github_repo, name) + animation.flush() + + if (datetime.utcnow() - start).seconds >= timeout_secs: + raise CLIInternalError("Timed out while waiting for the Github action to start.") + + runs = workflow.get_runs() + while runs is None or not [r for r in runs if r.status in ('queued', 'in_progress')]: + time.sleep(SHORT_POLLING_INTERVAL_SECS) + runs = workflow.get_runs() + if (datetime.utcnow() - start).seconds >= timeout_secs: + raise CLIInternalError("Timed out while waiting for the Github action to be started.") + runs = [r for r in runs if r.status in ('queued', 'in_progress')] + runs.sort(key=lambda r: r.created_at, reverse=True) + run = runs[0] # run with the latest created_at date that's either in progress or queued + logger.warning(f"Github action run: https://github.com/{repo}/actions/runs/{run.id}") + logger.warning("Waiting for deployment to complete...") + run_id = run.id + status = run.status + while status in ('queued', 'in_progress'): + time.sleep(LONG_POLLING_INTERVAL_SECS) + animation.tick() + status = github_repo.get_workflow_run(run_id).status + animation.flush() + if (datetime.utcnow() - start).seconds >= timeout_secs: + raise CLIInternalError("Timed out while waiting for the Github action to complete.") + + animation.flush() # needed to clear the animation from the terminal + run = github_repo.get_workflow_run(run_id) + if run.status != "completed" or run.conclusion != "success": + raise ValidationError("Github action build or deployment failed. " + f"Please see https://github.com/{repo}/actions/runs/{run.id} for more details") + + +def repo_url_to_name(repo_url): + repo = None + repo = repo_url.split('/') + if len(repo) >= 2: + repo = '/'.join(repo[-2:]) + return repo + + +def _get_location_from_resource_group(cli_ctx, resource_group_name): + client = cf_resource_groups(cli_ctx) + group = client.get(resource_group_name) + return group.location + + +def _validate_subscription_registered(cmd, resource_provider, subscription_id=None): + providers_client = None + if not subscription_id: + subscription_id = get_subscription_id(cmd.cli_ctx) + + try: + providers_client = providers_client_factory(cmd.cli_ctx, subscription_id) + registration_state = getattr(providers_client.get(resource_provider), 'registration_state', "NotRegistered") + + if not (registration_state and registration_state.lower() == 'registered'): + raise ValidationError('Subscription {} is not registered for the {} resource provider. Please run \"az provider register -n {} --wait\" to register your subscription.'.format( + subscription_id, resource_provider, resource_provider)) + except ValidationError as ex: + raise ex + except Exception: # pylint: disable=broad-except + pass + + +def _ensure_location_allowed(cmd, location, resource_provider, resource_type): + providers_client = None + try: + providers_client = providers_client_factory(cmd.cli_ctx, get_subscription_id(cmd.cli_ctx)) + + if providers_client is not None: + resource_types = getattr(providers_client.get(resource_provider), 'resource_types', []) + res_locations = [] + for res in resource_types: + if res and getattr(res, 'resource_type', "") == resource_type: + res_locations = getattr(res, 'locations', []) + + res_locations = [res_loc.lower().replace(" ", "").replace("(", "").replace(")", "") for res_loc in res_locations if res_loc.strip()] + + location_formatted = location.lower().replace(" ", "") + if location_formatted not in res_locations: + raise ValidationError("Location '{}' is not currently supported. To get list of supported locations, run `az provider show -n {} --query \"resourceTypes[?resourceType=='{}'].locations\"`".format( + location, resource_provider, resource_type)) + except ValidationError as ex: + raise ex + except Exception: # pylint: disable=broad-except + pass + + +def parse_env_var_flags(env_list, is_update_containerapp=False): + env_pairs = {} + + for pair in env_list: + key_val = pair.split('=', 1) + if len(key_val) != 2: + if is_update_containerapp: + raise ValidationError("Environment variables must be in the format \"= =secretref: ...\".") + raise ValidationError("Environment variables must be in the format \"= =secretref: ...\".") + if key_val[0] in env_pairs: + raise ValidationError("Duplicate environment variable {env} found, environment variable names must be unique.".format(env=key_val[0])) + value = key_val[1].split('secretref:') + env_pairs[key_val[0]] = value + + env_var_def = [] + for key, value in env_pairs.items(): + if len(value) == 2: + env_var_def.append({ + "name": key, + "secretRef": value[1] + }) + else: + env_var_def.append({ + "name": key, + "value": value[0] + }) + + return env_var_def + + +def parse_secret_flags(secret_list): + secret_pairs = {} + + for pair in secret_list: + key_val = pair.split('=', 1) + if len(key_val) != 2: + raise ValidationError("Secrets must be in format \"= = ...\".") + if key_val[0] in secret_pairs: + raise ValidationError("Duplicate secret \"{secret}\" found, secret names must be unique.".format(secret=key_val[0])) + secret_pairs[key_val[0]] = key_val[1] + + secret_var_def = [] + for key, value in secret_pairs.items(): + secret_var_def.append({ + "name": key, + "value": value + }) + + return secret_var_def + + +def _update_revision_env_secretrefs(containers, name): + for container in containers: + if "env" in container: + for var in container["env"]: + if "secretRef" in var: + var["secretRef"] = var["secretRef"].replace("{}-".format(name), "") + + +def _update_revision_env_secretrefs(containers, name): + for container in containers: + if "env" in container: + for var in container["env"]: + if "secretRef" in var: + var["secretRef"] = var["secretRef"].replace("{}-".format(name), "") + + +def store_as_secret_and_return_secret_ref(secrets_list, registry_user, registry_server, registry_pass, update_existing_secret=False, disable_warnings=False): + if registry_pass.startswith("secretref:"): + # If user passed in registry password using a secret + + registry_pass = registry_pass.split("secretref:") + if len(registry_pass) <= 1: + raise ValidationError("Invalid registry password secret. Value must be a non-empty value starting with \'secretref:\'.") + registry_pass = registry_pass[1:] + registry_pass = ''.join(registry_pass) + + if not any(secret for secret in secrets_list if secret['name'].lower() == registry_pass.lower()): + raise ValidationError("Registry password secret with name '{}' does not exist. Add the secret using --secrets".format(registry_pass)) + + return registry_pass + else: + # If user passed in registry password + if urlparse(registry_server).hostname is not None: + registry_secret_name = "{server}-{user}".format(server=urlparse(registry_server).hostname.replace('.', ''), user=registry_user.lower()) + else: + registry_secret_name = "{server}-{user}".format(server=registry_server.replace('.', ''), user=registry_user.lower()) + + for secret in secrets_list: + if secret['name'].lower() == registry_secret_name.lower(): + if secret['value'].lower() != registry_pass.lower(): + if update_existing_secret: + secret['value'] = registry_pass + else: + raise ValidationError('Found secret with name \"{}\" but value does not equal the supplied registry password.'.format(registry_secret_name)) + return registry_secret_name + + if not disable_warnings: + logger.warning('Adding registry password as a secret with name \"{}\"'.format(registry_secret_name)) # pylint: disable=logging-format-interpolation + secrets_list.append({ + "name": registry_secret_name, + "value": registry_pass + }) + + return registry_secret_name + + +def parse_list_of_strings(comma_separated_string): + comma_separated = comma_separated_string.split(',') + return [s.strip() for s in comma_separated] + + +def raise_missing_token_suggestion(): + pat_documentation = "https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line" + raise RequiredArgumentMissingError("GitHub access token is required to authenticate to your repositories. " + "If you need to create a Github Personal Access Token, " + "please run with the '--login-with-github' flag or follow " + "the steps found at the following link:\n{0}".format(pat_documentation)) + + +def _get_default_log_analytics_location(cmd): + default_location = "eastus" + providers_client = None + try: + providers_client = providers_client_factory(cmd.cli_ctx, get_subscription_id(cmd.cli_ctx)) + resource_types = getattr(providers_client.get("Microsoft.OperationalInsights"), 'resource_types', []) + res_locations = [] + for res in resource_types: + if res and getattr(res, 'resource_type', "") == "workspaces": + res_locations = getattr(res, 'locations', []) + + if len(res_locations) > 0: + location = res_locations[0].lower().replace(" ", "").replace("(", "").replace(")", "") + if location: + return location + + except Exception: # pylint: disable=broad-except + return default_location + return default_location + + +def get_container_app_if_exists(cmd, resource_group_name, name): + app = None + try: + app = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except: # pylint: disable=bare-except + pass + return app + + +def _get_name(name_or_rid): + if is_valid_resource_id(name_or_rid): + return parse_resource_id(name_or_rid)["name"] + return name_or_rid + + +def _get_default_containerapps_location(cmd, location=None): + if location: + return location + default_location = "eastus" + providers_client = None + try: + providers_client = providers_client_factory(cmd.cli_ctx, get_subscription_id(cmd.cli_ctx)) + resource_types = getattr(providers_client.get("Microsoft.App"), 'resource_types', []) + res_locations = [] + for res in resource_types: + if res and getattr(res, 'resource_type', "") == "workspaces": + res_locations = getattr(res, 'locations', []) + + if len(res_locations) > 0: + location = res_locations[0].lower().replace(" ", "").replace("(", "").replace(")", "") + if location: + return location + + except Exception: # pylint: disable=broad-except + return default_location + return default_location + + +# Generate random 4 character string +def _new_tiny_guid(): + import random + import string + return ''.join(random.choices(string.ascii_letters + string.digits, k=4)) + + +# Follow same naming convention as Portal +def _generate_log_analytics_workspace_name(resource_group_name): + import re + prefix = "workspace" + suffix = _new_tiny_guid() + alphaNumericRG = resource_group_name + alphaNumericRG = re.sub(r'[^0-9a-z]', '', resource_group_name) + maxLength = 40 + + name = "{}-{}{}".format( + prefix, + alphaNumericRG, + suffix + ) + + if len(name) > maxLength: + name = name[:maxLength] + return name + + +def _get_log_analytics_workspace_name(cmd, logs_customer_id, resource_group_name): + log_analytics_client = log_analytics_client_factory(cmd.cli_ctx) + logs_list = log_analytics_client.list_by_resource_group(resource_group_name) + for log in logs_list: + if log.customer_id.lower() == logs_customer_id.lower(): + return log.name + raise ResourceNotFoundError("Cannot find Log Analytics workspace with customer ID {}".format(logs_customer_id)) + + +def _generate_log_analytics_if_not_provided(cmd, logs_customer_id, logs_key, logs_workspace_name, location, resource_group_name): + if logs_customer_id is None and logs_key is None: + logger.warning("No Log Analytics workspace provided.") + try: + _validate_subscription_registered(cmd, "Microsoft.OperationalInsights") + log_analytics_client = log_analytics_client_factory(cmd.cli_ctx) + log_analytics_shared_key_client = log_analytics_shared_key_client_factory(cmd.cli_ctx) + + log_analytics_location = location + try: + _ensure_location_allowed(cmd, log_analytics_location, "Microsoft.OperationalInsights", "workspaces") + except Exception: # pylint: disable=broad-except + log_analytics_location = _get_default_log_analytics_location(cmd) + + from azure.cli.core.commands import LongRunningOperation + from azure.mgmt.loganalytics.models import Workspace + + if logs_workspace_name is None: + workspace_name = _generate_log_analytics_workspace_name(resource_group_name) + else: + workspace_name = logs_workspace_name + + workspace_instance = Workspace(location=log_analytics_location) + logger.warning("Generating a Log Analytics workspace with name \"{}\"".format(workspace_name)) # pylint: disable=logging-format-interpolation + + poller = log_analytics_client.begin_create_or_update(resource_group_name, workspace_name, workspace_instance) + log_analytics_workspace = LongRunningOperation(cmd.cli_ctx)(poller) + + logs_customer_id = log_analytics_workspace.customer_id + logs_key = log_analytics_shared_key_client.get_shared_keys( + workspace_name=workspace_name, + resource_group_name=resource_group_name).primary_shared_key + + except Exception as ex: + raise ValidationError("Unable to generate a Log Analytics workspace. You can use \"az monitor log-analytics workspace create\" to create one and supply --logs-customer-id and --logs-key") from ex + elif logs_customer_id is None: + raise ValidationError("Usage error: Supply the --logs-customer-id associated with the --logs-key") + elif logs_key is None: # Try finding the logs-key + log_analytics_client = log_analytics_client_factory(cmd.cli_ctx) + log_analytics_shared_key_client = log_analytics_shared_key_client_factory(cmd.cli_ctx) + + log_analytics_name = None + log_analytics_rg = None + log_analytics = log_analytics_client.list() + + for la in log_analytics: + if la.customer_id and la.customer_id.lower() == logs_customer_id.lower(): + log_analytics_name = la.name + parsed_la = parse_resource_id(la.id) + log_analytics_rg = parsed_la['resource_group'] + + if log_analytics_name is None: + raise ValidationError('Usage error: Supply the --logs-key associated with the --logs-customer-id') + + shared_keys = log_analytics_shared_key_client.get_shared_keys(workspace_name=log_analytics_name, resource_group_name=log_analytics_rg) + + if not shared_keys or not shared_keys.primary_shared_key: + raise ValidationError('Usage error: Supply the --logs-key associated with the --logs-customer-id') + + logs_key = shared_keys.primary_shared_key + + return logs_customer_id, logs_key + + +def _get_existing_secrets(cmd, resource_group_name, name, containerapp_def): + if "secrets" not in containerapp_def["properties"]["configuration"]: + containerapp_def["properties"]["configuration"]["secrets"] = [] + else: + secrets = [] + try: + secrets = ContainerAppClient.list_secrets(cmd=cmd, resource_group_name=resource_group_name, name=name) + except Exception as e: # pylint: disable=broad-except + handle_raw_exception(e) + + containerapp_def["properties"]["configuration"]["secrets"] = secrets["value"] + + +def _ensure_identity_resource_id(subscription_id, resource_group, resource): + if is_valid_resource_id(resource): + return resource + + return resource_id(subscription=subscription_id, + resource_group=resource_group, + namespace='Microsoft.ManagedIdentity', + type='userAssignedIdentities', + name=resource) + + +def _add_or_update_secrets(containerapp_def, add_secrets): + if "secrets" not in containerapp_def["properties"]["configuration"]: + containerapp_def["properties"]["configuration"]["secrets"] = [] + + for new_secret in add_secrets: + is_existing = False + for existing_secret in containerapp_def["properties"]["configuration"]["secrets"]: + if existing_secret["name"].lower() == new_secret["name"].lower(): + is_existing = True + existing_secret["value"] = new_secret["value"] + break + + if not is_existing: + containerapp_def["properties"]["configuration"]["secrets"].append(new_secret) + + +def _remove_registry_secret(containerapp_def, server, username): + if urlparse(server).hostname is not None: + registry_secret_name = "{server}-{user}".format(server=urlparse(server).hostname.replace('.', ''), user=username.lower()) + else: + registry_secret_name = "{server}-{user}".format(server=server.replace('.', ''), user=username.lower()) + + _remove_secret(containerapp_def, secret_name=registry_secret_name) + + +def _remove_secret(containerapp_def, secret_name): + if "secrets" not in containerapp_def["properties"]["configuration"]: + containerapp_def["properties"]["configuration"]["secrets"] = [] + + for index, value in enumerate(containerapp_def["properties"]["configuration"]["secrets"]): + existing_secret = value + if existing_secret["name"].lower() == secret_name.lower(): + containerapp_def["properties"]["configuration"]["secrets"].pop(index) + break + + +def _add_or_update_env_vars(existing_env_vars, new_env_vars): + for new_env_var in new_env_vars: + + # Check if updating existing env var + is_existing = False + for existing_env_var in existing_env_vars: + if existing_env_var["name"].lower() == new_env_var["name"].lower(): + is_existing = True + + if "value" in new_env_var: + existing_env_var["value"] = new_env_var["value"] + else: + existing_env_var["value"] = None + + if "secretRef" in new_env_var: + existing_env_var["secretRef"] = new_env_var["secretRef"] + else: + existing_env_var["secretRef"] = None + break + + # If not updating existing env var, add it as a new env var + if not is_existing: + existing_env_vars.append(new_env_var) + + +def _remove_env_vars(existing_env_vars, remove_env_vars): + for old_env_var in remove_env_vars: + + # Check if updating existing env var + is_existing = False + for i, value in enumerate(existing_env_vars): + existing_env_var = value + if existing_env_var["name"].lower() == old_env_var.lower(): + is_existing = True + existing_env_vars.pop(i) + break + + # If not updating existing env var, add it as a new env var + if not is_existing: + logger.warning("Environment variable {} does not exist.".format(old_env_var)) # pylint: disable=logging-format-interpolation + + +def _remove_env_vars(existing_env_vars, remove_env_vars): + for old_env_var in remove_env_vars: + + # Check if updating existing env var + is_existing = False + for index, value in enumerate(existing_env_vars): + existing_env_var = value + if existing_env_var["name"].lower() == old_env_var.lower(): + is_existing = True + existing_env_vars.pop(index) + break + + # If not updating existing env var, add it as a new env var + if not is_existing: + logger.warning("Environment variable {} does not exist.".format(old_env_var)) # pylint: disable=logging-format-interpolation + + +def _add_or_update_tags(containerapp_def, tags): + if 'tags' not in containerapp_def: + if tags: + containerapp_def['tags'] = tags + else: + containerapp_def['tags'] = {} + else: + for key in tags: + containerapp_def['tags'][key] = tags[key] + + +def _object_to_dict(obj): + + def default_handler(x): + if isinstance(x, datetime): + return x.isoformat() + return x.__dict__ + + return json.loads(json.dumps(obj, default=default_handler)) + + +def _to_camel_case(snake_str): + components = snake_str.split('_') + return components[0] + ''.join(x.title() for x in components[1:]) + + +def _convert_object_from_snake_to_camel_case(o): + if isinstance(o, list): + return [_convert_object_from_snake_to_camel_case(i) if isinstance(i, (dict, list)) else i for i in o] + return { + _to_camel_case(a): _convert_object_from_snake_to_camel_case(b) if isinstance(b, (dict, list)) else b for a, b in o.items() + } + + +def _remove_additional_attributes(o): + if isinstance(o, list): + for i in o: + _remove_additional_attributes(i) + elif isinstance(o, dict): + if "additionalProperties" in o: + del o["additionalProperties"] + + for key in o: + _remove_additional_attributes(o[key]) + + +def _remove_readonly_attributes(containerapp_def): + unneeded_properties = [ + "id", + "name", + "type", + "systemData", + "provisioningState", + "latestRevisionName", + "latestRevisionFqdn", + "customDomainVerificationId", + "outboundIpAddresses", + "fqdn" + ] + + for unneeded_property in unneeded_properties: + if unneeded_property in containerapp_def: + del containerapp_def[unneeded_property] + elif unneeded_property in containerapp_def['properties']: + del containerapp_def['properties'][unneeded_property] + + +def _remove_dapr_readonly_attributes(daprcomponent_def): + unneeded_properties = [ + "id", + "name", + "type", + "systemData", + "provisioningState", + "latestRevisionName", + "latestRevisionFqdn", + "customDomainVerificationId", + "outboundIpAddresses", + "fqdn" + ] + + for unneeded_property in unneeded_properties: + if unneeded_property in daprcomponent_def: + del daprcomponent_def[unneeded_property] + + +def update_nested_dictionary(orig_dict, new_dict): + # Recursively update a nested dictionary. If the value is a list, replace the old list with new list + from collections.abc import Mapping + + for key, val in new_dict.items(): + if isinstance(val, Mapping): + tmp = update_nested_dictionary(orig_dict.get(key, {}), val) + orig_dict[key] = tmp + elif isinstance(val, list): + if new_dict[key]: + orig_dict[key] = new_dict[key] + else: + if new_dict[key] is not None: + orig_dict[key] = new_dict[key] + return orig_dict + + +def _is_valid_weight(weight): + try: + n = int(weight) + if 0 <= n <= 100: + return True + return False + except ValueError: + return False + + +def _update_traffic_weights(containerapp_def, list_weights): + if "traffic" not in containerapp_def["properties"]["configuration"]["ingress"] or list_weights and len(list_weights): + containerapp_def["properties"]["configuration"]["ingress"]["traffic"] = [] + + for new_weight in list_weights: + key_val = new_weight.split('=', 1) + is_existing = False + + if len(key_val) != 2: + raise ValidationError('Traffic weights must be in format \"=weight = ...\"') + + if not _is_valid_weight(key_val[1]): + raise ValidationError('Traffic weights must be integers between 0 and 100') + + if not is_existing: + containerapp_def["properties"]["configuration"]["ingress"]["traffic"].append({ + "revisionName": key_val[0], + "weight": int(key_val[1]) + }) + + +def _get_app_from_revision(revision): + if not revision: + raise ValidationError('Invalid revision. Revision must not be empty') + + revision = revision.split('--') + revision.pop() + revision = "--".join(revision) + return revision + + +def _infer_acr_credentials(cmd, registry_server, disable_warnings=False): + # If registry is Azure Container Registry, we can try inferring credentials + if '.azurecr.io' not in registry_server: + raise RequiredArgumentMissingError('Registry username and password are required if not using Azure Container Registry.') + not disable_warnings and logger.warning('No credential was provided to access Azure Container Registry. Trying to look up credentials...') + parsed = urlparse(registry_server) + registry_name = (parsed.netloc if parsed.scheme else parsed.path).split('.')[0] + + try: + registry_user, registry_pass, registry_rg = _get_acr_cred(cmd.cli_ctx, registry_name) # pylint: disable=unused-variable + return (registry_user, registry_pass) + except Exception as ex: + raise RequiredArgumentMissingError('Failed to retrieve credentials for container registry {}. Please provide the registry username and password'.format(registry_name)) from ex + + +def _registry_exists(containerapp_def, registry_server): + exists = False + if "properties" in containerapp_def and "configuration" in containerapp_def["properties"] and "registries" in containerapp_def["properties"]["configuration"]: + for registry in containerapp_def["properties"]["configuration"]["registries"]: + if "server" in registry and registry["server"] and registry["server"].lower() == registry_server.lower(): + exists = True + break + return exists + + +# get a value from nested dict without getting IndexError (returns None instead) +# for example, model["key1"]["key2"]["key3"] would become safe_get(model, "key1", "key2", "key3") +def safe_get(model, *keys, default=None): + for k in keys[:-1]: + model = model.get(k, {}) + return model.get(keys[-1], default) + + +def is_platform_windows(): + return platform.system() == "Windows" + + +def get_randomized_name(prefix, name=None, initial="rg"): + from random import randint + default = "{}_{}_{:04}".format(prefix, initial, randint(0, 9999)) + if name is not None: + return name + return default + + +def _set_webapp_up_default_args(cmd, resource_group_name, location, name, registry_server): + from azure.cli.core.util import ConfiguredDefaultSetter + with ConfiguredDefaultSetter(cmd.cli_ctx.config, True): + logger.warning("Setting 'az containerapp up' default arguments for current directory. " + "Manage defaults with 'az configure --scope local'") + + cmd.cli_ctx.config.set_value('defaults', 'resource_group_name', resource_group_name) + logger.warning("--resource-group/-g default: %s", resource_group_name) + + cmd.cli_ctx.config.set_value('defaults', 'location', location) + logger.warning("--location/-l default: %s", location) + + cmd.cli_ctx.config.set_value('defaults', 'name', name) + logger.warning("--name/-n default: %s", name) + + # cmd.cli_ctx.config.set_value('defaults', 'managed_env', managed_env) + # logger.warning("--environment default: %s", managed_env) + + cmd.cli_ctx.config.set_value('defaults', 'registry_server', registry_server) + logger.warning("--registry-server default: %s", registry_server) + + +def get_profile_username(): + from azure.cli.core._profile import Profile + user = Profile().get_current_account_user() + user = user.split('@', 1)[0] + if len(user.split('#', 1)) > 1: # on cloudShell user is in format live.com#user@domain.com + user = user.split('#', 1)[1] + return user + + +def create_resource_group(cmd, rg_name, location): + from azure.cli.core.profiles import ResourceType, get_sdk + rcf = _resource_client_factory(cmd.cli_ctx) + resource_group = get_sdk(cmd.cli_ctx, ResourceType.MGMT_RESOURCE_RESOURCES, 'ResourceGroup', mod='models') + rg_params = resource_group(location=location) + return rcf.resource_groups.create_or_update(rg_name, rg_params) + + +def get_resource_group(cmd, rg_name): + rcf = _resource_client_factory(cmd.cli_ctx) + return rcf.resource_groups.get(rg_name) + + +def _resource_client_factory(cli_ctx, **_): + from azure.cli.core.commands.client_factory import get_mgmt_service_client + from azure.cli.core.profiles import ResourceType + return get_mgmt_service_client(cli_ctx, ResourceType.MGMT_RESOURCE_RESOURCES) + + +def queue_acr_build(cmd, registry_rg, registry_name, img_name, src_dir, dockerfile="Dockerfile", quiet=False): + import os + import uuid + import tempfile + from ._archive_utils import upload_source_code + from azure.cli.command_modules.acr._stream_utils import stream_logs + from azure.cli.command_modules.acr._client_factory import cf_acr_registries_tasks + from azure.cli.core.commands import LongRunningOperation + + # client_registries = get_acr_service_client(cmd.cli_ctx).registries + client_registries = cf_acr_registries_tasks(cmd.cli_ctx) + + if not os.path.isdir(src_dir): + raise ValidationError("Source directory should be a local directory path.") + + docker_file_path = os.path.join(src_dir, dockerfile) + if not os.path.isfile(docker_file_path): + raise ValidationError("Unable to find '{}'.".format(docker_file_path)) + + # NOTE: os.path.basename is unable to parse "\" in the file path + original_docker_file_name = os.path.basename(docker_file_path.replace("\\", "/")) + docker_file_in_tar = '{}_{}'.format(uuid.uuid4().hex, original_docker_file_name) + tar_file_path = os.path.join(tempfile.gettempdir(), 'build_archive_{}.tar.gz'.format(uuid.uuid4().hex)) + + source_location = upload_source_code(cmd, client_registries, registry_name, registry_rg, src_dir, tar_file_path, docker_file_path, docker_file_in_tar) + + # For local source, the docker file is added separately into tar as the new file name (docker_file_in_tar) + # So we need to update the docker_file_path + docker_file_path = docker_file_in_tar + + from azure.cli.core.profiles import ResourceType + OS, Architecture = cmd.get_models('OS', 'Architecture', resource_type=ResourceType.MGMT_CONTAINERREGISTRY, operation_group='runs') + # Default platform values + platform_os = OS.linux.value + platform_arch = Architecture.amd64.value + platform_variant = None + + DockerBuildRequest, PlatformProperties = cmd.get_models('DockerBuildRequest', 'PlatformProperties', + resource_type=ResourceType.MGMT_CONTAINERREGISTRY, operation_group='runs') + docker_build_request = DockerBuildRequest( + image_names=[img_name], + is_push_enabled=True, + source_location=source_location, + platform=PlatformProperties( + os=platform_os, + architecture=platform_arch, + variant=platform_variant + ), + docker_file_path=docker_file_path, + timeout=None, + arguments=[]) + + queued_build = LongRunningOperation(cmd.cli_ctx)(client_registries.begin_schedule_run( + resource_group_name=registry_rg, + registry_name=registry_name, + run_request=docker_build_request)) + + run_id = queued_build.run_id + logger.info("Queued a build with ID: %s", run_id) + not quiet and logger.info("Waiting for agent...") + + from azure.cli.command_modules.acr._client_factory import (cf_acr_runs) + from ._acr_run_polling import get_run_with_polling + client_runs = cf_acr_runs(cmd.cli_ctx) + + if quiet: + lro_poller = get_run_with_polling(cmd, client_runs, run_id, registry_name, registry_rg) + acr = LongRunningOperation(cmd.cli_ctx)(lro_poller) + logger.info("Build {}.".format(acr.status.lower())) # pylint: disable=logging-format-interpolation + if acr.status.lower() != "succeeded": + raise CLIInternalError("ACR build {}.".format(acr.status.lower())) + return acr + + return stream_logs(cmd, client_runs, run_id, registry_name, registry_rg, None, False, True) + + +def _get_acr_cred(cli_ctx, registry_name): + from azure.mgmt.containerregistry import ContainerRegistryManagementClient + from azure.cli.core.commands.parameters import get_resources_in_subscription + from azure.cli.core.commands.client_factory import get_mgmt_service_client + + client = get_mgmt_service_client(cli_ctx, ContainerRegistryManagementClient).registries + + result = get_resources_in_subscription(cli_ctx, 'Microsoft.ContainerRegistry/registries') + result = [item for item in result if item.name.lower() == registry_name] + if not result or len(result) > 1: + raise ResourceNotFoundError("No resource or more than one were found with name '{}'.".format(registry_name)) + resource_group_name = parse_resource_id(result[0].id)['resource_group'] + + registry = client.get(resource_group_name, registry_name) + + if registry.admin_user_enabled: # pylint: disable=no-member + cred = client.list_credentials(resource_group_name, registry_name) + return cred.username, cred.passwords[0].value, resource_group_name + raise ResourceNotFoundError("Failed to retrieve container registry credentials. Please either provide the " + "credentials or run 'az acr update -n {} --admin-enabled true' to enable " + "admin first.".format(registry_name)) + + +def create_new_acr(cmd, registry_name, resource_group_name, location=None, sku="Basic"): + # from azure.cli.command_modules.acr.custom import acr_create + from azure.cli.command_modules.acr._client_factory import cf_acr_registries + from azure.cli.core.profiles import ResourceType + from azure.cli.core.commands import LongRunningOperation + + client = cf_acr_registries(cmd.cli_ctx) + # return acr_create(cmd, client, registry_name, resource_group_name, sku, location) + + Registry, Sku = cmd.get_models('Registry', 'Sku', resource_type=ResourceType.MGMT_CONTAINERREGISTRY, operation_group="registries") + registry = Registry(location=location, sku=Sku(name=sku), admin_user_enabled=True, + zone_redundancy=None, tags=None) + + lro_poller = client.begin_create(resource_group_name, registry_name, registry) + acr = LongRunningOperation(cmd.cli_ctx)(lro_poller) + return acr diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_validators.py b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_validators.py new file mode 100644 index 00000000000..9c1e53ed50e --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_validators.py @@ -0,0 +1,157 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- +# pylint: disable=line-too-long + +from azure.cli.core.azclierror import (ValidationError, ResourceNotFoundError) + +from ._clients import ContainerAppClient +from ._ssh_utils import ping_container_app +from ._utils import safe_get + + +def _is_number(s): + try: + float(s) + return True + except ValueError: + return False + + +def validate_memory(namespace): + if namespace.memory is not None: + valid = False + + if not namespace.memory.endswith("Gi"): + namespace.memory = namespace.memory.rstrip() + namespace.memory += "Gi" + + valid = _is_number(namespace.memory[:-2]) + + if not valid: + raise ValidationError("Usage error: --memory must be a number ending with \"Gi\"") + + +def validate_cpu(namespace): + if namespace.cpu: + cpu = namespace.cpu + try: + float(cpu) + except ValueError as e: + raise ValidationError("Usage error: --cpu must be a number eg. \"0.5\"") from e + + +def validate_managed_env_name_or_id(cmd, namespace): + from azure.cli.core.commands.client_factory import get_subscription_id + from msrestazure.tools import is_valid_resource_id, resource_id + + if namespace.managed_env: + if not is_valid_resource_id(namespace.managed_env): + namespace.managed_env = resource_id( + subscription=get_subscription_id(cmd.cli_ctx), + resource_group=namespace.resource_group_name, + namespace='Microsoft.App', + type='managedEnvironments', + name=namespace.managed_env + ) + + +def validate_registry_server(namespace): + if "create" in namespace.command.lower(): + if namespace.registry_server: + if not namespace.registry_user or not namespace.registry_pass: + if ".azurecr.io" not in namespace.registry_server: + raise ValidationError("Usage error: --registry-server, --registry-password and --registry-username are required together if not using Azure Container Registry") + + +def validate_registry_user(namespace): + if "create" in namespace.command.lower(): + if namespace.registry_user: + if not namespace.registry_server or (not namespace.registry_pass and ".azurecr.io" not in namespace.registry_server): + raise ValidationError("Usage error: --registry-server, --registry-password and --registry-username are required together if not using Azure Container Registry") + + +def validate_registry_pass(namespace): + if "create" in namespace.command.lower(): + if namespace.registry_pass: + if not namespace.registry_server or (not namespace.registry_user and ".azurecr.io" not in namespace.registry_server): + raise ValidationError("Usage error: --registry-server, --registry-password and --registry-username are required together if not using Azure Container Registry") + + +def validate_target_port(namespace): + if "create" in namespace.command.lower(): + if namespace.target_port: + if not namespace.ingress: + raise ValidationError("Usage error: must specify --ingress with --target-port") + + +def validate_ingress(namespace): + if "create" in namespace.command.lower(): + if namespace.ingress: + if not namespace.target_port: + raise ValidationError("Usage error: must specify --target-port with --ingress") + + +def _set_ssh_defaults(cmd, namespace): + app = ContainerAppClient.show(cmd, namespace.resource_group_name, namespace.name) + if not app: + raise ResourceNotFoundError("Could not find a container app") + replicas = [] + if not namespace.revision: + namespace.revision = app.get("properties", {}).get("latestRevisionName") + if not namespace.revision: + raise ResourceNotFoundError("Could not find a revision") + if not namespace.replica: + # VVV this may not be necessary according to Anthony Chu + ping_container_app(app) # needed to get an alive replica + replicas = ContainerAppClient.list_replicas(cmd=cmd, + resource_group_name=namespace.resource_group_name, + container_app_name=namespace.name, + revision_name=namespace.revision) + if not replicas: + raise ResourceNotFoundError("Could not find a replica for this app") + namespace.replica = replicas[0]["name"] + if not namespace.container: + revision = ContainerAppClient.show_revision(cmd, resource_group_name=namespace.resource_group_name, + container_app_name=namespace.name, + name=namespace.revision) + revision_containers = safe_get(revision, "properties", "template", "containers") + if revision_containers: + namespace.container = revision_containers[0]["name"] + + +def _validate_revision_exists(cmd, namespace): + revision = ContainerAppClient.show_revision(cmd, resource_group_name=namespace.resource_group_name, + container_app_name=namespace.name, name=namespace.revision) + if not revision: + raise ResourceNotFoundError("Could not find revision") + + +def _validate_replica_exists(cmd, namespace): + replica = ContainerAppClient.get_replica(cmd=cmd, + resource_group_name=namespace.resource_group_name, + container_app_name=namespace.name, + revision_name=namespace.revision, + replica_name=namespace.replica) + if not replica: + raise ResourceNotFoundError("Could not find replica") + + +def _validate_container_exists(cmd, namespace): + replica_containers = ContainerAppClient.get_replica(cmd=cmd, + resource_group_name=namespace.resource_group_name, + container_app_name=namespace.name, + revision_name=namespace.revision, + replica_name=namespace.replica)["properties"]["containers"] + matches = [r for r in replica_containers if r["name"].lower() == namespace.container.lower()] + if not matches: + raise ResourceNotFoundError("Could not find container") + + +# also used to validate logstream +def validate_ssh(cmd, namespace): + _set_ssh_defaults(cmd, namespace) + _validate_revision_exists(cmd, namespace) + _validate_replica_exists(cmd, namespace) + _validate_container_exists(cmd, namespace) diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/azext_metadata.json b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/azext_metadata.json new file mode 100644 index 00000000000..d7b2b115bf9 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/azext_metadata.json @@ -0,0 +1,5 @@ +{ + "azext.isPreview": true, + "azext.minCliCoreVersion": "2.15.0", + "azext.maxCliCoreVersion": "2.36.0" +} diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/commands.py b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/commands.py new file mode 100644 index 00000000000..c40e3c57ac6 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/commands.py @@ -0,0 +1,118 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +# pylint: disable=line-too-long, too-many-statements, bare-except +# from azure.cli.core.commands import CliCommandType +# from msrestazure.tools import is_valid_resource_id, parse_resource_id +from ._client_factory import ex_handler_factory +from ._validators import validate_ssh + + +def transform_containerapp_output(app): + props = ['name', 'location', 'resourceGroup', 'provisioningState'] + result = {k: app[k] for k in app if k in props} + + try: + result['fqdn'] = app['properties']['configuration']['ingress']['fqdn'] + except: + result['fqdn'] = None + + return result + + +def transform_containerapp_list_output(apps): + return [transform_containerapp_output(a) for a in apps] + + +def transform_revision_output(rev): + props = ['name', 'active', 'createdTime', 'trafficWeight'] + result = {k: rev['properties'][k] for k in rev['properties'] if k in props} + + if 'name' in rev: + result['name'] = rev['name'] + + if 'fqdn' in rev['properties']['template']: + result['fqdn'] = rev['properties']['template']['fqdn'] + + return result + + +def transform_revision_list_output(revs): + return [transform_revision_output(r) for r in revs] + + +def load_command_table(self, _): + with self.command_group('containerapp', is_preview=True) as g: + g.custom_show_command('show', 'show_containerapp', table_transformer=transform_containerapp_output) + g.custom_command('list', 'list_containerapp', table_transformer=transform_containerapp_list_output) + g.custom_command('create', 'create_containerapp', supports_no_wait=True, exception_handler=ex_handler_factory(), table_transformer=transform_containerapp_output) + g.custom_command('update', 'update_containerapp', supports_no_wait=True, exception_handler=ex_handler_factory(), table_transformer=transform_containerapp_output) + g.custom_command('delete', 'delete_containerapp', supports_no_wait=True, confirmation=True, exception_handler=ex_handler_factory()) + g.custom_command('exec', 'containerapp_ssh', validator=validate_ssh) + g.custom_command('up', 'containerapp_up', supports_no_wait=False, exception_handler=ex_handler_factory()) + g.custom_command('browse', 'open_containerapp_in_browser') + + with self.command_group('containerapp replica', is_preview=True) as g: + g.custom_show_command('show', 'get_replica') # TODO implement the table transformer + g.custom_command('list', 'list_replicas') + + with self.command_group('containerapp logs', is_preview=True) as g: + g.custom_show_command('show', 'stream_containerapp_logs', validator=validate_ssh) + + with self.command_group('containerapp env') as g: + g.custom_show_command('show', 'show_managed_environment') + g.custom_command('list', 'list_managed_environments') + g.custom_command('create', 'create_managed_environment', supports_no_wait=True, exception_handler=ex_handler_factory()) + g.custom_command('delete', 'delete_managed_environment', supports_no_wait=True, confirmation=True, exception_handler=ex_handler_factory()) + + with self.command_group('containerapp env dapr-component') as g: + g.custom_command('list', 'list_dapr_components') + g.custom_show_command('show', 'show_dapr_component') + g.custom_command('set', 'create_or_update_dapr_component') + g.custom_command('remove', 'remove_dapr_component') + + with self.command_group('containerapp identity') as g: + g.custom_command('assign', 'assign_managed_identity', supports_no_wait=True, exception_handler=ex_handler_factory()) + g.custom_command('remove', 'remove_managed_identity', supports_no_wait=True, exception_handler=ex_handler_factory()) + g.custom_show_command('show', 'show_managed_identity') + + with self.command_group('containerapp github-action') as g: + g.custom_command('add', 'create_or_update_github_action', exception_handler=ex_handler_factory()) + g.custom_show_command('show', 'show_github_action', exception_handler=ex_handler_factory()) + g.custom_command('delete', 'delete_github_action', exception_handler=ex_handler_factory()) + + with self.command_group('containerapp revision') as g: + g.custom_command('activate', 'activate_revision') + g.custom_command('deactivate', 'deactivate_revision') + g.custom_command('list', 'list_revisions', table_transformer=transform_revision_list_output, exception_handler=ex_handler_factory()) + g.custom_command('restart', 'restart_revision') + g.custom_show_command('show', 'show_revision', table_transformer=transform_revision_output, exception_handler=ex_handler_factory()) + g.custom_command('copy', 'copy_revision', exception_handler=ex_handler_factory()) + g.custom_command('set-mode', 'set_revision_mode', exception_handler=ex_handler_factory()) + + with self.command_group('containerapp ingress') as g: + g.custom_command('enable', 'enable_ingress', exception_handler=ex_handler_factory()) + g.custom_command('disable', 'disable_ingress', exception_handler=ex_handler_factory()) + g.custom_show_command('show', 'show_ingress') + + with self.command_group('containerapp ingress traffic') as g: + g.custom_command('set', 'set_ingress_traffic', exception_handler=ex_handler_factory()) + g.custom_show_command('show', 'show_ingress_traffic') + + with self.command_group('containerapp registry') as g: + g.custom_command('set', 'set_registry', exception_handler=ex_handler_factory()) + g.custom_show_command('show', 'show_registry') + g.custom_command('list', 'list_registry') + g.custom_command('remove', 'remove_registry', exception_handler=ex_handler_factory()) + + with self.command_group('containerapp secret') as g: + g.custom_command('list', 'list_secrets') + g.custom_show_command('show', 'show_secret') + g.custom_command('remove', 'remove_secrets', exception_handler=ex_handler_factory()) + g.custom_command('set', 'set_secrets', exception_handler=ex_handler_factory()) + + with self.command_group('containerapp dapr') as g: + g.custom_command('enable', 'enable_dapr', exception_handler=ex_handler_factory()) + g.custom_command('disable', 'disable_dapr', exception_handler=ex_handler_factory()) diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/custom.py b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/custom.py new file mode 100644 index 00000000000..338d958a2b2 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/custom.py @@ -0,0 +1,2202 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- +# pylint: disable=line-too-long, consider-using-f-string, logging-format-interpolation, inconsistent-return-statements, broad-except, bare-except, too-many-statements, too-many-locals, too-many-boolean-expressions, too-many-branches, too-many-nested-blocks, pointless-statement, expression-not-assigned, unbalanced-tuple-unpacking + +import threading +import sys +import time +from urllib.parse import urlparse +import requests + +from azure.cli.core.azclierror import ( + RequiredArgumentMissingError, + ValidationError, + ResourceNotFoundError, + CLIError, + CLIInternalError, + InvalidArgumentValueError) +from azure.cli.core.commands.client_factory import get_subscription_id +from azure.cli.core.util import open_page_in_browser +from knack.log import get_logger + +from msrestazure.tools import parse_resource_id, is_valid_resource_id +from msrest.exceptions import DeserializationError + +from ._client_factory import handle_raw_exception +from ._clients import ManagedEnvironmentClient, ContainerAppClient, GitHubActionClient, DaprComponentClient +from ._github_oauth import get_github_access_token +from ._models import ( + ManagedEnvironment as ManagedEnvironmentModel, + VnetConfiguration as VnetConfigurationModel, + AppLogsConfiguration as AppLogsConfigurationModel, + LogAnalyticsConfiguration as LogAnalyticsConfigurationModel, + Ingress as IngressModel, + Configuration as ConfigurationModel, + Template as TemplateModel, + RegistryCredentials as RegistryCredentialsModel, + ContainerApp as ContainerAppModel, + Dapr as DaprModel, + ContainerResources as ContainerResourcesModel, + Scale as ScaleModel, + Container as ContainerModel, + GitHubActionConfiguration, + RegistryInfo as RegistryInfoModel, + AzureCredentials as AzureCredentialsModel, + SourceControl as SourceControlModel, + ManagedServiceIdentity as ManagedServiceIdentityModel) +from ._utils import (_validate_subscription_registered, _get_location_from_resource_group, _ensure_location_allowed, + parse_secret_flags, store_as_secret_and_return_secret_ref, parse_env_var_flags, + _generate_log_analytics_if_not_provided, _get_existing_secrets, _convert_object_from_snake_to_camel_case, + _object_to_dict, _add_or_update_secrets, _remove_additional_attributes, _remove_readonly_attributes, + _add_or_update_env_vars, _add_or_update_tags, update_nested_dictionary, _update_traffic_weights, + _get_app_from_revision, raise_missing_token_suggestion, _infer_acr_credentials, _remove_registry_secret, _remove_secret, + _ensure_identity_resource_id, _remove_dapr_readonly_attributes, _remove_env_vars, + _update_revision_env_secretrefs, _get_acr_cred, safe_get, await_github_action, repo_url_to_name, + validate_container_app_name) + +from ._ssh_utils import (SSH_DEFAULT_ENCODING, WebSocketConnection, read_ssh, get_stdin_writer, SSH_CTRL_C_MSG, + SSH_BACKUP_ENCODING) +from ._constants import MAXIMUM_SECRET_LENGTH + +logger = get_logger(__name__) + + +# These properties should be under the "properties" attribute. Move the properties under "properties" attribute +def process_loaded_yaml(yaml_containerapp): + if not yaml_containerapp.get('properties'): + yaml_containerapp['properties'] = {} + + nested_properties = ["provisioningState", "managedEnvironmentId", "latestRevisionName", "latestRevisionFqdn", + "customDomainVerificationId", "configuration", "template", "outboundIPAddresses"] + for nested_property in nested_properties: + tmp = yaml_containerapp.get(nested_property) + if tmp: + yaml_containerapp['properties'][nested_property] = tmp + del yaml_containerapp[nested_property] + + return yaml_containerapp + + +def load_yaml_file(file_name): + import yaml + import errno + + try: + with open(file_name) as stream: # pylint: disable=unspecified-encoding + return yaml.safe_load(stream) + except (IOError, OSError) as ex: + if getattr(ex, 'errno', 0) == errno.ENOENT: + raise ValidationError('{} does not exist'.format(file_name)) from ex + raise + except (yaml.parser.ParserError, UnicodeDecodeError) as ex: + raise ValidationError('Error parsing {} ({})'.format(file_name, str(ex))) from ex + + +def create_deserializer(): + from ._sdk_models import ContainerApp # pylint: disable=unused-import + from msrest import Deserializer + import inspect + + sdkClasses = inspect.getmembers(sys.modules["azext_containerapp._sdk_models"]) + deserializer = {} + + for sdkClass in sdkClasses: + deserializer[sdkClass[0]] = sdkClass[1] + + return Deserializer(deserializer) + + +def update_containerapp_yaml(cmd, name, resource_group_name, file_name, from_revision=None, no_wait=False): + yaml_containerapp = process_loaded_yaml(load_yaml_file(file_name)) + if type(yaml_containerapp) != dict: # pylint: disable=unidiomatic-typecheck + raise ValidationError('Invalid YAML provided. Please see https://aka.ms/azure-container-apps-yaml for a valid containerapps YAML spec.') + + if not yaml_containerapp.get('name'): + yaml_containerapp['name'] = name + elif yaml_containerapp.get('name').lower() != name.lower(): + logger.warning('The app name provided in the --yaml file "{}" does not match the one provided in the --name flag "{}". The one provided in the --yaml file will be used.'.format( + yaml_containerapp.get('name'), name)) + name = yaml_containerapp.get('name') + + if not yaml_containerapp.get('type'): + yaml_containerapp['type'] = 'Microsoft.App/containerApps' + elif yaml_containerapp.get('type').lower() != "microsoft.app/containerapps": + raise ValidationError('Containerapp type must be \"Microsoft.App/ContainerApps\"') + + current_containerapp_def = None + containerapp_def = None + try: + current_containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except Exception: + pass + + if not current_containerapp_def: + raise ValidationError("The containerapp '{}' does not exist".format(name)) + + # Change which revision we update from + if from_revision: + try: + r = ContainerAppClient.show_revision(cmd=cmd, resource_group_name=resource_group_name, container_app_name=name, name=from_revision) + except CLIError as e: + handle_raw_exception(e) + _update_revision_env_secretrefs(r["properties"]["template"]["containers"], name) + current_containerapp_def["properties"]["template"] = r["properties"]["template"] + + # Deserialize the yaml into a ContainerApp object. Need this since we're not using SDK + try: + deserializer = create_deserializer() + + containerapp_def = deserializer('ContainerApp', yaml_containerapp) + except DeserializationError as ex: + raise ValidationError('Invalid YAML provided. Please see https://aka.ms/azure-container-apps-yaml for a valid containerapps YAML spec.') from ex + + # Remove tags before converting from snake case to camel case, then re-add tags. We don't want to change the case of the tags. Need this since we're not using SDK + tags = None + if yaml_containerapp.get('tags'): + tags = yaml_containerapp.get('tags') + del yaml_containerapp['tags'] + + containerapp_def = _convert_object_from_snake_to_camel_case(_object_to_dict(containerapp_def)) + containerapp_def['tags'] = tags + + # After deserializing, some properties may need to be moved under the "properties" attribute. Need this since we're not using SDK + containerapp_def = process_loaded_yaml(containerapp_def) + + _get_existing_secrets(cmd, resource_group_name, name, current_containerapp_def) + + update_nested_dictionary(current_containerapp_def, containerapp_def) + + # Remove "additionalProperties" and read-only attributes that are introduced in the deserialization. Need this since we're not using SDK + _remove_additional_attributes(current_containerapp_def) + _remove_readonly_attributes(current_containerapp_def) + + try: + r = ContainerAppClient.create_or_update( + cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=current_containerapp_def, no_wait=no_wait) + + if "properties" in r and "provisioningState" in r["properties"] and r["properties"]["provisioningState"].lower() == "waiting" and not no_wait: + logger.warning('Containerapp creation in progress. Please monitor the creation using `az containerapp show -n {} -g {}`'.format( + name, resource_group_name + )) + + return r + except Exception as e: + handle_raw_exception(e) + + +def create_containerapp_yaml(cmd, name, resource_group_name, file_name, no_wait=False): + yaml_containerapp = process_loaded_yaml(load_yaml_file(file_name)) + if type(yaml_containerapp) != dict: # pylint: disable=unidiomatic-typecheck + raise ValidationError('Invalid YAML provided. Please see https://aka.ms/azure-container-apps-yaml for a valid containerapps YAML spec.') + + if not yaml_containerapp.get('name'): + yaml_containerapp['name'] = name + elif yaml_containerapp.get('name').lower() != name.lower(): + logger.warning('The app name provided in the --yaml file "{}" does not match the one provided in the --name flag "{}". The one provided in the --yaml file will be used.'.format( + yaml_containerapp.get('name'), name)) + name = yaml_containerapp.get('name') + + if not yaml_containerapp.get('type'): + yaml_containerapp['type'] = 'Microsoft.App/containerApps' + elif yaml_containerapp.get('type').lower() != "microsoft.app/containerapps": + raise ValidationError('Containerapp type must be \"Microsoft.App/ContainerApps\"') + + # Deserialize the yaml into a ContainerApp object. Need this since we're not using SDK + containerapp_def = None + try: + deserializer = create_deserializer() + + containerapp_def = deserializer('ContainerApp', yaml_containerapp) + except DeserializationError as ex: + raise ValidationError('Invalid YAML provided. Please see https://aka.ms/azure-container-apps-yaml for a valid containerapps YAML spec.') from ex + + # Remove tags before converting from snake case to camel case, then re-add tags. We don't want to change the case of the tags. Need this since we're not using SDK + tags = None + if yaml_containerapp.get('tags'): + tags = yaml_containerapp.get('tags') + del yaml_containerapp['tags'] + + containerapp_def = _convert_object_from_snake_to_camel_case(_object_to_dict(containerapp_def)) + containerapp_def['tags'] = tags + + # After deserializing, some properties may need to be moved under the "properties" attribute. Need this since we're not using SDK + containerapp_def = process_loaded_yaml(containerapp_def) + + # Remove "additionalProperties" and read-only attributes that are introduced in the deserialization. Need this since we're not using SDK + _remove_additional_attributes(containerapp_def) + _remove_readonly_attributes(containerapp_def) + + # Validate managed environment + if not containerapp_def["properties"].get('managedEnvironmentId'): + raise RequiredArgumentMissingError('managedEnvironmentId is required. Please see https://aka.ms/azure-container-apps-yaml for a valid containerapps YAML spec.') + + env_id = containerapp_def["properties"]['managedEnvironmentId'] + env_name = None + env_rg = None + env_info = None + + if is_valid_resource_id(env_id): + parsed_managed_env = parse_resource_id(env_id) + env_name = parsed_managed_env['name'] + env_rg = parsed_managed_env['resource_group'] + else: + raise ValidationError('Invalid managedEnvironmentId specified. Environment not found') + + try: + env_info = ManagedEnvironmentClient.show(cmd=cmd, resource_group_name=env_rg, name=env_name) + except: + pass + + if not env_info: + raise ValidationError("The environment '{}' in resource group '{}' was not found".format(env_name, env_rg)) + + # Validate location + if not containerapp_def.get('location'): + containerapp_def['location'] = env_info['location'] + + try: + r = ContainerAppClient.create_or_update( + cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_def, no_wait=no_wait) + + if "properties" in r and "provisioningState" in r["properties"] and r["properties"]["provisioningState"].lower() == "waiting" and not no_wait: + logger.warning('Containerapp creation in progress. Please monitor the creation using `az containerapp show -n {} -g {}`'.format( + name, resource_group_name + )) + + if "configuration" in r["properties"] and "ingress" in r["properties"]["configuration"] and "fqdn" in r["properties"]["configuration"]["ingress"]: + logger.warning("\nContainer app created. Access your app at https://{}/\n".format(r["properties"]["configuration"]["ingress"]["fqdn"])) + else: + logger.warning("\nContainer app created. To access it over HTTPS, enable ingress: az containerapp ingress enable --help\n") + + return r + except Exception as e: + handle_raw_exception(e) + + +def create_containerapp(cmd, + name, + resource_group_name, + yaml=None, + image=None, + container_name=None, + managed_env=None, + min_replicas=None, + max_replicas=None, + target_port=None, + transport="auto", + ingress=None, + revisions_mode="single", + secrets=None, + env_vars=None, + cpu=None, + memory=None, + registry_server=None, + registry_user=None, + registry_pass=None, + dapr_enabled=False, + dapr_app_port=None, + dapr_app_id=None, + dapr_app_protocol=None, + revision_suffix=None, + startup_command=None, + args=None, + tags=None, + no_wait=False, + system_assigned=False, + disable_warnings=False, + user_assigned=None): + _validate_subscription_registered(cmd, "Microsoft.App") + validate_container_app_name(name) + + if yaml: + if image or managed_env or min_replicas or max_replicas or target_port or ingress or\ + revisions_mode or secrets or env_vars or cpu or memory or registry_server or\ + registry_user or registry_pass or dapr_enabled or dapr_app_port or dapr_app_id or\ + startup_command or args or tags: + not disable_warnings and logger.warning('Additional flags were passed along with --yaml. These flags will be ignored, and the configuration defined in the yaml will be used instead') + return create_containerapp_yaml(cmd=cmd, name=name, resource_group_name=resource_group_name, file_name=yaml, no_wait=no_wait) + + if not image: + image = "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest" + + if managed_env is None: + raise RequiredArgumentMissingError('Usage error: --environment is required if not using --yaml') + + # Validate managed environment + parsed_managed_env = parse_resource_id(managed_env) + managed_env_name = parsed_managed_env['name'] + managed_env_rg = parsed_managed_env['resource_group'] + managed_env_info = None + + try: + managed_env_info = ManagedEnvironmentClient.show(cmd=cmd, resource_group_name=managed_env_rg, name=managed_env_name) + except: + pass + + if not managed_env_info: + raise ValidationError("The environment '{}' does not exist. Specify a valid environment".format(managed_env)) + + location = managed_env_info["location"] + _ensure_location_allowed(cmd, location, "Microsoft.App", "containerApps") + + external_ingress = None + if ingress is not None: + if ingress.lower() == "internal": + external_ingress = False + elif ingress.lower() == "external": + external_ingress = True + + ingress_def = None + if target_port is not None and ingress is not None: + ingress_def = IngressModel + ingress_def["external"] = external_ingress + ingress_def["targetPort"] = target_port + ingress_def["transport"] = transport + + secrets_def = None + if secrets is not None: + secrets_def = parse_secret_flags(secrets) + + registries_def = None + if registry_server is not None: + registries_def = RegistryCredentialsModel + + # Infer credentials if not supplied and its azurecr + if registry_user is None or registry_pass is None: + registry_user, registry_pass = _infer_acr_credentials(cmd, registry_server, disable_warnings) + + registries_def["server"] = registry_server + registries_def["username"] = registry_user + + if secrets_def is None: + secrets_def = [] + registries_def["passwordSecretRef"] = store_as_secret_and_return_secret_ref(secrets_def, registry_user, registry_server, registry_pass, disable_warnings=disable_warnings) + + dapr_def = None + if dapr_enabled: + dapr_def = DaprModel + dapr_def["enabled"] = True + dapr_def["appId"] = dapr_app_id + dapr_def["appPort"] = dapr_app_port + dapr_def["appProtocol"] = dapr_app_protocol + + config_def = ConfigurationModel + config_def["secrets"] = secrets_def + config_def["activeRevisionsMode"] = revisions_mode + config_def["ingress"] = ingress_def + config_def["registries"] = [registries_def] if registries_def is not None else None + config_def["dapr"] = dapr_def + + # Identity actions + identity_def = ManagedServiceIdentityModel + identity_def["type"] = "None" + + assign_system_identity = system_assigned + if user_assigned: + assign_user_identities = [x.lower() for x in user_assigned] + else: + assign_user_identities = [] + + if assign_system_identity and assign_user_identities: + identity_def["type"] = "SystemAssigned, UserAssigned" + elif assign_system_identity: + identity_def["type"] = "SystemAssigned" + elif assign_user_identities: + identity_def["type"] = "UserAssigned" + + if assign_user_identities: + identity_def["userAssignedIdentities"] = {} + subscription_id = get_subscription_id(cmd.cli_ctx) + + for r in assign_user_identities: + r = _ensure_identity_resource_id(subscription_id, resource_group_name, r) + identity_def["userAssignedIdentities"][r] = {} # pylint: disable=unsupported-assignment-operation + + scale_def = None + if min_replicas is not None or max_replicas is not None: + scale_def = ScaleModel + scale_def["minReplicas"] = min_replicas + scale_def["maxReplicas"] = max_replicas + + resources_def = None + if cpu is not None or memory is not None: + resources_def = ContainerResourcesModel + resources_def["cpu"] = cpu + resources_def["memory"] = memory + + container_def = ContainerModel + container_def["name"] = container_name if container_name else name + container_def["image"] = image + if env_vars is not None: + container_def["env"] = parse_env_var_flags(env_vars) + if startup_command is not None: + container_def["command"] = startup_command + if args is not None: + container_def["args"] = args + if resources_def is not None: + container_def["resources"] = resources_def + + template_def = TemplateModel + template_def["containers"] = [container_def] + template_def["scale"] = scale_def + + if revision_suffix is not None: + template_def["revisionSuffix"] = revision_suffix + + containerapp_def = ContainerAppModel + containerapp_def["location"] = location + containerapp_def["identity"] = identity_def + containerapp_def["properties"]["managedEnvironmentId"] = managed_env + containerapp_def["properties"]["configuration"] = config_def + containerapp_def["properties"]["template"] = template_def + containerapp_def["tags"] = tags + + try: + r = ContainerAppClient.create_or_update( + cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_def, no_wait=no_wait) + + if "properties" in r and "provisioningState" in r["properties"] and r["properties"]["provisioningState"].lower() == "waiting" and not no_wait: + not disable_warnings and logger.warning('Containerapp creation in progress. Please monitor the creation using `az containerapp show -n {} -g {}`'.format(name, resource_group_name)) + + if "configuration" in r["properties"] and "ingress" in r["properties"]["configuration"] and "fqdn" in r["properties"]["configuration"]["ingress"]: + not disable_warnings and logger.warning("\nContainer app created. Access your app at https://{}/\n".format(r["properties"]["configuration"]["ingress"]["fqdn"])) + else: + not disable_warnings and logger.warning("\nContainer app created. To access it over HTTPS, enable ingress: az containerapp ingress enable --help\n") + + return r + except Exception as e: + handle_raw_exception(e) + + +def update_containerapp_logic(cmd, + name, + resource_group_name, + yaml=None, + image=None, + container_name=None, + min_replicas=None, + max_replicas=None, + set_env_vars=None, + remove_env_vars=None, + replace_env_vars=None, + remove_all_env_vars=False, + cpu=None, + memory=None, + revision_suffix=None, + startup_command=None, + args=None, + tags=None, + no_wait=False, + from_revision=None): + _validate_subscription_registered(cmd, "Microsoft.App") + + if yaml: + if image or min_replicas or max_replicas or\ + set_env_vars or remove_env_vars or replace_env_vars or remove_all_env_vars or cpu or memory or\ + startup_command or args or tags: + logger.warning('Additional flags were passed along with --yaml. These flags will be ignored, and the configuration defined in the yaml will be used instead') + return update_containerapp_yaml(cmd=cmd, name=name, resource_group_name=resource_group_name, file_name=yaml, no_wait=no_wait, from_revision=from_revision) + + containerapp_def = None + try: + containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except: + pass + + if not containerapp_def: + raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) + + if from_revision: + try: + r = ContainerAppClient.show_revision(cmd=cmd, resource_group_name=resource_group_name, container_app_name=name, name=from_revision) + except CLIError as e: + # Error handle the case where revision not found? + handle_raw_exception(e) + + _update_revision_env_secretrefs(r["properties"]["template"]["containers"], name) + containerapp_def["properties"]["template"] = r["properties"]["template"] + + # Doing this while API has bug. If env var is an empty string, API doesn't return "value" even though the "value" should be an empty string + if "properties" in containerapp_def and "template" in containerapp_def["properties"] and "containers" in containerapp_def["properties"]["template"]: + for container in containerapp_def["properties"]["template"]["containers"]: + if "env" in container: + for e in container["env"]: + if "value" not in e: + e["value"] = "" + + update_map = {} + update_map['scale'] = min_replicas or max_replicas + update_map['container'] = image or container_name or set_env_vars is not None or remove_env_vars is not None or replace_env_vars is not None or remove_all_env_vars or cpu or memory or startup_command is not None or args is not None + + if tags: + _add_or_update_tags(containerapp_def, tags) + + if revision_suffix is not None: + containerapp_def["properties"]["template"]["revisionSuffix"] = revision_suffix + + # Containers + if update_map["container"]: + if not container_name: + if len(containerapp_def["properties"]["template"]["containers"]) == 1: + container_name = containerapp_def["properties"]["template"]["containers"][0]["name"] + else: + raise ValidationError("Usage error: --container-name is required when adding or updating a container") + + # Check if updating existing container + updating_existing_container = False + for c in containerapp_def["properties"]["template"]["containers"]: + if c["name"].lower() == container_name.lower(): + updating_existing_container = True + + if image is not None: + c["image"] = image + + if set_env_vars is not None: + if "env" not in c or not c["env"]: + c["env"] = [] + # env vars + _add_or_update_env_vars(c["env"], parse_env_var_flags(set_env_vars)) + + if replace_env_vars is not None: + # Remove other existing env_vars, then add them + c["env"] = [] + _add_or_update_env_vars(c["env"], parse_env_var_flags(replace_env_vars)) + + if remove_env_vars is not None: + if "env" not in c or not c["env"]: + c["env"] = [] + # env vars + _remove_env_vars(c["env"], remove_env_vars) + + if remove_all_env_vars: + c["env"] = [] + + if startup_command is not None: + if isinstance(startup_command, list) and not startup_command: + c["command"] = None + else: + c["command"] = startup_command + if args is not None: + if isinstance(args, list) and not args: + c["args"] = None + else: + c["args"] = args + if cpu is not None or memory is not None: + if "resources" in c and c["resources"]: + if cpu is not None: + c["resources"]["cpu"] = cpu + if memory is not None: + c["resources"]["memory"] = memory + else: + c["resources"] = { + "cpu": cpu, + "memory": memory + } + + # If not updating existing container, add as new container + if not updating_existing_container: + if image is None: + raise ValidationError("Usage error: --image is required when adding a new container") + + resources_def = None + if cpu is not None or memory is not None: + resources_def = ContainerResourcesModel + resources_def["cpu"] = cpu + resources_def["memory"] = memory + + container_def = ContainerModel + container_def["name"] = container_name + container_def["image"] = image + container_def["env"] = [] + + if set_env_vars is not None: + # env vars + _add_or_update_env_vars(container_def["env"], parse_env_var_flags(set_env_vars)) + + if replace_env_vars is not None: + # env vars + _add_or_update_env_vars(container_def["env"], parse_env_var_flags(replace_env_vars)) + + if remove_env_vars is not None: + # env vars + _remove_env_vars(container_def["env"], remove_env_vars) + + if remove_all_env_vars: + container_def["env"] = [] + + if startup_command is not None: + if isinstance(startup_command, list) and not startup_command: + container_def["command"] = None + else: + container_def["command"] = startup_command + if args is not None: + if isinstance(args, list) and not args: + container_def["args"] = None + else: + container_def["args"] = args + if resources_def is not None: + container_def["resources"] = resources_def + + containerapp_def["properties"]["template"]["containers"].append(container_def) + + # Scale + if update_map["scale"]: + if "scale" not in containerapp_def["properties"]["template"]: + containerapp_def["properties"]["template"]["scale"] = {} + if min_replicas is not None: + containerapp_def["properties"]["template"]["scale"]["minReplicas"] = min_replicas + if max_replicas is not None: + containerapp_def["properties"]["template"]["scale"]["maxReplicas"] = max_replicas + + _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) + + try: + r = ContainerAppClient.create_or_update( + cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_def, no_wait=no_wait) + + if "properties" in r and "provisioningState" in r["properties"] and r["properties"]["provisioningState"].lower() == "waiting" and not no_wait: + logger.warning('Containerapp update in progress. Please monitor the update using `az containerapp show -n {} -g {}`'.format(name, resource_group_name)) + + return r + except Exception as e: + handle_raw_exception(e) + + +def update_containerapp(cmd, + name, + resource_group_name, + yaml=None, + image=None, + container_name=None, + min_replicas=None, + max_replicas=None, + set_env_vars=None, + remove_env_vars=None, + replace_env_vars=None, + remove_all_env_vars=False, + cpu=None, + memory=None, + revision_suffix=None, + startup_command=None, + args=None, + tags=None, + no_wait=False): + _validate_subscription_registered(cmd, "Microsoft.App") + + return update_containerapp_logic(cmd, + name, + resource_group_name, + yaml, + image, + container_name, + min_replicas, + max_replicas, + set_env_vars, + remove_env_vars, + replace_env_vars, + remove_all_env_vars, + cpu, + memory, + revision_suffix, + startup_command, + args, + tags, + no_wait) + + +def show_containerapp(cmd, name, resource_group_name): + _validate_subscription_registered(cmd, "Microsoft.App") + + try: + return ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except CLIError as e: + handle_raw_exception(e) + + +def list_containerapp(cmd, resource_group_name=None): + _validate_subscription_registered(cmd, "Microsoft.App") + + try: + containerapps = [] + if resource_group_name is None: + containerapps = ContainerAppClient.list_by_subscription(cmd=cmd) + else: + containerapps = ContainerAppClient.list_by_resource_group(cmd=cmd, resource_group_name=resource_group_name) + + return containerapps + except CLIError as e: + handle_raw_exception(e) + + +def delete_containerapp(cmd, name, resource_group_name, no_wait=False): + _validate_subscription_registered(cmd, "Microsoft.App") + + try: + return ContainerAppClient.delete(cmd=cmd, name=name, resource_group_name=resource_group_name, no_wait=no_wait) + except CLIError as e: + handle_raw_exception(e) + + +def create_managed_environment(cmd, + name, + resource_group_name, + logs_customer_id=None, + logs_key=None, + logs_workspace_name=None, + location=None, + instrumentation_key=None, + infrastructure_subnet_resource_id=None, + docker_bridge_cidr=None, + platform_reserved_cidr=None, + platform_reserved_dns_ip=None, + internal_only=False, + tags=None, + disable_warnings=False, + no_wait=False): + + location = location or _get_location_from_resource_group(cmd.cli_ctx, resource_group_name) + + _validate_subscription_registered(cmd, "Microsoft.App") + _ensure_location_allowed(cmd, location, "Microsoft.App", "managedEnvironments") + + if logs_customer_id is None or logs_key is None: + logs_customer_id, logs_key = _generate_log_analytics_if_not_provided(cmd, logs_customer_id, logs_key, logs_workspace_name, location, resource_group_name) + + log_analytics_config_def = LogAnalyticsConfigurationModel + log_analytics_config_def["customerId"] = logs_customer_id + log_analytics_config_def["sharedKey"] = logs_key + + app_logs_config_def = AppLogsConfigurationModel + app_logs_config_def["destination"] = "log-analytics" + app_logs_config_def["logAnalyticsConfiguration"] = log_analytics_config_def + + managed_env_def = ManagedEnvironmentModel + managed_env_def["location"] = location + managed_env_def["properties"]["internalLoadBalancerEnabled"] = False + managed_env_def["properties"]["appLogsConfiguration"] = app_logs_config_def + managed_env_def["tags"] = tags + + if instrumentation_key is not None: + managed_env_def["properties"]["daprAIInstrumentationKey"] = instrumentation_key + + if infrastructure_subnet_resource_id or docker_bridge_cidr or platform_reserved_cidr or platform_reserved_dns_ip: + vnet_config_def = VnetConfigurationModel + + if infrastructure_subnet_resource_id is not None: + vnet_config_def["infrastructureSubnetId"] = infrastructure_subnet_resource_id + + if docker_bridge_cidr is not None: + vnet_config_def["dockerBridgeCidr"] = docker_bridge_cidr + + if platform_reserved_cidr is not None: + vnet_config_def["platformReservedCidr"] = platform_reserved_cidr + + if platform_reserved_dns_ip is not None: + vnet_config_def["platformReservedDnsIP"] = platform_reserved_dns_ip + + managed_env_def["properties"]["vnetConfiguration"] = vnet_config_def + + if internal_only: + if not infrastructure_subnet_resource_id: + raise ValidationError('Infrastructure subnet resource ID needs to be supplied for internal only environments.') + managed_env_def["properties"]["internalLoadBalancerEnabled"] = True + + try: + r = ManagedEnvironmentClient.create( + cmd=cmd, resource_group_name=resource_group_name, name=name, managed_environment_envelope=managed_env_def, no_wait=no_wait) + + if "properties" in r and "provisioningState" in r["properties"] and r["properties"]["provisioningState"].lower() == "waiting" and not no_wait: + not disable_warnings and logger.warning('Containerapp environment creation in progress. Please monitor the creation using `az containerapp env show -n {} -g {}`'.format(name, resource_group_name)) + + not disable_warnings and logger.warning("\nContainer Apps environment created. To deploy a container app, use: az containerapp create --help\n") + + return r + except Exception as e: + handle_raw_exception(e) + + +def update_managed_environment(cmd, + name, + resource_group_name, + tags=None, + no_wait=False): + raise CLIInternalError('Containerapp env update is not yet supported.') + + +def show_managed_environment(cmd, name, resource_group_name): + _validate_subscription_registered(cmd, "Microsoft.App") + + try: + return ManagedEnvironmentClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except CLIError as e: + handle_raw_exception(e) + + +def list_managed_environments(cmd, resource_group_name=None): + _validate_subscription_registered(cmd, "Microsoft.App") + + try: + managed_envs = [] + if resource_group_name is None: + managed_envs = ManagedEnvironmentClient.list_by_subscription(cmd=cmd) + else: + managed_envs = ManagedEnvironmentClient.list_by_resource_group(cmd=cmd, resource_group_name=resource_group_name) + + return managed_envs + except CLIError as e: + handle_raw_exception(e) + + +def delete_managed_environment(cmd, name, resource_group_name, no_wait=False): + _validate_subscription_registered(cmd, "Microsoft.App") + + try: + return ManagedEnvironmentClient.delete(cmd=cmd, name=name, resource_group_name=resource_group_name, no_wait=no_wait) + except CLIError as e: + handle_raw_exception(e) + + +def assign_managed_identity(cmd, name, resource_group_name, system_assigned=False, user_assigned=None, no_wait=False): + _validate_subscription_registered(cmd, "Microsoft.App") + + assign_system_identity = system_assigned + if not user_assigned: + user_assigned = [] + assign_user_identities = [x.lower() for x in user_assigned] + + containerapp_def = None + + # Get containerapp properties of CA we are updating + try: + containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except: + pass + + if not containerapp_def: + raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) + + _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) + + # If identity not returned + try: + containerapp_def["identity"] + containerapp_def["identity"]["type"] + except: + containerapp_def["identity"] = {} + containerapp_def["identity"]["type"] = "None" + + if assign_system_identity and containerapp_def["identity"]["type"].__contains__("SystemAssigned"): + logger.warning("System identity is already assigned to containerapp") + + # Assign correct type + try: + if containerapp_def["identity"]["type"] != "None": + if containerapp_def["identity"]["type"] == "SystemAssigned" and assign_user_identities: + containerapp_def["identity"]["type"] = "SystemAssigned,UserAssigned" + if containerapp_def["identity"]["type"] == "UserAssigned" and assign_system_identity: + containerapp_def["identity"]["type"] = "SystemAssigned,UserAssigned" + else: + if assign_system_identity and assign_user_identities: + containerapp_def["identity"]["type"] = "SystemAssigned,UserAssigned" + elif assign_system_identity: + containerapp_def["identity"]["type"] = "SystemAssigned" + elif assign_user_identities: + containerapp_def["identity"]["type"] = "UserAssigned" + except: + # Always returns "type": "None" when CA has no previous identities + pass + + if assign_user_identities: + try: + containerapp_def["identity"]["userAssignedIdentities"] + except: + containerapp_def["identity"]["userAssignedIdentities"] = {} + + subscription_id = get_subscription_id(cmd.cli_ctx) + + for r in assign_user_identities: + r = _ensure_identity_resource_id(subscription_id, resource_group_name, r).replace("resourceGroup", "resourcegroup") + isExisting = False + + for old_user_identity in containerapp_def["identity"]["userAssignedIdentities"]: + if old_user_identity.lower() == r.lower(): + isExisting = True + logger.warning("User identity {} is already assigned to containerapp".format(old_user_identity)) + break + + if not isExisting: + containerapp_def["identity"]["userAssignedIdentities"][r] = {} + + try: + r = ContainerAppClient.create_or_update(cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_def, no_wait=no_wait) + # If identity is not returned, do nothing + return r["identity"] + + except Exception as e: + handle_raw_exception(e) + + +def remove_managed_identity(cmd, name, resource_group_name, system_assigned=False, user_assigned=None, no_wait=False): + _validate_subscription_registered(cmd, "Microsoft.App") + + remove_system_identity = system_assigned + remove_user_identities = user_assigned + + if user_assigned: + remove_id_size = len(remove_user_identities) + + # Remove duplicate identities that are passed and notify + remove_user_identities = list(set(remove_user_identities)) + if remove_id_size != len(remove_user_identities): + logger.warning("At least one identity was passed twice.") + + containerapp_def = None + # Get containerapp properties of CA we are updating + try: + containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except: + pass + + if not containerapp_def: + raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) + + _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) + + # If identity not returned + try: + containerapp_def["identity"] + containerapp_def["identity"]["type"] + except: + containerapp_def["identity"] = {} + containerapp_def["identity"]["type"] = "None" + + if containerapp_def["identity"]["type"] == "None": + raise InvalidArgumentValueError("The containerapp {} has no system or user assigned identities.".format(name)) + + if remove_system_identity: + if containerapp_def["identity"]["type"] == "UserAssigned": + raise InvalidArgumentValueError("The containerapp {} has no system assigned identities.".format(name)) + containerapp_def["identity"]["type"] = ("None" if containerapp_def["identity"]["type"] == "SystemAssigned" else "UserAssigned") + + if isinstance(user_assigned, list) and not user_assigned: + containerapp_def["identity"]["userAssignedIdentities"] = {} + remove_user_identities = [] + + if containerapp_def["identity"]["userAssignedIdentities"] == {}: + containerapp_def["identity"]["userAssignedIdentities"] = None + containerapp_def["identity"]["type"] = ("None" if containerapp_def["identity"]["type"] == "UserAssigned" else "SystemAssigned") + + if remove_user_identities: + subscription_id = get_subscription_id(cmd.cli_ctx) + try: + containerapp_def["identity"]["userAssignedIdentities"] + except: + containerapp_def["identity"]["userAssignedIdentities"] = {} + for remove_id in remove_user_identities: + given_id = remove_id + remove_id = _ensure_identity_resource_id(subscription_id, resource_group_name, remove_id) + wasRemoved = False + + for old_user_identity in containerapp_def["identity"]["userAssignedIdentities"]: + if old_user_identity.lower() == remove_id.lower(): + containerapp_def["identity"]["userAssignedIdentities"].pop(old_user_identity) + wasRemoved = True + break + + if not wasRemoved: + raise InvalidArgumentValueError("The containerapp does not have specified user identity '{}' assigned, so it cannot be removed.".format(given_id)) + + if containerapp_def["identity"]["userAssignedIdentities"] == {}: + containerapp_def["identity"]["userAssignedIdentities"] = None + containerapp_def["identity"]["type"] = ("None" if containerapp_def["identity"]["type"] == "UserAssigned" else "SystemAssigned") + + try: + r = ContainerAppClient.create_or_update(cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_def, no_wait=no_wait) + return r["identity"] + except Exception as e: + handle_raw_exception(e) + + +def show_managed_identity(cmd, name, resource_group_name): + _validate_subscription_registered(cmd, "Microsoft.App") + + try: + r = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except CLIError as e: + handle_raw_exception(e) + + try: + return r["identity"] + except: + r["identity"] = {} + r["identity"]["type"] = "None" + return r["identity"] + + +def _validate_github(repo, branch, token): + from github import Github, GithubException + from github.GithubException import BadCredentialsException + + if repo: + g = Github(token) + github_repo = None + try: + github_repo = g.get_repo(repo) + if not github_repo.permissions.push or not github_repo.permissions.maintain: + raise ValidationError("The token does not have appropriate access rights to repository {}.".format(repo)) + try: + github_repo.get_branch(branch=branch) + except GithubException as e: + error_msg = "Encountered GitHub error when accessing {} branch in {} repo.".format(branch, repo) + if e.data and e.data['message']: + error_msg += " Error: {}".format(e.data['message']) + raise CLIInternalError(error_msg) from e + logger.warning('Verified GitHub repo and branch') + except BadCredentialsException as e: + raise ValidationError("Could not authenticate to the repository. Please create a Personal Access Token and use " + "the --token argument. Run 'az webapp deployment github-actions add --help' " + "for more information.") from e + except GithubException as e: + error_msg = "Encountered GitHub error when accessing {} repo".format(repo) + if e.data and e.data['message']: + error_msg += " Error: {}".format(e.data['message']) + raise CLIInternalError(error_msg) from e + + +def create_or_update_github_action(cmd, + name, + resource_group_name, + repo_url, + registry_url=None, + registry_username=None, + registry_password=None, + branch="main", + token=None, + login_with_github=False, + image=None, + context_path=None, + service_principal_client_id=None, + service_principal_client_secret=None, + service_principal_tenant_id=None, + no_wait=False): + if not token and not login_with_github: + raise_missing_token_suggestion() + elif not token: + scopes = ["admin:repo_hook", "repo", "workflow"] + token = get_github_access_token(cmd, scopes) + elif token and login_with_github: + logger.warning("Both token and --login-with-github flag are provided. Will use provided token") + + repo = repo_url_to_name(repo_url) + repo_url = f"https://github.com/{repo}" # allow specifying repo as / without the full github url + + _validate_github(repo, branch, token) + + source_control_info = None + + try: + source_control_info = GitHubActionClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + + except Exception as ex: + if not service_principal_client_id or not service_principal_client_secret or not service_principal_tenant_id: + raise RequiredArgumentMissingError('Service principal client ID, secret and tenant ID are required to add github actions for the first time. Please create one using the command \"az ad sp create-for-rbac --name {{name}} --role contributor --scopes /subscriptions/{{subscription}}/resourceGroups/{{resourceGroup}} --sdk-auth\"') from ex + source_control_info = SourceControlModel + + source_control_info["properties"]["repoUrl"] = repo_url + + if branch: + source_control_info["properties"]["branch"] = branch + if not source_control_info["properties"]["branch"]: + source_control_info["properties"]["branch"] = "main" + + azure_credentials = None + + if service_principal_client_id or service_principal_client_secret or service_principal_tenant_id: + azure_credentials = AzureCredentialsModel + azure_credentials["clientId"] = service_principal_client_id + azure_credentials["clientSecret"] = service_principal_client_secret + azure_credentials["tenantId"] = service_principal_tenant_id + azure_credentials["subscriptionId"] = get_subscription_id(cmd.cli_ctx) + + # Registry + if registry_username is None or registry_password is None: + # If registry is Azure Container Registry, we can try inferring credentials + if not registry_url or '.azurecr.io' not in registry_url: + raise RequiredArgumentMissingError('Registry url is required if using Azure Container Registry, otherwise Registry username and password are required if using Dockerhub') + logger.warning('No credential was provided to access Azure Container Registry. Trying to look up...') + parsed = urlparse(registry_url) + registry_name = (parsed.netloc if parsed.scheme else parsed.path).split('.')[0] + + try: + registry_username, registry_password, _ = _get_acr_cred(cmd.cli_ctx, registry_name) + except Exception as ex: + raise RequiredArgumentMissingError('Failed to retrieve credentials for container registry. Please provide the registry username and password') from ex + + registry_info = RegistryInfoModel + registry_info["registryUrl"] = registry_url + registry_info["registryUserName"] = registry_username + registry_info["registryPassword"] = registry_password + + github_action_configuration = GitHubActionConfiguration + github_action_configuration["registryInfo"] = registry_info + github_action_configuration["azureCredentials"] = azure_credentials + github_action_configuration["contextPath"] = context_path + github_action_configuration["image"] = image + + source_control_info["properties"]["githubActionConfiguration"] = github_action_configuration + + headers = ["x-ms-github-auxiliary={}".format(token)] + + try: + logger.warning("Creating Github action...") + r = GitHubActionClient.create_or_update(cmd=cmd, resource_group_name=resource_group_name, name=name, github_action_envelope=source_control_info, headers=headers, no_wait=no_wait) + if not no_wait: + await_github_action(cmd, token, repo, branch, name, resource_group_name) + return r + except Exception as e: + handle_raw_exception(e) + + +def show_github_action(cmd, name, resource_group_name): + try: + return GitHubActionClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except Exception as e: + handle_raw_exception(e) + + +def delete_github_action(cmd, name, resource_group_name, token=None, login_with_github=False): + # Check if there is an existing source control to delete + try: + github_action_config = GitHubActionClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except Exception as e: + handle_raw_exception(e) + + repo_url = github_action_config["properties"]["repoUrl"] + + if not token and not login_with_github: + raise_missing_token_suggestion() + elif not token: + scopes = ["admin:repo_hook", "repo", "workflow"] + token = get_github_access_token(cmd, scopes) + elif token and login_with_github: + logger.warning("Both token and --login-with-github flag are provided. Will use provided token") + + # Check if PAT can access repo + try: + # Verify github repo + from github import Github, GithubException + from github.GithubException import BadCredentialsException + + repo = None + repo = repo_url.split('/') + if len(repo) >= 2: + repo = '/'.join(repo[-2:]) + + if repo: + g = Github(token) + github_repo = None + try: + github_repo = g.get_repo(repo) + if not github_repo.permissions.push or not github_repo.permissions.maintain: + raise ValidationError("The token does not have appropriate access rights to repository {}.".format(repo)) + except BadCredentialsException as e: + raise CLIInternalError("Could not authenticate to the repository. Please create a Personal Access Token and use " + "the --token argument. Run 'az webapp deployment github-actions add --help' " + "for more information.") from e + except GithubException as e: + error_msg = "Encountered GitHub error when accessing {} repo".format(repo) + if e.data and e.data['message']: + error_msg += " Error: {}".format(e.data['message']) + raise CLIInternalError(error_msg) from e + except CLIError as clierror: + raise clierror + except Exception: + # If exception due to github package missing, etc just continue without validating the repo and rely on api validation + pass + + headers = ["x-ms-github-auxiliary={}".format(token)] + + try: + return GitHubActionClient.delete(cmd=cmd, resource_group_name=resource_group_name, name=name, headers=headers) + except Exception as e: + handle_raw_exception(e) + + +def list_revisions(cmd, name, resource_group_name): + try: + return ContainerAppClient.list_revisions(cmd=cmd, resource_group_name=resource_group_name, name=name) + except CLIError as e: + handle_raw_exception(e) + + +def show_revision(cmd, resource_group_name, revision_name, name=None): + if not name: + name = _get_app_from_revision(revision_name) + + try: + return ContainerAppClient.show_revision(cmd=cmd, resource_group_name=resource_group_name, container_app_name=name, name=revision_name) + except CLIError as e: + handle_raw_exception(e) + + +def restart_revision(cmd, resource_group_name, revision_name, name=None): + if not name: + name = _get_app_from_revision(revision_name) + + try: + return ContainerAppClient.restart_revision(cmd=cmd, resource_group_name=resource_group_name, container_app_name=name, name=revision_name) + except CLIError as e: + handle_raw_exception(e) + + +def activate_revision(cmd, resource_group_name, revision_name, name=None): + if not name: + name = _get_app_from_revision(revision_name) + + try: + return ContainerAppClient.activate_revision(cmd=cmd, resource_group_name=resource_group_name, container_app_name=name, name=revision_name) + except CLIError as e: + handle_raw_exception(e) + + +def deactivate_revision(cmd, resource_group_name, revision_name, name=None): + if not name: + name = _get_app_from_revision(revision_name) + + try: + return ContainerAppClient.deactivate_revision(cmd=cmd, resource_group_name=resource_group_name, container_app_name=name, name=revision_name) + except CLIError as e: + handle_raw_exception(e) + + +def copy_revision(cmd, + resource_group_name, + from_revision=None, + # label=None, + name=None, + yaml=None, + image=None, + container_name=None, + min_replicas=None, + max_replicas=None, + set_env_vars=None, + replace_env_vars=None, + remove_env_vars=None, + remove_all_env_vars=False, + cpu=None, + memory=None, + revision_suffix=None, + startup_command=None, + args=None, + tags=None, + no_wait=False): + _validate_subscription_registered(cmd, "Microsoft.App") + + if not name and not from_revision: + raise RequiredArgumentMissingError('Usage error: --name is required if not using --from-revision.') + + if not name: + name = _get_app_from_revision(from_revision) + + return update_containerapp_logic(cmd, + name, + resource_group_name, + yaml, + image, + container_name, + min_replicas, + max_replicas, + set_env_vars, + remove_env_vars, + replace_env_vars, + remove_all_env_vars, + cpu, + memory, + revision_suffix, + startup_command, + args, + tags, + no_wait, + from_revision) + + +def set_revision_mode(cmd, resource_group_name, name, mode, no_wait=False): + _validate_subscription_registered(cmd, "Microsoft.App") + + containerapp_def = None + try: + containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except: + pass + + if not containerapp_def: + raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) + + containerapp_def["properties"]["configuration"]["activeRevisionsMode"] = mode.lower() + + _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) + + try: + r = ContainerAppClient.create_or_update( + cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_def, no_wait=no_wait) + return r["properties"]["configuration"]["activeRevisionsMode"] + except Exception as e: + handle_raw_exception(e) + + +def show_ingress(cmd, name, resource_group_name): + _validate_subscription_registered(cmd, "Microsoft.App") + + containerapp_def = None + try: + containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except: + pass + + if not containerapp_def: + raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) + + try: + return containerapp_def["properties"]["configuration"]["ingress"] + except Exception as e: + raise ValidationError("The containerapp '{}' does not have ingress enabled.".format(name)) from e + + +def enable_ingress(cmd, name, resource_group_name, type, target_port, transport="auto", allow_insecure=False, disable_warnings=False, no_wait=False): # pylint: disable=redefined-builtin + _validate_subscription_registered(cmd, "Microsoft.App") + + containerapp_def = None + try: + containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except: + pass + + if not containerapp_def: + raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) + + external_ingress = None + if type is not None: + if type.lower() == "internal": + external_ingress = False + elif type.lower() == "external": + external_ingress = True + + ingress_def = None + if target_port is not None and type is not None: + ingress_def = IngressModel + ingress_def["external"] = external_ingress + ingress_def["targetPort"] = target_port + ingress_def["transport"] = transport + ingress_def["allowInsecure"] = allow_insecure + + containerapp_def["properties"]["configuration"]["ingress"] = ingress_def + + _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) + + try: + r = ContainerAppClient.create_or_update( + cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_def, no_wait=no_wait) + not disable_warnings and logger.warning("\nIngress enabled. Access your app at https://{}/\n".format(r["properties"]["configuration"]["ingress"]["fqdn"])) + return r["properties"]["configuration"]["ingress"] + except Exception as e: + handle_raw_exception(e) + + +def disable_ingress(cmd, name, resource_group_name, no_wait=False): + _validate_subscription_registered(cmd, "Microsoft.App") + + containerapp_def = None + try: + containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except: + pass + + if not containerapp_def: + raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) + + containerapp_def["properties"]["configuration"]["ingress"] = None + + _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) + + try: + ContainerAppClient.create_or_update( + cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_def, no_wait=no_wait) + logger.warning("Ingress has been disabled successfully.") + return + except Exception as e: + handle_raw_exception(e) + + +def set_ingress_traffic(cmd, name, resource_group_name, traffic_weights, no_wait=False): + _validate_subscription_registered(cmd, "Microsoft.App") + + containerapp_def = None + try: + containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except: + pass + + if not containerapp_def: + raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) + + try: + containerapp_def["properties"]["configuration"]["ingress"] + except Exception as e: + raise ValidationError("Ingress must be enabled to set ingress traffic. Try running `az containerapp ingress -h` for more info.") from e + + if traffic_weights is not None: + _update_traffic_weights(containerapp_def, traffic_weights) + + _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) + + try: + r = ContainerAppClient.create_or_update( + cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_def, no_wait=no_wait) + return r["properties"]["configuration"]["ingress"]["traffic"] + except Exception as e: + handle_raw_exception(e) + + +def show_ingress_traffic(cmd, name, resource_group_name): + _validate_subscription_registered(cmd, "Microsoft.App") + + containerapp_def = None + try: + containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except: + pass + + if not containerapp_def: + raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) + + try: + return containerapp_def["properties"]["configuration"]["ingress"]["traffic"] + except Exception as e: + raise ValidationError("Ingress must be enabled to show ingress traffic. Try running `az containerapp ingress -h` for more info.") from e + + +def show_registry(cmd, name, resource_group_name, server): + _validate_subscription_registered(cmd, "Microsoft.App") + + containerapp_def = None + try: + containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except: + pass + + if not containerapp_def: + raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) + + try: + containerapp_def["properties"]["configuration"]["registries"] + except Exception as e: + raise ValidationError("The containerapp {} has no assigned registries.".format(name)) from e + + registries_def = containerapp_def["properties"]["configuration"]["registries"] + + for r in registries_def: + if r['server'].lower() == server.lower(): + return r + raise InvalidArgumentValueError("The containerapp {} does not have specified registry assigned.".format(name)) + + +def list_registry(cmd, name, resource_group_name): + _validate_subscription_registered(cmd, "Microsoft.App") + + containerapp_def = None + try: + containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except: + pass + + if not containerapp_def: + raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) + + try: + return containerapp_def["properties"]["configuration"]["registries"] + except Exception as e: + raise ValidationError("The containerapp {} has no assigned registries.".format(name)) from e + + +def set_registry(cmd, name, resource_group_name, server, username=None, password=None, disable_warnings=False, no_wait=False): + _validate_subscription_registered(cmd, "Microsoft.App") + + containerapp_def = None + try: + containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except: + pass + + if not containerapp_def: + raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) + + _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) + + registries_def = None + registry = None + + if "registries" not in containerapp_def["properties"]["configuration"]: + containerapp_def["properties"]["configuration"]["registries"] = [] + + registries_def = containerapp_def["properties"]["configuration"]["registries"] + + if not username or not password: + # If registry is Azure Container Registry, we can try inferring credentials + if '.azurecr.io' not in server: + raise RequiredArgumentMissingError('Registry username and password are required if you are not using Azure Container Registry.') + not disable_warnings and logger.warning('No credential was provided to access Azure Container Registry. Trying to look up...') + parsed = urlparse(server) + registry_name = (parsed.netloc if parsed.scheme else parsed.path).split('.')[0] + + try: + username, password, _ = _get_acr_cred(cmd.cli_ctx, registry_name) + except Exception as ex: + raise RequiredArgumentMissingError('Failed to retrieve credentials for container registry. Please provide the registry username and password') from ex + + # Check if updating existing registry + updating_existing_registry = False + for r in registries_def: + if r['server'].lower() == server.lower(): + not disable_warnings and logger.warning("Updating existing registry.") + updating_existing_registry = True + if username: + r["username"] = username + if password: + r["passwordSecretRef"] = store_as_secret_and_return_secret_ref( + containerapp_def["properties"]["configuration"]["secrets"], + r["username"], + r["server"], + password, + update_existing_secret=True) + + # If not updating existing registry, add as new registry + if not updating_existing_registry: + registry = RegistryCredentialsModel + registry["server"] = server + registry["username"] = username + registry["passwordSecretRef"] = store_as_secret_and_return_secret_ref( + containerapp_def["properties"]["configuration"]["secrets"], + username, + server, + password, + update_existing_secret=True) + + registries_def.append(registry) + + try: + r = ContainerAppClient.create_or_update( + cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_def, no_wait=no_wait) + + return r["properties"]["configuration"]["registries"] + except Exception as e: + handle_raw_exception(e) + + +def remove_registry(cmd, name, resource_group_name, server, no_wait=False): + _validate_subscription_registered(cmd, "Microsoft.App") + + containerapp_def = None + try: + containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except: + pass + + if not containerapp_def: + raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) + + _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) + + registries_def = None + + try: + containerapp_def["properties"]["configuration"]["registries"] + except Exception as e: + raise ValidationError("The containerapp {} has no assigned registries.".format(name)) from e + + registries_def = containerapp_def["properties"]["configuration"]["registries"] + + wasRemoved = False + for i, value in enumerate(registries_def): + r = value + if r['server'].lower() == server.lower(): + registries_def.pop(i) + _remove_registry_secret(containerapp_def=containerapp_def, server=server, username=r["username"]) + wasRemoved = True + break + + if not wasRemoved: + raise ValidationError("Containerapp does not have registry server {} assigned.".format(server)) + + if len(containerapp_def["properties"]["configuration"]["registries"]) == 0: + containerapp_def["properties"]["configuration"].pop("registries") + + try: + r = ContainerAppClient.create_or_update( + cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_def, no_wait=no_wait) + logger.warning("Registry successfully removed.") + return r["properties"]["configuration"]["registries"] + # No registries to return, so return nothing + except Exception: + pass + + +def list_secrets(cmd, name, resource_group_name, show_values=False): + _validate_subscription_registered(cmd, "Microsoft.App") + + containerapp_def = None + try: + r = containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except: + pass + + if not containerapp_def: + raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) + + if not show_values: + try: + return r["properties"]["configuration"]["secrets"] + except: + return [] + try: + return ContainerAppClient.list_secrets(cmd=cmd, resource_group_name=resource_group_name, name=name)["value"] + except Exception: + return [] + # raise ValidationError("The containerapp {} has no assigned secrets.".format(name)) from e + + +def show_secret(cmd, name, resource_group_name, secret_name): + _validate_subscription_registered(cmd, "Microsoft.App") + + containerapp_def = None + try: + containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except: + pass + + if not containerapp_def: + raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) + + r = ContainerAppClient.list_secrets(cmd=cmd, resource_group_name=resource_group_name, name=name) + for secret in r["value"]: + if secret["name"].lower() == secret_name.lower(): + return secret + raise ValidationError("The containerapp {} does not have a secret assigned with name {}.".format(name, secret_name)) + + +def remove_secrets(cmd, name, resource_group_name, secret_names, no_wait=False): + _validate_subscription_registered(cmd, "Microsoft.App") + + containerapp_def = None + try: + containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except: + pass + + if not containerapp_def: + raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) + + _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) + + for secret_name in secret_names: + wasRemoved = False + for secret in containerapp_def["properties"]["configuration"]["secrets"]: + if secret["name"].lower() == secret_name.lower(): + _remove_secret(containerapp_def, secret_name=secret["name"]) + wasRemoved = True + break + if not wasRemoved: + raise ValidationError("The containerapp {} does not have a secret assigned with name {}.".format(name, secret_name)) + try: + r = ContainerAppClient.create_or_update( + cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_def, no_wait=no_wait) + logger.warning("Secret(s) successfully removed.") + try: + return r["properties"]["configuration"]["secrets"] + # No secrets to return + except: + pass + except Exception as e: + handle_raw_exception(e) + + +def set_secrets(cmd, name, resource_group_name, secrets, + # yaml=None, + no_wait=False): + _validate_subscription_registered(cmd, "Microsoft.App") + + for s in secrets: + if s: + parsed = s.split("=") + if parsed: + if len(parsed[0]) > MAXIMUM_SECRET_LENGTH: + raise ValidationError(f"Secret names cannot be longer than {MAXIMUM_SECRET_LENGTH}. " + f"Please shorten {parsed[0]}") + + # if not yaml and not secrets: + # raise RequiredArgumentMissingError('Usage error: --secrets is required if not using --yaml') + + # if not secrets: + # secrets = [] + + # if yaml: + # yaml_secrets = load_yaml_file(yaml).split(' ') + # try: + # parse_secret_flags(yaml_secrets) + # except: + # raise ValidationError("YAML secrets must be a list of secrets in key=value format, delimited by new line.") + # for secret in yaml_secrets: + # secrets.append(secret.strip()) + + containerapp_def = None + try: + containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except: + pass + + if not containerapp_def: + raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) + + _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) + _add_or_update_secrets(containerapp_def, parse_secret_flags(secrets)) + + try: + r = ContainerAppClient.create_or_update( + cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_def, no_wait=no_wait) + logger.warning("Containerapp '{}' must be restarted in order for secret changes to take effect.".format(name)) + return r["properties"]["configuration"]["secrets"] + except Exception as e: + handle_raw_exception(e) + + +def enable_dapr(cmd, name, resource_group_name, dapr_app_id=None, dapr_app_port=None, dapr_app_protocol=None, no_wait=False): + _validate_subscription_registered(cmd, "Microsoft.App") + + containerapp_def = None + try: + containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except: + pass + + if not containerapp_def: + raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) + + _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) + + if 'configuration' not in containerapp_def['properties']: + containerapp_def['properties']['configuration'] = {} + + if 'dapr' not in containerapp_def['properties']['configuration']: + containerapp_def['properties']['configuration']['dapr'] = {} + + if dapr_app_id: + containerapp_def['properties']['configuration']['dapr']['appId'] = dapr_app_id + + if dapr_app_port: + containerapp_def['properties']['configuration']['dapr']['appPort'] = dapr_app_port + + if dapr_app_protocol: + containerapp_def['properties']['configuration']['dapr']['appProtocol'] = dapr_app_protocol + + containerapp_def['properties']['configuration']['dapr']['enabled'] = True + + try: + r = ContainerAppClient.create_or_update( + cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_def, no_wait=no_wait) + return r["properties"]['configuration']['dapr'] + except Exception as e: + handle_raw_exception(e) + + +def disable_dapr(cmd, name, resource_group_name, no_wait=False): + _validate_subscription_registered(cmd, "Microsoft.App") + + containerapp_def = None + try: + containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except: + pass + + if not containerapp_def: + raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) + + _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) + + if 'configuration' not in containerapp_def['properties']: + containerapp_def['properties']['configuration'] = {} + + if 'dapr' not in containerapp_def['properties']['configuration']: + containerapp_def['properties']['configuration']['dapr'] = {} + + containerapp_def['properties']['configuration']['dapr']['enabled'] = False + + try: + r = ContainerAppClient.create_or_update( + cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_def, no_wait=no_wait) + return r["properties"]['configuration']['dapr'] + except Exception as e: + handle_raw_exception(e) + + +def list_dapr_components(cmd, resource_group_name, environment_name): + _validate_subscription_registered(cmd, "Microsoft.App") + + return DaprComponentClient.list(cmd, resource_group_name, environment_name) + + +def show_dapr_component(cmd, resource_group_name, dapr_component_name, environment_name): + _validate_subscription_registered(cmd, "Microsoft.App") + + return DaprComponentClient.show(cmd, resource_group_name, environment_name, name=dapr_component_name) + + +def create_or_update_dapr_component(cmd, resource_group_name, environment_name, dapr_component_name, yaml): + _validate_subscription_registered(cmd, "Microsoft.App") + + yaml_containerapp = load_yaml_file(yaml) + if type(yaml_containerapp) != dict: # pylint: disable=unidiomatic-typecheck + raise ValidationError('Invalid YAML provided. Please see https://aka.ms/azure-container-apps-yaml for a valid containerapps YAML spec.') + + # Deserialize the yaml into a DaprComponent object. Need this since we're not using SDK + daprcomponent_def = None + try: + deserializer = create_deserializer() + + daprcomponent_def = deserializer('DaprComponent', yaml_containerapp) + except DeserializationError as ex: + raise ValidationError('Invalid YAML provided. Please see https://aka.ms/azure-container-apps-yaml for a valid containerapps YAML spec.') from ex + + daprcomponent_def = _convert_object_from_snake_to_camel_case(_object_to_dict(daprcomponent_def)) + + # Remove "additionalProperties" and read-only attributes that are introduced in the deserialization. Need this since we're not using SDK + _remove_additional_attributes(daprcomponent_def) + _remove_dapr_readonly_attributes(daprcomponent_def) + + if not daprcomponent_def["ignoreErrors"]: + daprcomponent_def["ignoreErrors"] = False + + dapr_component_envelope = {} + + dapr_component_envelope["properties"] = daprcomponent_def + + try: + r = DaprComponentClient.create_or_update(cmd, resource_group_name=resource_group_name, environment_name=environment_name, dapr_component_envelope=dapr_component_envelope, name=dapr_component_name) + return r + except Exception as e: + handle_raw_exception(e) + + +def remove_dapr_component(cmd, resource_group_name, dapr_component_name, environment_name): + _validate_subscription_registered(cmd, "Microsoft.App") + + try: + DaprComponentClient.show(cmd, resource_group_name, environment_name, name=dapr_component_name) + except Exception as e: + raise ResourceNotFoundError("Dapr component not found.") from e + + try: + r = DaprComponentClient.delete(cmd, resource_group_name, environment_name, name=dapr_component_name) + logger.warning("Dapr componenet successfully deleted.") + return r + except Exception as e: + handle_raw_exception(e) + + +def list_replicas(cmd, resource_group_name, name, revision=None): + app = ContainerAppClient.show(cmd, resource_group_name, name) + if not revision: + revision = app["properties"]["latestRevisionName"] + return ContainerAppClient.list_replicas(cmd=cmd, + resource_group_name=resource_group_name, + container_app_name=name, + revision_name=revision) + + +def get_replica(cmd, resource_group_name, name, replica, revision=None): + app = ContainerAppClient.show(cmd, resource_group_name, name) + if not revision: + revision = app["properties"]["latestRevisionName"] + return ContainerAppClient.get_replica(cmd=cmd, + resource_group_name=resource_group_name, + container_app_name=name, + revision_name=revision, + replica_name=replica) + + +def containerapp_ssh(cmd, resource_group_name, name, container=None, revision=None, replica=None, startup_command="sh"): + if isinstance(startup_command, list): + startup_command = startup_command[0] # CLI seems a little buggy when calling a param "--command" + + conn = WebSocketConnection(cmd=cmd, resource_group_name=resource_group_name, name=name, revision=revision, + replica=replica, container=container, startup_command=startup_command) + + encodings = [SSH_DEFAULT_ENCODING, SSH_BACKUP_ENCODING] + reader = threading.Thread(target=read_ssh, args=(conn, encodings)) + reader.daemon = True + reader.start() + + writer = get_stdin_writer(conn) + writer.daemon = True + writer.start() + + logger.warning("Use ctrl + D to exit.") + while conn.is_connected: + try: + time.sleep(0.1) + except KeyboardInterrupt: + if conn.is_connected: + logger.info("Caught KeyboardInterrupt. Sending ctrl+c to server") + conn.send(SSH_CTRL_C_MSG) + + +def stream_containerapp_logs(cmd, resource_group_name, name, container=None, revision=None, replica=None, follow=False, + tail=None, output_format=None): + if tail: + if tail < 0 or tail > 300: + raise ValidationError("--tail must be between 0 and 300.") + + sub = get_subscription_id(cmd.cli_ctx) + token_response = ContainerAppClient.get_auth_token(cmd, resource_group_name, name) + token = token_response["properties"]["token"] + logstream_endpoint = token_response["properties"]["logStreamEndpoint"] + base_url = logstream_endpoint[:logstream_endpoint.index("/subscriptions/")] + + url = (f"{base_url}/subscriptions/{sub}/resourceGroups/{resource_group_name}/containerApps/{name}" + f"/revisions/{revision}/replicas/{replica}/containers/{container}/logstream") + + logger.warning("connecting to : %s", url) + request_params = {"follow": str(follow).lower(), "output": output_format, "tailLines": tail} + headers = {"Authorization": f"Bearer {token}"} + resp = requests.get(url, timeout=None, stream=True, params=request_params, headers=headers) + + if not resp.ok: + ValidationError(f"Got bad status from the logstream API: {resp.status_code}") + + for line in resp.iter_lines(): + if line: + logger.info("received raw log line: %s", line) + # these .replaces are needed to display color/quotations properly + # for some reason the API returns garbled unicode special characters (may need to add more in the future) + print(line.decode("utf-8").replace("\\u0022", "\u0022").replace("\\u001B", "\u001B").replace("\\u002B", "\u002B").replace("\\u0027", "\u0027")) + + +def open_containerapp_in_browser(cmd, name, resource_group_name): + app = ContainerAppClient.show(cmd, resource_group_name, name) + url = safe_get(app, "properties", "configuration", "ingress", "fqdn") + if not url: + raise ValidationError("Could not open in browser: no public URL for this app") + if not url.startswith("http"): + url = f"http://{url}" + open_page_in_browser(url) + + +def containerapp_up(cmd, + name, + resource_group_name=None, + managed_env=None, + location=None, + registry_server=None, + image=None, + source=None, + ingress=None, + target_port=None, + registry_user=None, + registry_pass=None, + env_vars=None, + logs_customer_id=None, + logs_key=None, + repo=None, + token=None, + branch="main", + browse=False, + context_path=None, + service_principal_client_id=None, + service_principal_client_secret=None, + service_principal_tenant_id=None): + from ._up_utils import (_validate_up_args, _reformat_image, _get_dockerfile_content, _get_ingress_and_target_port, + ResourceGroup, ContainerAppEnvironment, ContainerApp, _get_registry_from_app, + _get_registry_details, _create_github_action, _set_up_defaults, up_output, AzureContainerRegistry) + HELLOWORLD = "mcr.microsoft.com/azuredocs/containerapps-helloworld" + dockerfile = "Dockerfile" # for now the dockerfile name must be "Dockerfile" (until GH actions API is updated) + + _validate_up_args(source, image, repo, registry_server) + validate_container_app_name(name) + + image = _reformat_image(source, repo, image) + token = None if not repo else get_github_access_token(cmd, ["admin:repo_hook", "repo", "workflow"], token) + + if image and HELLOWORLD in image.lower(): + ingress = "external" if not ingress else ingress + target_port = 80 if not target_port else target_port + + if image: + if ingress and not target_port: + target_port = 80 + logger.warning("No ingress provided, defaulting to port 80. Try `az containerapp up --ingress %s --target-port ` to set a custom port.", ingress) + + dockerfile_content = _get_dockerfile_content(repo, branch, token, source, context_path, dockerfile) + ingress, target_port = _get_ingress_and_target_port(ingress, target_port, dockerfile_content) + + resource_group = ResourceGroup(cmd, name=resource_group_name, location=location) + env = ContainerAppEnvironment(cmd, managed_env, resource_group, location=location, logs_key=logs_key, logs_customer_id=logs_customer_id) + app = ContainerApp(cmd, name, resource_group, None, image, env, target_port, registry_server, registry_user, registry_pass, env_vars, ingress) + + _set_up_defaults(cmd, name, resource_group_name, logs_customer_id, location, resource_group, env, app) + + if app.check_exists(): + if app.get()["properties"]["provisioningState"] == "InProgress": + raise ValidationError("Containerapp has an existing provisioning in progress. Please wait until provisioning has completed and rerun the command.") + + resource_group.create_if_needed() + env.create_if_needed(name) + + if source or repo: + _get_registry_from_app(app) # if the app exists, get the registry + _get_registry_details(cmd, app, source) # fetch ACR creds from arguments registry arguments + + app.create_acr_if_needed() + + if source: + app.run_acr_build(dockerfile, source, False) + + app.create(no_registry=bool(repo)) + if repo: + _create_github_action(app, env, service_principal_client_id, service_principal_client_secret, + service_principal_tenant_id, branch, token, repo, context_path) + + if browse: + open_containerapp_in_browser(cmd, app.name, app.resource_group.name) + + up_output(app) + + +def containerapp_up_logic(cmd, resource_group_name, name, managed_env, image, env_vars, ingress, target_port, registry_server, registry_user, registry_pass): + containerapp_def = None + try: + containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except: + pass + + try: + location = ManagedEnvironmentClient.show(cmd, resource_group_name, managed_env.split('/')[-1])["location"] + except: + pass + + ca_exists = False + if containerapp_def: + ca_exists = True + + # When using repo, image is not passed, so we have to assign it a value (will be overwritten with gh-action) + if image is None: + image = "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest" + + if not ca_exists: + containerapp_def = None + containerapp_def = ContainerAppModel + containerapp_def["location"] = location + containerapp_def["properties"]["managedEnvironmentId"] = managed_env + containerapp_def["properties"]["configuration"] = ConfigurationModel + else: + # check provisioning state here instead of secrets so no error + _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) + + container = ContainerModel + container["image"] = image + container["name"] = name + + if env_vars: + container["env"] = parse_env_var_flags(env_vars) + + external_ingress = None + if ingress is not None: + if ingress.lower() == "internal": + external_ingress = False + elif ingress.lower() == "external": + external_ingress = True + + ingress_def = None + if target_port is not None and ingress is not None: + ingress_def = IngressModel + ingress_def["external"] = external_ingress + ingress_def["targetPort"] = target_port + containerapp_def["properties"]["configuration"]["ingress"] = ingress_def + + # handle multi-container case + if ca_exists: + existing_containers = containerapp_def["properties"]["template"]["containers"] + if len(existing_containers) == 0: + # No idea how this would ever happen, failed provisioning maybe? + containerapp_def["properties"]["template"] = TemplateModel + containerapp_def["properties"]["template"]["containers"] = [container] + if len(existing_containers) == 1: + # Assume they want it updated + existing_containers[0] = container + if len(existing_containers) > 1: + # Assume they want to update, if not existing just add it + existing_containers = [x for x in existing_containers if x['name'].lower() == name.lower()] + if len(existing_containers) == 1: + existing_containers[0] = container + else: + existing_containers.append(container) + containerapp_def["properties"]["template"]["containers"] = existing_containers + else: + containerapp_def["properties"]["template"] = TemplateModel + containerapp_def["properties"]["template"]["containers"] = [container] + + registries_def = None + registry = None + + if "secrets" not in containerapp_def["properties"]["configuration"] or containerapp_def["properties"]["configuration"]["secrets"] is None: + containerapp_def["properties"]["configuration"]["secrets"] = [] + + if "registries" not in containerapp_def["properties"]["configuration"] or containerapp_def["properties"]["configuration"]["registries"] is None: + containerapp_def["properties"]["configuration"]["registries"] = [] + + registries_def = containerapp_def["properties"]["configuration"]["registries"] + + if registry_server: + if not registry_pass or not registry_user: + if '.azurecr.io' not in registry_server: + raise RequiredArgumentMissingError('Registry url is required if using Azure Container Registry, otherwise Registry username and password are required if using Dockerhub') + logger.warning('No credential was provided to access Azure Container Registry. Trying to look up...') + parsed = urlparse(registry_server) + registry_name = (parsed.netloc if parsed.scheme else parsed.path).split('.')[0] + registry_user, registry_pass, _ = _get_acr_cred(cmd.cli_ctx, registry_name) + # Check if updating existing registry + updating_existing_registry = False + for r in registries_def: + if r['server'].lower() == registry_server.lower(): + updating_existing_registry = True + if registry_user: + r["username"] = registry_user + if registry_pass: + r["passwordSecretRef"] = store_as_secret_and_return_secret_ref( + containerapp_def["properties"]["configuration"]["secrets"], + r["username"], + r["server"], + registry_pass, + update_existing_secret=True, + disable_warnings=True) + + # If not updating existing registry, add as new registry + if not updating_existing_registry: + registry = RegistryCredentialsModel + registry["server"] = registry_server + registry["username"] = registry_user + registry["passwordSecretRef"] = store_as_secret_and_return_secret_ref( + containerapp_def["properties"]["configuration"]["secrets"], + registry_user, + registry_server, + registry_pass, + update_existing_secret=True, + disable_warnings=True) + + registries_def.append(registry) + + try: + if ca_exists: + return ContainerAppClient.update(cmd, resource_group_name, name, containerapp_def) + return ContainerAppClient.create_or_update(cmd, resource_group_name, name, containerapp_def) + except Exception as e: + handle_raw_exception(e) diff --git a/src/containerapp-preview/setup.cfg b/src/containerapp-preview/setup.cfg new file mode 100644 index 00000000000..e224eba028d --- /dev/null +++ b/src/containerapp-preview/setup.cfg @@ -0,0 +1,4 @@ +[bdist_wheel] +universal=1 +[flake8] +max-line-length=100 \ No newline at end of file diff --git a/src/containerapp-preview/setup.py b/src/containerapp-preview/setup.py new file mode 100644 index 00000000000..2cf772e2a66 --- /dev/null +++ b/src/containerapp-preview/setup.py @@ -0,0 +1,58 @@ +#!/usr/bin/env python + +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + + +from codecs import open +from setuptools import setup, find_packages +try: + from azure_bdist_wheel import cmdclass +except ImportError: + from distutils import log as logger + logger.warn("Wheel is not available, disabling bdist_wheel hook") + +# TODO: Confirm this is the right version number you want and it matches your +# HISTORY.rst entry. +VERSION = '0.1.0' + +# The full list of classifiers is available at +# https://pypi.python.org/pypi?%3Aaction=list_classifiers +CLASSIFIERS = [ + 'Development Status :: 4 - Beta', + 'Intended Audience :: Developers', + 'Intended Audience :: System Administrators', + 'Programming Language :: Python', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'License :: OSI Approved :: MIT License', +] + +# TODO: Add any additional SDK dependencies here +DEPENDENCIES = ['pycomposefile'] + +with open('README.rst', 'r', encoding='utf-8') as f: + README = f.read() +with open('HISTORY.rst', 'r', encoding='utf-8') as f: + HISTORY = f.read() + +setup( + name='containerapp-preview', + version=VERSION, + description='Microsoft Azure Command-Line Tools Containerapps Extension', + # TODO: Update author and email, if applicable + author='Microsoft Corporation', + author_email='azpycli@microsoft.com', + # TODO: change to your extension source code repo if the code will not be put in azure-cli-extensions repo + url='https://github.com/azure/azure-cli-extensions/tree/main/src/containerapp-preview', + long_description=README + '\n\n' + HISTORY, + license='MIT', + classifiers=CLASSIFIERS, + packages=find_packages(), + install_requires=DEPENDENCIES, + package_data={'azext_containerapp_preview': ['azext_metadata.json']}, +) From 144d24baa60e8c5e16ba00da330822631dd7a1ec Mon Sep 17 00:00:00 2001 From: Jessica Deen Date: Tue, 10 May 2022 21:25:30 +0000 Subject: [PATCH 02/17] Add support for secrets WIP mapping Co-authored-by: Steven Murawski Signed-off-by: Jessica Deen --- scripts/ci/credscan/CredScanSuppressions.json | 3 +- .../azext_containerapp_preview/custom.py | 28 + ...tainerapp_compose_create_with_secrets.yaml | 2710 +++++++++++++++++ .../test_containerapp_preview_scenario.py | 54 + 4 files changed, 2794 insertions(+), 1 deletion(-) create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets.yaml diff --git a/scripts/ci/credscan/CredScanSuppressions.json b/scripts/ci/credscan/CredScanSuppressions.json index 4507afda899..bb6a039b967 100644 --- a/scripts/ci/credscan/CredScanSuppressions.json +++ b/scripts/ci/credscan/CredScanSuppressions.json @@ -163,7 +163,8 @@ "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_cpus_and_deploy_cpu.yaml", "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_prompt_ingress.yaml", "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_deploy_cpu.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_registry_server_arg_only.yaml" + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_registry_server_arg_only.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_secrets.yaml" ], "_justification": "Dummy resources' tokens left during testing." } diff --git a/src/containerapp-preview/azext_containerapp_preview/custom.py b/src/containerapp-preview/azext_containerapp_preview/custom.py index d0f74c3f54d..bc1337b3e69 100644 --- a/src/containerapp-preview/azext_containerapp_preview/custom.py +++ b/src/containerapp-preview/azext_containerapp_preview/custom.py @@ -67,6 +67,12 @@ def create_containerapps_from_compose(cmd, # pylint: disable=R0914 resolve_memory_configuration_from_service(service) ) environment = resolve_environment_from_service(service) + secret_vars, secret_env_ref = resolve_secret_from_service(service, parsed_compose_file.secrets) + if environment is not None and secret_env_ref is not None: + environment.extend(secret_env_ref) + elif secret_env_ref is not None: + environment = secret_env_ref + containerapps_from_compose.append( create_containerapp(cmd, service_name, @@ -85,6 +91,7 @@ def create_containerapps_from_compose(cmd, # pylint: disable=R0914 cpu=cpu, memory=memory, env_vars=environment, + secrets=secret_vars, )) return containerapps_from_compose @@ -141,6 +148,27 @@ def resolve_environment_from_service(service): return env_array +def resolve_secret_from_service(service, secrets_map): + secret_array = [] + secret_env_ref = [] + + if service.secrets is None: + return (None, None) + + for secret in service.secrets: + + secret_config = secrets_map[secret.source] + if secret_config is not None and secret_config.file is not None: + value = secret_config.file.readFile() + secret_name = secret.source.replace('_', '-') + secret_array.append(f"{secret_name}={value}") + secret_env_ref.append(f"{secret_name}=secretref:{secret_name}") + + if len(secret_array) == 0: + return (None, None) + return (secret_array, secret_env_ref) + + def valid_resource_settings(): # vCPU and Memory reservations # https://docs.microsoft.com/azure/container-apps/containers#configuration diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets.yaml new file mode 100644 index 00000000000..21f29bb894f --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets.yaml @@ -0,0 +1,2710 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-10T21:18:57Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:18:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + under resource group ''cli_test_containerapp_preview000001'' was not found. + For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '267' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:18:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-10T21:18:57Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:18:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:18:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:18:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:18:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:18:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"publicNetworkAccessForIngestion": + "Enabled", "publicNetworkAccessForQuery": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '126' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd\",\r\n \"provisioningState\": \"Creating\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Tue, 10 May 2022 21:19:03 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Wed, 11 May 2022 14:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Tue, 10 May 2022 21:19:03 GMT\",\r\n + \ \"modifiedDate\": \"Tue, 10 May 2022 21:19:03 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1105' + content-type: + - application/json + date: + - Tue, 10 May 2022 21:19:03 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Tue, 10 May 2022 21:19:03 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Wed, 11 May 2022 14:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Tue, 10 May 2022 21:19:03 GMT\",\r\n + \ \"modifiedDate\": \"Tue, 10 May 2022 21:19:05 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1106' + content-type: + - application/json + date: + - Tue, 10 May 2022 21:19:33 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + response: + body: + string: "{\r\n \"primarySharedKey\": \"Q7jRj+h+nDrrmKwhMuRa9rb+r5X6xz2JjLjltW0MdjKj40JdzsUAJP4iCbmNEkZ2icT58xe0nadPhyrOlkADBA==\",\r\n + \ \"secondarySharedKey\": \"MCrHKeP3eGzo5HAaqvbGVafxFnSsoVeb7cxkA+ryJG8aU+12xO3tEt7jKh9A9GgjtQk00l8DHtHOdMXeEepY/A==\"\r\n}" + headers: + cache-control: + - no-cache + cachecontrol: + - no-cache + content-length: + - '235' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:19:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ams-apiversion: + - WebAPI1.0 + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": + {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": + "9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd", "sharedKey": "Q7jRj+h+nDrrmKwhMuRa9rb+r5X6xz2JjLjltW0MdjKj40JdzsUAJP4iCbmNEkZ2icT58xe0nadPhyrOlkADBA=="}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '399' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/7b90cf72-2847-4296-992e-d932e86ff749?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:19:39 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: + - '98' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:19:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:19:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:19:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:19:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:19:50 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:19:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:19: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:19:58 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:20:00 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:20: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:20:06 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:20: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:20: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-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072"},"properties":{"provisioningState":"Succeeded","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:20:15 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:20:15 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072"},"properties":{"provisioningState":"Succeeded","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:20:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:20:16 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", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + "configuration": {"secrets": [{"name": "my-secret", "value": "Lorem Ipsum\n"}], + "activeRevisionsMode": "single", "ingress": null, "dapr": null, "registries": + null}, "template": {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", + "name": "foo", "command": null, "args": null, "env": [{"name": "my-secret", + "secretRef": "my-secret"}], "resources": null, "volumeMounts": null}], "scale": + null, "volumes": null}}, "tags": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '771' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/8b6459f3-d9b0-4d63-a422-a080756699c6?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1222' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:20:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-async-operation-timeout: + - PT15M + x-ms-ratelimit-remaining-subscription-resource-requests: + - '499' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1256' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:20:22 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1256' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:20:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1256' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:20:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1256' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:20:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1256' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:20: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1256' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:20: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1256' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:20:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1256' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:20:43 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1256' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:20: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1256' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:20:49 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1256' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:20: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1256' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:20:54 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1256' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:20:57 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1256' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:20:59 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1256' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:21:02 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1256' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:21:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1256' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:21: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1256' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:21:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1255' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 10 May 2022 21:21: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 +version: 1 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scenario.py b/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scenario.py index 9724f1c35d2..e0ef4a93a81 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scenario.py +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scenario.py @@ -590,3 +590,57 @@ def test_containerapp_compose_create_with_registry_server_arg_only(self, resourc if os.path.exists(compose_file_name): os.remove(compose_file_name) + + +class ContainerappComposePreviewSecretsScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_secrets(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + secrets: + - source: my_secret + target: redis_secret + uid: '103' + gid: '103' + mode: 0440 +secrets: + my_secret: + file: ./my_secret.txt + my_other_secret: + external: true +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + secrets_file_name = "./my_secret.txt" + docker_secrets_file = open(secrets_file_name, "w", encoding='utf-8') + _ = docker_secrets_file.write("Lorem Ipsum\n") + docker_secrets_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + + self.cmd(command_string, checks=[ + self.check('[?name==`foo`].properties.configuration.secrets[0].name', ["my-secret"]), + self.check('[?name==`foo`].properties.template.containers[0].env[0].name', ["my-secret"]), + self.check('[?name==`foo`].properties.template.containers[0].env[0].secretRef', ["my-secret"]) # pylint: disable=C0301 + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + if os.path.exists(secrets_file_name): + os.remove(secrets_file_name) From 656be377b9d948def14c11921d57b23a6e47c5e6 Mon Sep 17 00:00:00 2001 From: Jessica Deen Date: Thu, 12 May 2022 19:00:38 +0000 Subject: [PATCH 03/17] Add support for secrets Co-authored-by: Steven Murawski Signed-off-by: GitHub --- scripts/ci/credscan/CredScanSuppressions.json | 5 +- .../azext_containerapp_preview/custom.py | 9 +- ...tainerapp_compose_create_with_secrets.yaml | 915 +------- ...with_secrets_and_existing_environment.yaml | 1998 +++++++++++++++++ ...ets_and_existing_environment_conflict.yaml | 1677 ++++++++++++++ .../test_containerapp_preview_scenario.py | 110 +- 6 files changed, 3893 insertions(+), 821 deletions(-) create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets_and_existing_environment.yaml create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets_and_existing_environment_conflict.yaml diff --git a/scripts/ci/credscan/CredScanSuppressions.json b/scripts/ci/credscan/CredScanSuppressions.json index bb6a039b967..38156bb3d47 100644 --- a/scripts/ci/credscan/CredScanSuppressions.json +++ b/scripts/ci/credscan/CredScanSuppressions.json @@ -164,7 +164,10 @@ "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_prompt_ingress.yaml", "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_deploy_cpu.yaml", "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_registry_server_arg_only.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_secrets.yaml" + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_secrets.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_secrets_and_existing_environment.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_secrets_and_existing_environment_conflict.yaml" + ], "_justification": "Dummy resources' tokens left during testing." } diff --git a/src/containerapp-preview/azext_containerapp_preview/custom.py b/src/containerapp-preview/azext_containerapp_preview/custom.py index bc1337b3e69..2d61656f157 100644 --- a/src/containerapp-preview/azext_containerapp_preview/custom.py +++ b/src/containerapp-preview/azext_containerapp_preview/custom.py @@ -45,6 +45,7 @@ def create_containerapps_from_compose(cmd, # pylint: disable=R0914 resource_group_name, logs_workspace_name=logs_workspace_name, tags=tags) + os.environ["AZURE_CONTAINERAPPS_ENV_DEFAULT_DOMAIN"] = managed_environment["properties"]["defaultDomain"] os.environ["AZURE_CONTAINERAPPS_ENV_STATIC_IP"] = managed_environment["properties"]["staticIp"] @@ -160,12 +161,18 @@ def resolve_secret_from_service(service, secrets_map): secret_config = secrets_map[secret.source] if secret_config is not None and secret_config.file is not None: value = secret_config.file.readFile() - secret_name = secret.source.replace('_', '-') + if secret.target is None: + secret_name = secret.source.replace('_', '-') + else: + secret_name = secret.target.replace('_', '-') secret_array.append(f"{secret_name}={value}") secret_env_ref.append(f"{secret_name}=secretref:{secret_name}") if len(secret_array) == 0: return (None, None) + + logger.warning("Note: Secrets will be mapped as secure environment variables in Azure Container Apps.") + return (secret_array, secret_env_ref) diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets.yaml index 21f29bb894f..5660918d03a 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets.yaml +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-10T21:18:57Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-11T23:37:10Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:18:58 GMT + - Wed, 11 May 2022 23:37:11 GMT expires: - '-1' pragma: @@ -71,7 +71,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:18:57 GMT + - Wed, 11 May 2022 23:37:11 GMT expires: - '-1' pragma: @@ -104,7 +104,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-10T21:18:57Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-11T23:37:10Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -113,7 +113,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:18:58 GMT + - Wed, 11 May 2022 23:37:11 GMT expires: - '-1' pragma: @@ -175,7 +175,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:18:58 GMT + - Wed, 11 May 2022 23:37:11 GMT expires: - '-1' pragma: @@ -237,7 +237,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:18:58 GMT + - Wed, 11 May 2022 23:37:11 GMT expires: - '-1' pragma: @@ -390,7 +390,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:18:59 GMT + - Wed, 11 May 2022 23:37:11 GMT expires: - '-1' pragma: @@ -543,7 +543,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:18:58 GMT + - Wed, 11 May 2022 23:37:12 GMT expires: - '-1' pragma: @@ -582,16 +582,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd\",\r\n \"provisioningState\": \"Creating\",\r\n + \"da058131-ade4-47d2-bf23-e545383a0fbc\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Tue, 10 May 2022 21:19:03 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Wed, 11 May 2022 23:37:15 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Wed, 11 May 2022 14:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Thu, 12 May 2022 13:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Tue, 10 May 2022 21:19:03 GMT\",\r\n - \ \"modifiedDate\": \"Tue, 10 May 2022 21:19:03 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Wed, 11 May 2022 23:37:15 GMT\",\r\n + \ \"modifiedDate\": \"Wed, 11 May 2022 23:37:15 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -603,7 +603,7 @@ interactions: content-type: - application/json date: - - Tue, 10 May 2022 21:19:03 GMT + - Wed, 11 May 2022 23:37:15 GMT pragma: - no-cache server: @@ -641,16 +641,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"da058131-ade4-47d2-bf23-e545383a0fbc\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Tue, 10 May 2022 21:19:03 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Wed, 11 May 2022 23:37:15 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Wed, 11 May 2022 14:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Thu, 12 May 2022 13:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Tue, 10 May 2022 21:19:03 GMT\",\r\n - \ \"modifiedDate\": \"Tue, 10 May 2022 21:19:05 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Wed, 11 May 2022 23:37:15 GMT\",\r\n + \ \"modifiedDate\": \"Wed, 11 May 2022 23:37:16 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -662,7 +662,7 @@ interactions: content-type: - application/json date: - - Tue, 10 May 2022 21:19:33 GMT + - Wed, 11 May 2022 23:37:46 GMT pragma: - no-cache server: @@ -703,8 +703,8 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 response: body: - string: "{\r\n \"primarySharedKey\": \"Q7jRj+h+nDrrmKwhMuRa9rb+r5X6xz2JjLjltW0MdjKj40JdzsUAJP4iCbmNEkZ2icT58xe0nadPhyrOlkADBA==\",\r\n - \ \"secondarySharedKey\": \"MCrHKeP3eGzo5HAaqvbGVafxFnSsoVeb7cxkA+ryJG8aU+12xO3tEt7jKh9A9GgjtQk00l8DHtHOdMXeEepY/A==\"\r\n}" + string: "{\r\n \"primarySharedKey\": \"DMHm+l1LSbT5URD0GrRzUTxh9az3wdyIk6U3aPjOmT1/RY1FAkMIalUF4Np7RTe0LcjNTv/ihYGZtGfqBqJlyA==\",\r\n + \ \"secondarySharedKey\": \"6kf0cSJvQjS2hMuPTcFNCM2+LMEC8s4+Vuv6+roiXDYqk8xmfWkmRrpz0vKAudz5wp7/SFxn4dal5SWH8rWDvw==\"\r\n}" headers: cache-control: - no-cache @@ -715,7 +715,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:19:35 GMT + - Wed, 11 May 2022 23:37:46 GMT expires: - '-1' pragma: @@ -734,7 +734,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-powered-by: - ASP.NET - ASP.NET @@ -745,7 +745,7 @@ interactions: body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": - "9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd", "sharedKey": "Q7jRj+h+nDrrmKwhMuRa9rb+r5X6xz2JjLjltW0MdjKj40JdzsUAJP4iCbmNEkZ2icT58xe0nadPhyrOlkADBA=="}}}}' + "da058131-ade4-47d2-bf23-e545383a0fbc", "sharedKey": "DMHm+l1LSbT5URD0GrRzUTxh9az3wdyIk6U3aPjOmT1/RY1FAkMIalUF4Np7RTe0LcjNTv/ihYGZtGfqBqJlyA=="}}}}' headers: Accept: - '*/*' @@ -767,20 +767,20 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:37:49.3576892Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:37:49.3576892Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonfield-4344b466.eastus.azurecontainerapps.io","staticIp":"20.237.72.37","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"da058131-ade4-47d2-bf23-e545383a0fbc"}}}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/7b90cf72-2847-4296-992e-d932e86ff749?api-version=2022-01-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/08051a67-a756-4bee-927b-623c74f5f3f6?api-version=2022-01-01-preview&azureAsyncOperation=true cache-control: - no-cache content-length: - - '787' + - '788' content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:19:39 GMT + - Wed, 11 May 2022 23:37:49 GMT expires: - '-1' pragma: @@ -794,7 +794,7 @@ interactions: x-ms-async-operation-timeout: - PT15M x-ms-ratelimit-remaining-subscription-resource-requests: - - '98' + - '99' x-powered-by: - ASP.NET status: @@ -819,68 +819,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 10 May 2022 21:19:39 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:37:49.3576892","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:37:49.3576892"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonfield-4344b466.eastus.azurecontainerapps.io","staticIp":"20.237.72.37","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"da058131-ade4-47d2-bf23-e545383a0fbc"}}}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '786' content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:19:42 GMT + - Wed, 11 May 2022 23:37:51 GMT expires: - '-1' pragma: @@ -919,18 +869,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:37:49.3576892","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:37:49.3576892"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonfield-4344b466.eastus.azurecontainerapps.io","staticIp":"20.237.72.37","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"da058131-ade4-47d2-bf23-e545383a0fbc"}}}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '786' content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:19:44 GMT + - Wed, 11 May 2022 23:37:53 GMT expires: - '-1' pragma: @@ -969,18 +919,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:37:49.3576892","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:37:49.3576892"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonfield-4344b466.eastus.azurecontainerapps.io","staticIp":"20.237.72.37","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"da058131-ade4-47d2-bf23-e545383a0fbc"}}}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '786' content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:19:47 GMT + - Wed, 11 May 2022 23:37:56 GMT expires: - '-1' pragma: @@ -1019,18 +969,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:37:49.3576892","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:37:49.3576892"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonfield-4344b466.eastus.azurecontainerapps.io","staticIp":"20.237.72.37","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"da058131-ade4-47d2-bf23-e545383a0fbc"}}}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '786' content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:19:50 GMT + - Wed, 11 May 2022 23:37:59 GMT expires: - '-1' pragma: @@ -1069,18 +1019,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:37:49.3576892","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:37:49.3576892"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonfield-4344b466.eastus.azurecontainerapps.io","staticIp":"20.237.72.37","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"da058131-ade4-47d2-bf23-e545383a0fbc"}}}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '786' content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:19:52 GMT + - Wed, 11 May 2022 23:38:01 GMT expires: - '-1' pragma: @@ -1119,18 +1069,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:37:49.3576892","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:37:49.3576892"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonfield-4344b466.eastus.azurecontainerapps.io","staticIp":"20.237.72.37","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"da058131-ade4-47d2-bf23-e545383a0fbc"}}}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '786' content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:19:56 GMT + - Wed, 11 May 2022 23:38:04 GMT expires: - '-1' pragma: @@ -1169,18 +1119,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:37:49.3576892","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:37:49.3576892"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonfield-4344b466.eastus.azurecontainerapps.io","staticIp":"20.237.72.37","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"da058131-ade4-47d2-bf23-e545383a0fbc"}}}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '786' content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:19:58 GMT + - Wed, 11 May 2022 23:38:06 GMT expires: - '-1' pragma: @@ -1219,18 +1169,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:37:49.3576892","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:37:49.3576892"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonfield-4344b466.eastus.azurecontainerapps.io","staticIp":"20.237.72.37","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"da058131-ade4-47d2-bf23-e545383a0fbc"}}}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '786' content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:20:00 GMT + - Wed, 11 May 2022 23:38:13 GMT expires: - '-1' pragma: @@ -1269,18 +1219,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:37:49.3576892","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:37:49.3576892"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonfield-4344b466.eastus.azurecontainerapps.io","staticIp":"20.237.72.37","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"da058131-ade4-47d2-bf23-e545383a0fbc"}}}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '786' content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:20:04 GMT + - Wed, 11 May 2022 23:38:16 GMT expires: - '-1' pragma: @@ -1319,18 +1269,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:37:49.3576892","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:37:49.3576892"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonfield-4344b466.eastus.azurecontainerapps.io","staticIp":"20.237.72.37","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"da058131-ade4-47d2-bf23-e545383a0fbc"}}}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '786' content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:20:06 GMT + - Wed, 11 May 2022 23:38:18 GMT expires: - '-1' pragma: @@ -1369,18 +1319,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:37:49.3576892","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:37:49.3576892"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonfield-4344b466.eastus.azurecontainerapps.io","staticIp":"20.237.72.37","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"da058131-ade4-47d2-bf23-e545383a0fbc"}}}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '786' content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:20:09 GMT + - Wed, 11 May 2022 23:38:21 GMT expires: - '-1' pragma: @@ -1419,18 +1369,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:37:49.3576892","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:37:49.3576892"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonfield-4344b466.eastus.azurecontainerapps.io","staticIp":"20.237.72.37","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"da058131-ade4-47d2-bf23-e545383a0fbc"}}}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '786' content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:20:12 GMT + - Wed, 11 May 2022 23:38:23 GMT expires: - '-1' pragma: @@ -1469,18 +1419,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072"},"properties":{"provisioningState":"Succeeded","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:37:49.3576892","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:37:49.3576892"},"properties":{"provisioningState":"Succeeded","defaultDomain":"lemonfield-4344b466.eastus.azurecontainerapps.io","staticIp":"20.237.72.37","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"da058131-ade4-47d2-bf23-e545383a0fbc"}}}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '788' content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:20:15 GMT + - Wed, 11 May 2022 23:38:27 GMT expires: - '-1' pragma: @@ -1548,7 +1498,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:20:15 GMT + - Wed, 11 May 2022 23:38:27 GMT expires: - '-1' pragma: @@ -1581,18 +1531,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:19:38.1917072","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:19:38.1917072"},"properties":{"provisioningState":"Succeeded","defaultDomain":"livelybay-b461400d.eastus.azurecontainerapps.io","staticIp":"20.81.21.173","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9416a4d9-18e3-4c21-9e1b-a17ec7d54ecd"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:37:49.3576892","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:37:49.3576892"},"properties":{"provisioningState":"Succeeded","defaultDomain":"lemonfield-4344b466.eastus.azurecontainerapps.io","staticIp":"20.237.72.37","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"da058131-ade4-47d2-bf23-e545383a0fbc"}}}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '788' content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:20:16 GMT + - Wed, 11 May 2022 23:38:27 GMT expires: - '-1' pragma: @@ -1660,7 +1610,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:20:16 GMT + - Wed, 11 May 2022 23:38:28 GMT expires: - '-1' pragma: @@ -1677,11 +1627,11 @@ interactions: - request: body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", - "configuration": {"secrets": [{"name": "my-secret", "value": "Lorem Ipsum\n"}], + "configuration": {"secrets": [{"name": "redis-secret", "value": "Lorem Ipsum\n"}], "activeRevisionsMode": "single", "ingress": null, "dapr": null, "registries": null}, "template": {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", - "name": "foo", "command": null, "args": null, "env": [{"name": "my-secret", - "secretRef": "my-secret"}], "resources": null, "volumeMounts": null}], "scale": + "name": "foo", "command": null, "args": null, "env": [{"name": "redis-secret", + "secretRef": "redis-secret"}], "resources": null, "volumeMounts": null}], "scale": null, "volumes": null}}, "tags": null}' headers: Accept: @@ -1693,7 +1643,7 @@ interactions: Connection: - keep-alive Content-Length: - - '771' + - '780' Content-Type: - application/json ParameterSetName: @@ -1705,20 +1655,20 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:38:30.1863094Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:38:30.1863094Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.181.45","20.85.135.233","20.121.183.148"],"latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/8b6459f3-d9b0-4d63-a422-a080756699c6?api-version=2022-01-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/12fbdf83-d24d-445a-b6d7-d4f0c3d7e7bb?api-version=2022-01-01-preview&azureAsyncOperation=true cache-control: - no-cache content-length: - - '1222' + - '1232' content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:20:21 GMT + - Wed, 11 May 2022 23:38:32 GMT expires: - '-1' pragma: @@ -1758,681 +1708,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1256' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 10 May 2022 21:20:22 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1256' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 10 May 2022 21:20:26 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1256' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 10 May 2022 21:20:29 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1256' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 10 May 2022 21:20:31 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1256' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 10 May 2022 21:20: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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1256' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 10 May 2022 21:20: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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1256' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 10 May 2022 21:20:40 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1256' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 10 May 2022 21:20:43 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1256' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 10 May 2022 21:20: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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1256' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 10 May 2022 21:20:49 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1256' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 10 May 2022 21:20: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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1256' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 10 May 2022 21:20:54 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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1256' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 10 May 2022 21:20:57 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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:38:30.1863094","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:38:30.1863094"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.181.45","20.85.135.233","20.121.183.148"],"latestRevisionName":"foo--4qse881","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1256' + - '1266' content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:20:59 GMT + - Wed, 11 May 2022 23:38:34 GMT expires: - '-1' pragma: @@ -2472,18 +1759,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:38:30.1863094","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:38:30.1863094"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.181.45","20.85.135.233","20.121.183.148"],"latestRevisionName":"foo--4qse881","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1256' + - '1266' content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:21:02 GMT + - Wed, 11 May 2022 23:38:38 GMT expires: - '-1' pragma: @@ -2523,18 +1810,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:38:30.1863094","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:38:30.1863094"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.181.45","20.85.135.233","20.121.183.148"],"latestRevisionName":"foo--4qse881","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1256' + - '1266' content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:21:05 GMT + - Wed, 11 May 2022 23:38:41 GMT expires: - '-1' pragma: @@ -2574,18 +1861,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:38:30.1863094","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:38:30.1863094"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.181.45","20.85.135.233","20.121.183.148"],"latestRevisionName":"foo--4qse881","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1256' + - '1266' content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:21:08 GMT + - Wed, 11 May 2022 23:38:43 GMT expires: - '-1' pragma: @@ -2625,18 +1912,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:38:30.1863094","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:38:30.1863094"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.181.45","20.85.135.233","20.121.183.148"],"latestRevisionName":"foo--4qse881","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1256' + - '1266' content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:21:11 GMT + - Wed, 11 May 2022 23:38:46 GMT expires: - '-1' pragma: @@ -2676,18 +1963,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-10T21:20:19.6182945","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-10T21:20:19.6182945"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.12.105","20.102.12.118","20.102.12.123"],"latestRevisionName":"foo--9mrbaod","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"my-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"my-secret","secretRef":"my-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:38:30.1863094","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:38:30.1863094"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.181.45","20.85.135.233","20.121.183.148"],"latestRevisionName":"foo--4qse881","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1255' + - '1265' content-type: - application/json; charset=utf-8 date: - - Tue, 10 May 2022 21:21:13 GMT + - Wed, 11 May 2022 23:38:49 GMT expires: - '-1' pragma: diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets_and_existing_environment.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets_and_existing_environment.yaml new file mode 100644 index 00000000000..61e833c3582 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets_and_existing_environment.yaml @@ -0,0 +1,1998 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-11T23:41:35Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:41:36 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + under resource group ''cli_test_containerapp_preview000001'' was not found. + For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '267' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:41:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-11T23:41:35Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:41:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:41:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:41:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:41:36 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:41:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"publicNetworkAccessForIngestion": + "Enabled", "publicNetworkAccessForQuery": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '126' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"32b724d5-e67f-4fca-929c-75099f1f2848\",\r\n \"provisioningState\": \"Creating\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Wed, 11 May 2022 23:41:41 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Thu, 12 May 2022 23:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Wed, 11 May 2022 23:41:41 GMT\",\r\n + \ \"modifiedDate\": \"Wed, 11 May 2022 23:41:41 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1105' + content-type: + - application/json + date: + - Wed, 11 May 2022 23:41:41 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"32b724d5-e67f-4fca-929c-75099f1f2848\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Wed, 11 May 2022 23:41:41 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Thu, 12 May 2022 23:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Wed, 11 May 2022 23:41:41 GMT\",\r\n + \ \"modifiedDate\": \"Wed, 11 May 2022 23:41:42 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1106' + content-type: + - application/json + date: + - Wed, 11 May 2022 23:42:11 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + response: + body: + string: "{\r\n \"primarySharedKey\": \"x/sdV+rjrng3/P0EwAdj7zsCTSxqHOtDYiwj0dRO8RIQbucf6lDSMA3hSECSTbzIbAveDRB8Rs03/KyEstv7/Q==\",\r\n + \ \"secondarySharedKey\": \"26xuDywb34SbbXCXWVsP6dBrUFxLhROwCGyRF/JLRLFImP6XMjJoxbKtctkJVAgSzWhPgJejYPJB//wmtiWHWg==\"\r\n}" + headers: + cache-control: + - no-cache + cachecontrol: + - no-cache + content-length: + - '235' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:42:12 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ams-apiversion: + - WebAPI1.0 + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": + {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": + "32b724d5-e67f-4fca-929c-75099f1f2848", "sharedKey": "x/sdV+rjrng3/P0EwAdj7zsCTSxqHOtDYiwj0dRO8RIQbucf6lDSMA3hSECSTbzIbAveDRB8Rs03/KyEstv7/Q=="}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '399' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/e56bdbe9-1342-4afd-a838-2c513be69cf4?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:42:15 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-async-operation-timeout: + - PT15M + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Waiting","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:42: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Waiting","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:42:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Waiting","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:42:22 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Waiting","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:42:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Waiting","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:42:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Waiting","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:42:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Waiting","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:42:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Waiting","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:42:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Waiting","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:42:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Waiting","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:42:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Waiting","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:42:46 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Waiting","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:42:49 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Waiting","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:42: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Waiting","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:42:54 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Succeeded","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:42:57 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:42:57 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Succeeded","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '791' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:42:58 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:42:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + "configuration": {"secrets": [{"name": "redis-secret", "value": "Lorem Ipsum\n"}], + "activeRevisionsMode": "single", "ingress": null, "dapr": null, "registries": + null}, "template": {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", + "name": "foo", "command": null, "args": null, "env": [{"name": "database__client", + "value": "mysql"}, {"name": "database__connection__host", "value": "db"}, {"name": + "database__connection__user", "value": "root"}, {"name": "database__connection__password", + "value": "example"}, {"name": "database__connection__database", "value": "snafu"}, + {"name": "redis-secret", "secretRef": "redis-secret"}], "resources": null, "volumeMounts": + null}], "scale": null, "volumes": null}}, "tags": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '1066' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:43:01.7679999Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:43:01.7679999Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.156.163","20.121.156.174","20.121.156.175"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"database__client","value":"mysql"},{"name":"database__connection__host","value":"db"},{"name":"database__connection__user","value":"root"},{"name":"database__connection__password","value":"example"},{"name":"database__connection__database","value":"snafu"},{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d6f95c30-3294-4fe0-89fd-be3b7660e1ea?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1524' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:43:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-async-operation-timeout: + - PT15M + x-ms-ratelimit-remaining-subscription-resource-requests: + - '499' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:43:01.7679999","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:43:01.7679999"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.156.163","20.121.156.174","20.121.156.175"],"latestRevisionName":"foo--38acwve","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"database__client","value":"mysql"},{"name":"database__connection__host","value":"db"},{"name":"database__connection__user","value":"root"},{"name":"database__connection__password","value":"example"},{"name":"database__connection__database","value":"snafu"},{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1534' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:43:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:43:01.7679999","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:43:01.7679999"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.156.163","20.121.156.174","20.121.156.175"],"latestRevisionName":"foo--38acwve","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"database__client","value":"mysql"},{"name":"database__connection__host","value":"db"},{"name":"database__connection__user","value":"root"},{"name":"database__connection__password","value":"example"},{"name":"database__connection__database","value":"snafu"},{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1534' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:43: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:43:01.7679999","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:43:01.7679999"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.156.163","20.121.156.174","20.121.156.175"],"latestRevisionName":"foo--38acwve","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"database__client","value":"mysql"},{"name":"database__connection__host","value":"db"},{"name":"database__connection__user","value":"root"},{"name":"database__connection__password","value":"example"},{"name":"database__connection__database","value":"snafu"},{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1534' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:43:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:43:01.7679999","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:43:01.7679999"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.156.163","20.121.156.174","20.121.156.175"],"latestRevisionName":"foo--38acwve","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"database__client","value":"mysql"},{"name":"database__connection__host","value":"db"},{"name":"database__connection__user","value":"root"},{"name":"database__connection__password","value":"example"},{"name":"database__connection__database","value":"snafu"},{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1533' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:43: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 +version: 1 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets_and_existing_environment_conflict.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets_and_existing_environment_conflict.yaml new file mode 100644 index 00000000000..2c7eaf76b43 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets_and_existing_environment_conflict.yaml @@ -0,0 +1,1677 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-11T23:53:35Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:53:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + under resource group ''cli_test_containerapp_preview000001'' was not found. + For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '267' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:53:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-11T23:53:35Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:53:36 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:53:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:53:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:53:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:53:36 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", "properties": {"publicNetworkAccessForIngestion": + "Enabled", "publicNetworkAccessForQuery": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '126' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"922410f0-99b0-4f77-b9d6-52eb45b6d6b7\",\r\n \"provisioningState\": \"Creating\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Wed, 11 May 2022 23:53:40 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Thu, 12 May 2022 20:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Wed, 11 May 2022 23:53:40 GMT\",\r\n + \ \"modifiedDate\": \"Wed, 11 May 2022 23:53:40 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1105' + content-type: + - application/json + date: + - Wed, 11 May 2022 23:53:39 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"922410f0-99b0-4f77-b9d6-52eb45b6d6b7\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Wed, 11 May 2022 23:53:40 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Thu, 12 May 2022 20:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Wed, 11 May 2022 23:53:40 GMT\",\r\n + \ \"modifiedDate\": \"Wed, 11 May 2022 23:53:41 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1106' + content-type: + - application/json + date: + - Wed, 11 May 2022 23:54:11 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + response: + body: + string: "{\r\n \"primarySharedKey\": \"czGGvkRaEwmvBOnEsVe+waLYs6j2flr1Cwd7g5EKDffSLHgambYYONgBkAFJSGE5QmO6eKrc4wY+9HjZNHuwnw==\",\r\n + \ \"secondarySharedKey\": \"vRxQ5i2WTljFrQpFbES9DgSdVPjSSvGArtpgMK+CuwIJ2D7OSlKrWH2jK4dKGFUsu9bl1HqDTu8kPXUuF2OinA==\"\r\n}" + headers: + cache-control: + - no-cache + cachecontrol: + - no-cache + content-length: + - '235' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:54:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ams-apiversion: + - WebAPI1.0 + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": + {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": + "922410f0-99b0-4f77-b9d6-52eb45b6d6b7", "sharedKey": "czGGvkRaEwmvBOnEsVe+waLYs6j2flr1Cwd7g5EKDffSLHgambYYONgBkAFJSGE5QmO6eKrc4wY+9HjZNHuwnw=="}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '399' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/a7c62a43-3089-4347-901d-6c0a48244249?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:54:13 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-async-operation-timeout: + - PT15M + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:54: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:54:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:54:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:54:22 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:54:24 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:54:27 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:54:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:54:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:54:34 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:54:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:54: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:54:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:54:46 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242"},"properties":{"provisioningState":"Succeeded","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:54:49 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:54: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242"},"properties":{"provisioningState":"Succeeded","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:54:49 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 23:54: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 +version: 1 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scenario.py b/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scenario.py index e0ef4a93a81..aa4317fd71a 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scenario.py +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scenario.py @@ -4,10 +4,9 @@ # -------------------------------------------------------------------------------------------- import os -import unittest +import unittest # pylint: disable=unused-import from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) -from azure.cli.testsdk.exceptions import CliExecutionError TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) @@ -634,9 +633,9 @@ def test_containerapp_compose_create_with_secrets(self, resource_group): command_string += ' --logs-workspace {workspace}' self.cmd(command_string, checks=[ - self.check('[?name==`foo`].properties.configuration.secrets[0].name', ["my-secret"]), - self.check('[?name==`foo`].properties.template.containers[0].env[0].name', ["my-secret"]), - self.check('[?name==`foo`].properties.template.containers[0].env[0].secretRef', ["my-secret"]) # pylint: disable=C0301 + self.check('[?name==`foo`].properties.configuration.secrets[0].name', ["redis-secret"]), + self.check('[?name==`foo`].properties.template.containers[0].env[0].name', ["redis-secret"]), + self.check('[?name==`foo`].properties.template.containers[0].env[0].secretRef', ["redis-secret"]) # pylint: disable=C0301 ]) if os.path.exists(compose_file_name): @@ -644,3 +643,104 @@ def test_containerapp_compose_create_with_secrets(self, resource_group): if os.path.exists(secrets_file_name): os.remove(secrets_file_name) + + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_secrets_and_existing_environment(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + environment: + database__client: mysql + database__connection__host: db + database__connection__user: root + database__connection__password: example + database__connection__database: snafu + secrets: + - source: my_secret + target: redis_secret + uid: '103' + gid: '103' + mode: 0440 +secrets: + my_secret: + file: ./snafu.txt + my_other_secret: + external: true +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + secrets_file_name = "./snafu.txt" + docker_secrets_file = open(secrets_file_name, "w", encoding='utf-8') + _ = docker_secrets_file.write("Lorem Ipsum\n") + docker_secrets_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + + self.cmd(command_string, checks=[ + self.check('length([?name==`foo`].properties.template.containers[0].env[].name)', 6), + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + if os.path.exists(secrets_file_name): + os.remove(secrets_file_name) + + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_secrets_and_existing_environment_conflict(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + environment: + database--client: mysql + secrets: + - database__client +secrets: + database__client: + file: ./database__client.txt +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + secrets_file_name = "./database__client.txt" + docker_secrets_file = open(secrets_file_name, "w", encoding='utf-8') + _ = docker_secrets_file.write("Lorem Ipsum\n") + docker_secrets_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + + # This test fails with duplicate environment variable names + self.cmd(command_string, expect_failure=True) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + if os.path.exists(secrets_file_name): + os.remove(secrets_file_name) From 7468b8fc17ea00c967390077ca658723b1a3978a Mon Sep 17 00:00:00 2001 From: Jessica Deen Date: Thu, 12 May 2022 20:29:30 +0000 Subject: [PATCH 04/17] Add support for scale Signed-off-by: GitHub --- scripts/ci/credscan/CredScanSuppressions.json | 4 +- .../azext_containerapp_preview/custom.py | 17 + ...ose_create_with_replicas_global_scale.yaml | 1846 +++++++++++++++++ ..._create_with_replicas_replicated_mode.yaml | 1845 ++++++++++++++++ .../test_containerapp_preview_scenario.py | 75 + 5 files changed, 3786 insertions(+), 1 deletion(-) create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_replicas_global_scale.yaml create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_replicas_replicated_mode.yaml diff --git a/scripts/ci/credscan/CredScanSuppressions.json b/scripts/ci/credscan/CredScanSuppressions.json index 38156bb3d47..ab5d803ab41 100644 --- a/scripts/ci/credscan/CredScanSuppressions.json +++ b/scripts/ci/credscan/CredScanSuppressions.json @@ -166,7 +166,9 @@ "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_registry_server_arg_only.yaml", "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_secrets.yaml", "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_secrets_and_existing_environment.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_secrets_and_existing_environment_conflict.yaml" + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_secrets_and_existing_environment_conflict.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_replicas_global_scale.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_replicas_replicated_mode.yaml" ], "_justification": "Dummy resources' tokens left during testing." diff --git a/src/containerapp-preview/azext_containerapp_preview/custom.py b/src/containerapp-preview/azext_containerapp_preview/custom.py index 2d61656f157..4ca9ecc9047 100644 --- a/src/containerapp-preview/azext_containerapp_preview/custom.py +++ b/src/containerapp-preview/azext_containerapp_preview/custom.py @@ -67,6 +67,7 @@ def create_containerapps_from_compose(cmd, # pylint: disable=R0914 resolve_cpu_configuration_from_service(service), resolve_memory_configuration_from_service(service) ) + replicas = resolve_replicas_from_service(service) environment = resolve_environment_from_service(service) secret_vars, secret_env_ref = resolve_secret_from_service(service, parsed_compose_file.secrets) if environment is not None and secret_env_ref is not None: @@ -93,6 +94,8 @@ def create_containerapps_from_compose(cmd, # pylint: disable=R0914 memory=memory, env_vars=environment, secrets=secret_vars, + min_replicas=replicas, + max_replicas=replicas, )) return containerapps_from_compose @@ -176,6 +179,20 @@ def resolve_secret_from_service(service, secrets_map): return (secret_array, secret_env_ref) +def resolve_replicas_from_service(service): + replicas = None + + if service.scale: + replicas = service.scale + if service_deploy_exists(service): + if service.deploy.replicas is not None: + replicas = service.deploy.replicas + if service.deploy.mode == "global": + replicas = 1 + + return replicas + + def valid_resource_settings(): # vCPU and Memory reservations # https://docs.microsoft.com/azure/container-apps/containers#configuration diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_replicas_global_scale.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_replicas_global_scale.yaml new file mode 100644 index 00000000000..5aac6379943 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_replicas_global_scale.yaml @@ -0,0 +1,1846 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-12T20:22:54Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:22:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + under resource group ''cli_test_containerapp_preview000001'' was not found. + For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '267' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:22:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-12T20:22:54Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:22:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:22:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:22:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:22:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:22:56 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", "properties": {"publicNetworkAccessForIngestion": + "Enabled", "publicNetworkAccessForQuery": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '126' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"a7d389e9-9720-4aea-a4ee-85cc192b0257\",\r\n \"provisioningState\": \"Creating\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Thu, 12 May 2022 20:22:59 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Fri, 13 May 2022 03:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Thu, 12 May 2022 20:22:59 GMT\",\r\n + \ \"modifiedDate\": \"Thu, 12 May 2022 20:22:59 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1105' + content-type: + - application/json + date: + - Thu, 12 May 2022 20:22:59 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"a7d389e9-9720-4aea-a4ee-85cc192b0257\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Thu, 12 May 2022 20:22:59 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Fri, 13 May 2022 03:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Thu, 12 May 2022 20:22:59 GMT\",\r\n + \ \"modifiedDate\": \"Thu, 12 May 2022 20:23:00 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1106' + content-type: + - application/json + date: + - Thu, 12 May 2022 20:23:29 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + response: + body: + string: "{\r\n \"primarySharedKey\": \"hEfOxQEhVankoedNlga202Rm1OrdSG8zhnUw7wA23iXXE4fKNEkYMoU+M7qmaQFeS6wTeMGr/fhs+kQBFKxYiQ==\",\r\n + \ \"secondarySharedKey\": \"+qrGR+vA0KSaR8ZxQfPqm1T3PyzR4+bnJA2z1UHBHlhEQCSDAllLRWVKXfkvMRROGnmLavLIwxJ0UuNpo33w/A==\"\r\n}" + headers: + cache-control: + - no-cache + cachecontrol: + - no-cache + content-length: + - '235' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:23:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ams-apiversion: + - WebAPI1.0 + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": + {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": + "a7d389e9-9720-4aea-a4ee-85cc192b0257", "sharedKey": "hEfOxQEhVankoedNlga202Rm1OrdSG8zhnUw7wA23iXXE4fKNEkYMoU+M7qmaQFeS6wTeMGr/fhs+kQBFKxYiQ=="}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '399' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:23:32.4641651Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:23:32.4641651Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableriver-efdcdf22.eastus.azurecontainerapps.io","staticIp":"20.232.73.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"a7d389e9-9720-4aea-a4ee-85cc192b0257"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0ca47d24-7dcd-4c3a-8891-6ba4c16c5ec5?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:23:33 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:23:32.4641651","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:23:32.4641651"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableriver-efdcdf22.eastus.azurecontainerapps.io","staticIp":"20.232.73.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"a7d389e9-9720-4aea-a4ee-85cc192b0257"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:23: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:23:32.4641651","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:23:32.4641651"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableriver-efdcdf22.eastus.azurecontainerapps.io","staticIp":"20.232.73.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"a7d389e9-9720-4aea-a4ee-85cc192b0257"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:23:37 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:23:32.4641651","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:23:32.4641651"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableriver-efdcdf22.eastus.azurecontainerapps.io","staticIp":"20.232.73.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"a7d389e9-9720-4aea-a4ee-85cc192b0257"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:23:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:23:32.4641651","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:23:32.4641651"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableriver-efdcdf22.eastus.azurecontainerapps.io","staticIp":"20.232.73.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"a7d389e9-9720-4aea-a4ee-85cc192b0257"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:23:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:23:32.4641651","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:23:32.4641651"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableriver-efdcdf22.eastus.azurecontainerapps.io","staticIp":"20.232.73.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"a7d389e9-9720-4aea-a4ee-85cc192b0257"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:23:46 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:23:32.4641651","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:23:32.4641651"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableriver-efdcdf22.eastus.azurecontainerapps.io","staticIp":"20.232.73.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"a7d389e9-9720-4aea-a4ee-85cc192b0257"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:23:50 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:23:32.4641651","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:23:32.4641651"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableriver-efdcdf22.eastus.azurecontainerapps.io","staticIp":"20.232.73.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"a7d389e9-9720-4aea-a4ee-85cc192b0257"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:23:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:23:32.4641651","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:23:32.4641651"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableriver-efdcdf22.eastus.azurecontainerapps.io","staticIp":"20.232.73.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"a7d389e9-9720-4aea-a4ee-85cc192b0257"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:23: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:23:32.4641651","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:23:32.4641651"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableriver-efdcdf22.eastus.azurecontainerapps.io","staticIp":"20.232.73.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"a7d389e9-9720-4aea-a4ee-85cc192b0257"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:23:59 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:23:32.4641651","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:23:32.4641651"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableriver-efdcdf22.eastus.azurecontainerapps.io","staticIp":"20.232.73.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"a7d389e9-9720-4aea-a4ee-85cc192b0257"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:24:02 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:23:32.4641651","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:23:32.4641651"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableriver-efdcdf22.eastus.azurecontainerapps.io","staticIp":"20.232.73.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"a7d389e9-9720-4aea-a4ee-85cc192b0257"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:24: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:23:32.4641651","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:23:32.4641651"},"properties":{"provisioningState":"Succeeded","defaultDomain":"agreeableriver-efdcdf22.eastus.azurecontainerapps.io","staticIp":"20.232.73.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"a7d389e9-9720-4aea-a4ee-85cc192b0257"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:24: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:24:08 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:23:32.4641651","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:23:32.4641651"},"properties":{"provisioningState":"Succeeded","defaultDomain":"agreeableriver-efdcdf22.eastus.azurecontainerapps.io","staticIp":"20.232.73.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"a7d389e9-9720-4aea-a4ee-85cc192b0257"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:24: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:24:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": + {"fqdn": null, "external": true, "targetPort": "80", "transport": "auto", "traffic": + null, "customDomains": null}, "dapr": null, "registries": null}, "template": + {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", + "name": "foo", "command": null, "args": null, "env": null, "resources": null, + "volumeMounts": null}], "scale": {"minReplicas": 1, "maxReplicas": 1, "rules": + []}, "volumes": null}}, "tags": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '835' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:24:12.3814973Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:24:12.3814973Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.119.112.58","20.119.113.167","52.226.239.243"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.agreeableriver-efdcdf22.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":1,"maxReplicas":1}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/add8c8c7-8e6e-4f7e-b3c7-e54fe3463943?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1377' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:24:14 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-async-operation-timeout: + - PT15M + x-ms-ratelimit-remaining-subscription-resource-requests: + - '499' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:24:12.3814973","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:24:12.3814973"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.119.112.58","20.119.113.167","52.226.239.243"],"latestRevisionName":"foo--qpenaer","latestRevisionFqdn":"foo--qpenaer.agreeableriver-efdcdf22.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.agreeableriver-efdcdf22.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":1,"maxReplicas":1}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1452' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:24:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:24:12.3814973","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:24:12.3814973"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.119.112.58","20.119.113.167","52.226.239.243"],"latestRevisionName":"foo--qpenaer","latestRevisionFqdn":"foo--qpenaer.agreeableriver-efdcdf22.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.agreeableriver-efdcdf22.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":1,"maxReplicas":1}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1452' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:24:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:24:12.3814973","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:24:12.3814973"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.119.112.58","20.119.113.167","52.226.239.243"],"latestRevisionName":"foo--qpenaer","latestRevisionFqdn":"foo--qpenaer.agreeableriver-efdcdf22.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.agreeableriver-efdcdf22.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":1,"maxReplicas":1}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1452' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:24:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:24:12.3814973","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:24:12.3814973"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.119.112.58","20.119.113.167","52.226.239.243"],"latestRevisionName":"foo--qpenaer","latestRevisionFqdn":"foo--qpenaer.agreeableriver-efdcdf22.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.agreeableriver-efdcdf22.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":1,"maxReplicas":1}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1451' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:24:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_replicas_replicated_mode.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_replicas_replicated_mode.yaml new file mode 100644 index 00000000000..31f5020a75f --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_replicas_replicated_mode.yaml @@ -0,0 +1,1845 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-12T20:24:35Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:24:36 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + under resource group ''cli_test_containerapp_preview000001'' was not found. + For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '267' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:24:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-12T20:24:35Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:24:36 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:24:36 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:24:36 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:24:36 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:24:36 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", "properties": {"publicNetworkAccessForIngestion": + "Enabled", "publicNetworkAccessForQuery": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '126' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"fb145fe0-f088-4702-aaf1-38d3a6cb7040\",\r\n \"provisioningState\": \"Creating\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Thu, 12 May 2022 20:24:39 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Fri, 13 May 2022 04:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Thu, 12 May 2022 20:24:39 GMT\",\r\n + \ \"modifiedDate\": \"Thu, 12 May 2022 20:24:39 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1105' + content-type: + - application/json + date: + - Thu, 12 May 2022 20:24:39 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"fb145fe0-f088-4702-aaf1-38d3a6cb7040\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Thu, 12 May 2022 20:24:39 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Fri, 13 May 2022 04:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Thu, 12 May 2022 20:24:39 GMT\",\r\n + \ \"modifiedDate\": \"Thu, 12 May 2022 20:24:40 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1106' + content-type: + - application/json + date: + - Thu, 12 May 2022 20:25:09 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + response: + body: + string: "{\r\n \"primarySharedKey\": \"b1eG+4HuHZteWOWW3AC+Oa2PcXOjD4gThSeoxTp3sC+Qdx16UvXZXHov6ECkUPN5QvV/X6vG/CHer7Tg4FZfzQ==\",\r\n + \ \"secondarySharedKey\": \"xqD4TYlCoWdRsX87ygrUsTkYDVU3Na208SF747ZVj7GpT5o31Z4PdGsdifYe8K9Zy2aB59NpN8lafOmyz6aA5Q==\"\r\n}" + headers: + cache-control: + - no-cache + cachecontrol: + - no-cache + content-length: + - '235' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:25:10 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ams-apiversion: + - WebAPI1.0 + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": + {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": + "fb145fe0-f088-4702-aaf1-38d3a6cb7040", "sharedKey": "b1eG+4HuHZteWOWW3AC+Oa2PcXOjD4gThSeoxTp3sC+Qdx16UvXZXHov6ECkUPN5QvV/X6vG/CHer7Tg4FZfzQ=="}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '399' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:13.2419008Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:13.2419008Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudwater-193c2c85.eastus.azurecontainerapps.io","staticIp":"20.237.48.132","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb145fe0-f088-4702-aaf1-38d3a6cb7040"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/cc47b712-edab-4253-9df5-5be706a2ec25?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:25:14 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:13.2419008","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:13.2419008"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudwater-193c2c85.eastus.azurecontainerapps.io","staticIp":"20.237.48.132","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb145fe0-f088-4702-aaf1-38d3a6cb7040"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:25:15 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:13.2419008","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:13.2419008"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudwater-193c2c85.eastus.azurecontainerapps.io","staticIp":"20.237.48.132","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb145fe0-f088-4702-aaf1-38d3a6cb7040"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:25:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:13.2419008","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:13.2419008"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudwater-193c2c85.eastus.azurecontainerapps.io","staticIp":"20.237.48.132","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb145fe0-f088-4702-aaf1-38d3a6cb7040"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:25:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:13.2419008","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:13.2419008"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudwater-193c2c85.eastus.azurecontainerapps.io","staticIp":"20.237.48.132","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb145fe0-f088-4702-aaf1-38d3a6cb7040"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:25:24 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:13.2419008","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:13.2419008"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudwater-193c2c85.eastus.azurecontainerapps.io","staticIp":"20.237.48.132","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb145fe0-f088-4702-aaf1-38d3a6cb7040"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:25:27 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:13.2419008","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:13.2419008"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudwater-193c2c85.eastus.azurecontainerapps.io","staticIp":"20.237.48.132","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb145fe0-f088-4702-aaf1-38d3a6cb7040"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:25:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:13.2419008","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:13.2419008"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudwater-193c2c85.eastus.azurecontainerapps.io","staticIp":"20.237.48.132","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb145fe0-f088-4702-aaf1-38d3a6cb7040"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:25:33 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:13.2419008","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:13.2419008"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudwater-193c2c85.eastus.azurecontainerapps.io","staticIp":"20.237.48.132","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb145fe0-f088-4702-aaf1-38d3a6cb7040"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:25: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:13.2419008","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:13.2419008"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudwater-193c2c85.eastus.azurecontainerapps.io","staticIp":"20.237.48.132","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb145fe0-f088-4702-aaf1-38d3a6cb7040"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:25:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:13.2419008","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:13.2419008"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudwater-193c2c85.eastus.azurecontainerapps.io","staticIp":"20.237.48.132","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb145fe0-f088-4702-aaf1-38d3a6cb7040"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:25:43 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:13.2419008","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:13.2419008"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudwater-193c2c85.eastus.azurecontainerapps.io","staticIp":"20.237.48.132","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb145fe0-f088-4702-aaf1-38d3a6cb7040"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:25:45 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:13.2419008","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:13.2419008"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudwater-193c2c85.eastus.azurecontainerapps.io","staticIp":"20.237.48.132","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb145fe0-f088-4702-aaf1-38d3a6cb7040"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '787' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:25:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:13.2419008","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:13.2419008"},"properties":{"provisioningState":"Succeeded","defaultDomain":"proudwater-193c2c85.eastus.azurecontainerapps.io","staticIp":"20.237.48.132","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb145fe0-f088-4702-aaf1-38d3a6cb7040"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:25:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:25:52 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:13.2419008","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:13.2419008"},"properties":{"provisioningState":"Succeeded","defaultDomain":"proudwater-193c2c85.eastus.azurecontainerapps.io","staticIp":"20.237.48.132","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb145fe0-f088-4702-aaf1-38d3a6cb7040"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:25:54 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:25:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": + {"fqdn": null, "external": true, "targetPort": "80", "transport": "auto", "traffic": + null, "customDomains": null}, "dapr": null, "registries": null}, "template": + {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", + "name": "foo", "command": null, "args": null, "env": null, "resources": null, + "volumeMounts": null}], "scale": {"minReplicas": 6, "maxReplicas": 6, "rules": + []}, "volumes": null}}, "tags": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '835' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:57.5332244Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:57.5332244Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.5.130","20.232.5.134","20.232.5.133"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.proudwater-193c2c85.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":6,"maxReplicas":6}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/e1e1b276-aeb4-4af9-a1f4-3c7c0deb5ee7?api-version=2022-01-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1368' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:25:59 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-async-operation-timeout: + - PT15M + x-ms-ratelimit-remaining-subscription-resource-requests: + - '499' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:57.5332244","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:57.5332244"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.5.130","20.232.5.134","20.232.5.133"],"latestRevisionName":"foo--8hfcw3r","latestRevisionFqdn":"foo--8hfcw3r.proudwater-193c2c85.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.proudwater-193c2c85.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":6,"maxReplicas":6}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1439' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:26:02 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:57.5332244","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:57.5332244"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.5.130","20.232.5.134","20.232.5.133"],"latestRevisionName":"foo--8hfcw3r","latestRevisionFqdn":"foo--8hfcw3r.proudwater-193c2c85.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.proudwater-193c2c85.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":6,"maxReplicas":6}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1439' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:26:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:57.5332244","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:57.5332244"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.5.130","20.232.5.134","20.232.5.133"],"latestRevisionName":"foo--8hfcw3r","latestRevisionFqdn":"foo--8hfcw3r.proudwater-193c2c85.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.proudwater-193c2c85.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":6,"maxReplicas":6}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1438' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 20:26: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 +version: 1 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scenario.py b/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scenario.py index aa4317fd71a..7f32e67128c 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scenario.py +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scenario.py @@ -744,3 +744,78 @@ def test_containerapp_compose_create_with_secrets_and_existing_environment_confl if os.path.exists(secrets_file_name): os.remove(secrets_file_name) + + +class ContainerappComposePreviewReplicasScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_replicas_global_scale(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + ports: 8080:80 + scale: 4 + deploy: + mode: global + replicas: 6 +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + + self.cmd(command_string, checks=[ + self.check('[?name==`foo`].properties.template.scale.minReplicas', [1]), + self.check('[?name==`foo`].properties.template.scale.maxReplicas', [1]), + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_replicas_replicated_mode(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + ports: 8080:80 + deploy: + mode: replicated + replicas: 6 +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + + self.cmd(command_string, checks=[ + self.check('[?name==`foo`].properties.template.scale.minReplicas', [6]), + self.check('[?name==`foo`].properties.template.scale.maxReplicas', [6]), + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) From 1a2a8367d2fd7c6f9ca87cc3278361b284168828 Mon Sep 17 00:00:00 2001 From: Steven Murawski Date: Thu, 12 May 2022 21:29:49 +0000 Subject: [PATCH 05/17] remove extra stdout to let query work --- .../vendored_sdks/azext_containerapp/_clients.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_clients.py b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_clients.py index 4362e1d51aa..6ad9ae78581 100644 --- a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_clients.py +++ b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_clients.py @@ -27,16 +27,17 @@ def __init__(self): self.currTicker = 0 def tick(self): - sys.stdout.write('\r') - sys.stdout.write(self.tickers[self.currTicker] + " Running ..") - sys.stdout.flush() + # sys.stdout.write('\r') + # sys.stdout.write(self.tickers[self.currTicker] + " Running ..") + # sys.stdout.flush() self.currTicker += 1 self.currTicker = self.currTicker % len(self.tickers) def flush(self): - sys.stdout.flush() - sys.stdout.write('\r') - sys.stdout.write("\033[K") + pass + # sys.stdout.flush() + # sys.stdout.write('\r') + # sys.stdout.write("\033[K") def poll(cmd, request_url, poll_if_status): # pylint: disable=inconsistent-return-statements From f14b927346bb209ed5491e380d32794bc96066d8 Mon Sep 17 00:00:00 2001 From: Steven Murawski Date: Fri, 13 May 2022 18:52:46 +0000 Subject: [PATCH 06/17] restructure tests --- ...e_create_basic_no_existing_resources.yaml} | 595 +++- ..._compose_create_no_existing_resources.yaml | 2094 ----------- ...nerapp_compose_create_with_deploy_cpu.yaml | 1945 ----------- ...erapp_compose_create_with_environment.yaml | 1313 +++++-- ...ompose_create_with_environment_prompt.yaml | 304 +- ...rapp_compose_create_with_ingress_both.yaml | 2603 ++++++++++++++ ..._compose_create_with_ingress_external.yaml | 2399 +++++++++++++ ...compose_create_with_ingress_internal.yaml} | 512 +-- ...p_compose_create_with_ingress_prompt.yaml} | 456 ++- ...ompose_create_with_registry_all_args.yaml} | 401 +-- ..._create_with_registry_server_arg_only.yaml | 294 +- ...ose_create_with_replicas_global_scale.yaml | 566 ++- ..._create_with_replicas_replicated_mode.yaml | 765 +++- ...ources_from_both_cpus_and_deploy_cpu.yaml} | 709 +++- ...reate_with_resources_from_deploy_cpu.yaml} | 510 +-- ...ate_with_resources_from_service_cpus.yaml} | 488 ++- ...tainerapp_compose_create_with_secrets.yaml | 1093 +++++- ...with_secrets_and_existing_environment.yaml | 490 ++- ...ets_and_existing_environment_conflict.yaml | 542 ++- ...app_compose_create_with_transport_arg.yaml | 469 ++- ...ontainerapp_compose_with_command_list.yaml | 606 +++- ...pose_with_command_list_and_entrypoint.yaml | 3081 +++++++++++++++++ ...tainerapp_compose_with_command_string.yaml | 884 ++++- ...pose_with_entrypoint_and_command_list.yaml | 2053 ----------- .../latest/test_containerapp_preview_basic.py | 46 + .../test_containerapp_preview_command.py | 115 + .../test_containerapp_preview_environment.py | 87 + .../test_containerapp_preview_ingress.py | 157 + .../test_containerapp_preview_registries.py | 89 + .../test_containerapp_preview_resources.py | 120 + .../latest/test_containerapp_preview_scale.py | 87 + .../test_containerapp_preview_scenario.py | 821 ----- .../test_containerapp_preview_secrets.py | 167 + ...ontainerapp_preview_transport_overrides.py | 49 + 34 files changed, 17260 insertions(+), 9650 deletions(-) rename src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/{test_containerapp_compose_create_with_both_ingress.yaml => test_containerapp_compose_create_basic_no_existing_resources.yaml} (73%) delete mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_no_existing_resources.yaml delete mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_deploy_cpu.yaml create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_ingress_both.yaml create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_ingress_external.yaml rename src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/{test_containerapp_compose_create_with_cpus.yaml => test_containerapp_compose_create_with_ingress_internal.yaml} (78%) rename src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/{test_containerapp_compose_create_with_prompt_ingress.yaml => test_containerapp_compose_create_with_ingress_prompt.yaml} (76%) rename src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/{test_containerapp_compose_create_with_all_registry_args.yaml => test_containerapp_compose_create_with_registry_all_args.yaml} (80%) rename src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/{test_containerapp_compose_create_with_cpus_and_deploy_cpu.yaml => test_containerapp_compose_create_with_resources_from_both_cpus_and_deploy_cpu.yaml} (69%) rename src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/{test_containerapp_compose_create_with_external_ingress.yaml => test_containerapp_compose_create_with_resources_from_deploy_cpu.yaml} (77%) rename src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/{test_containerapp_compose_create_with_internal_ingress.yaml => test_containerapp_compose_create_with_resources_from_service_cpus.yaml} (74%) create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_command_list_and_entrypoint.yaml delete mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_entrypoint_and_command_list.yaml create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_basic.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_command.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_environment.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_ingress.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_registries.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_resources.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scale.py delete mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scenario.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_secrets.py create mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_transport_overrides.py diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_both_ingress.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_basic_no_existing_resources.yaml similarity index 73% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_both_ingress.yaml rename to src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_basic_no_existing_resources.yaml index 7278cf2b887..6994832c409 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_both_ingress.yaml +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_basic_no_existing_resources.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:45:45Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T16:41:46Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:45:46 GMT + - Fri, 13 May 2022 16:41:47 GMT expires: - '-1' pragma: @@ -57,7 +57,7 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' @@ -71,7 +71,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:45:46 GMT + - Fri, 13 May 2022 16:41:47 GMT expires: - '-1' pragma: @@ -104,7 +104,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:45:45Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T16:41:46Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -113,7 +113,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:45:46 GMT + - Fri, 13 May 2022 16:41:46 GMT expires: - '-1' pragma: @@ -175,7 +175,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:45:46 GMT + - Fri, 13 May 2022 16:41:46 GMT expires: - '-1' pragma: @@ -237,7 +237,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:45:46 GMT + - Fri, 13 May 2022 16:41:47 GMT expires: - '-1' pragma: @@ -390,7 +390,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:45:46 GMT + - Fri, 13 May 2022 16:41:46 GMT expires: - '-1' pragma: @@ -543,7 +543,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:45:47 GMT + - Fri, 13 May 2022 16:41:47 GMT expires: - '-1' pragma: @@ -582,16 +582,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"664a5c5e-eb3d-41ce-9f53-031416804923\",\r\n \"provisioningState\": \"Creating\",\r\n + \"2e0357b7-32f0-4816-948d-757a8a625008\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 22:45:49 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 16:41:49 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Sat, 07 May 2022 02:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Fri, 13 May 2022 19:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:45:49 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 22:45:49 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:41:49 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 16:41:49 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -603,7 +603,7 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 22:45:50 GMT + - Fri, 13 May 2022 16:41:48 GMT pragma: - no-cache server: @@ -614,7 +614,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET - ASP.NET @@ -641,16 +641,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"664a5c5e-eb3d-41ce-9f53-031416804923\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"2e0357b7-32f0-4816-948d-757a8a625008\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 22:45:49 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 16:41:49 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Sat, 07 May 2022 02:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Fri, 13 May 2022 19:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:45:49 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 22:45:50 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:41:49 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 16:41:50 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -662,7 +662,7 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 22:46:20 GMT + - Fri, 13 May 2022 16:42:19 GMT pragma: - no-cache server: @@ -703,8 +703,8 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 response: body: - string: "{\r\n \"primarySharedKey\": \"Ro1PmHquFlejdYKGWnO7dYvKg48hOLqfZqM7O9ew0wRbz1aQ3ysSPvgNUGgqCSnxOIFGf+YKaon11KdoqO2t4A==\",\r\n - \ \"secondarySharedKey\": \"IRhbD+geTNsCE1B/VMTSGmYferQeHLIk6ZGJJ8Vs4fs4a/na1MCic8aQ35yor7dooSRi93UBYiA4x06NGIYs5g==\"\r\n}" + string: "{\r\n \"primarySharedKey\": \"b//vH/7aqEbuMQx0MdKMPgwf4sorj/EnGWJriLKUvzqqxEQhfn8NJVO55tsYdwPDuXKlECJzd79qhvhSk02aYg==\",\r\n + \ \"secondarySharedKey\": \"zb1CDA77DGei2cOozFdxxSobl/qAZ39F9jKJhR13XFjwa/c+LVEnisEfqlp8xVzstQ72rDWOMX/Wc4XMLIiarg==\"\r\n}" headers: cache-control: - no-cache @@ -715,7 +715,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:46:23 GMT + - Fri, 13 May 2022 16:42:19 GMT expires: - '-1' pragma: @@ -734,7 +734,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET - ASP.NET @@ -745,7 +745,7 @@ interactions: body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": - "664a5c5e-eb3d-41ce-9f53-031416804923", "sharedKey": "Ro1PmHquFlejdYKGWnO7dYvKg48hOLqfZqM7O9ew0wRbz1aQ3ysSPvgNUGgqCSnxOIFGf+YKaon11KdoqO2t4A=="}}}}' + "2e0357b7-32f0-4816-948d-757a8a625008", "sharedKey": "b//vH/7aqEbuMQx0MdKMPgwf4sorj/EnGWJriLKUvzqqxEQhfn8NJVO55tsYdwPDuXKlECJzd79qhvhSk02aYg=="}}}}' headers: Accept: - '*/*' @@ -764,23 +764,23 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/05608b48-853e-4b20-99cf-e7d91cfa786d?api-version=2022-01-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/c8815f18-cc06-44b4-9287-3e04c2f69c9e?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '793' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:46:26 GMT + - Fri, 13 May 2022 16:42:20 GMT expires: - '-1' pragma: @@ -793,8 +793,8 @@ interactions: - nosniff x-ms-async-operation-timeout: - PT15M - x-ms-ratelimit-remaining-subscription-writes: - - '1199' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '98' x-powered-by: - ASP.NET status: @@ -816,21 +816,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:46:27 GMT + - Fri, 13 May 2022 16:42:21 GMT expires: - '-1' pragma: @@ -866,21 +866,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:46:30 GMT + - Fri, 13 May 2022 16:42:22 GMT expires: - '-1' pragma: @@ -916,21 +916,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:46:33 GMT + - Fri, 13 May 2022 16:42:25 GMT expires: - '-1' pragma: @@ -966,21 +966,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:46:36 GMT + - Fri, 13 May 2022 16:42:27 GMT expires: - '-1' pragma: @@ -1016,21 +1016,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:46:38 GMT + - Fri, 13 May 2022 16:42:29 GMT expires: - '-1' pragma: @@ -1066,21 +1066,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:46:41 GMT + - Fri, 13 May 2022 16:42:31 GMT expires: - '-1' pragma: @@ -1116,21 +1116,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:46:44 GMT + - Fri, 13 May 2022 16:42:33 GMT expires: - '-1' pragma: @@ -1166,21 +1166,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:46:47 GMT + - Fri, 13 May 2022 16:42:36 GMT expires: - '-1' pragma: @@ -1216,21 +1216,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:46:49 GMT + - Fri, 13 May 2022 16:42:37 GMT expires: - '-1' pragma: @@ -1266,21 +1266,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:46:53 GMT + - Fri, 13 May 2022 16:42:40 GMT expires: - '-1' pragma: @@ -1316,21 +1316,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:46:55 GMT + - Fri, 13 May 2022 16:42:42 GMT expires: - '-1' pragma: @@ -1366,21 +1366,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:46:59 GMT + - Fri, 13 May 2022 16:42:44 GMT expires: - '-1' pragma: @@ -1416,21 +1416,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:47:01 GMT + - Fri, 13 May 2022 16:42:46 GMT expires: - '-1' pragma: @@ -1466,21 +1466,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:47:04 GMT + - Fri, 13 May 2022 16:42:48 GMT expires: - '-1' pragma: @@ -1516,21 +1516,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:47:07 GMT + - Fri, 13 May 2022 16:42:51 GMT expires: - '-1' pragma: @@ -1566,21 +1566,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Waiting","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:47:09 GMT + - Fri, 13 May 2022 16:42:53 GMT expires: - '-1' pragma: @@ -1616,21 +1616,121 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Succeeded","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '793' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:47:12 GMT + - Fri, 13 May 2022 16:42:54 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:42:57 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Succeeded","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '814' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:42:59 GMT expires: - '-1' pragma: @@ -1698,7 +1798,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:47:12 GMT + - Fri, 13 May 2022 16:42:59 GMT expires: - '-1' pragma: @@ -1728,21 +1828,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:46:25.7096677","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:46:25.7096677"},"properties":{"provisioningState":"Succeeded","defaultDomain":"victoriousmoss-a500e694.eastus.azurecontainerapps.io","staticIp":"20.121.91.130","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"664a5c5e-eb3d-41ce-9f53-031416804923"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Succeeded","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '793' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:47:13 GMT + - Fri, 13 May 2022 16:43:00 GMT expires: - '-1' pragma: @@ -1810,7 +1910,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:47:12 GMT + - Fri, 13 May 2022 16:43:00 GMT expires: - '-1' pragma: @@ -1828,13 +1928,10 @@ interactions: body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": - {"fqdn": null, "external": true, "targetPort": "3000", "transport": "auto", - "traffic": null, "customDomains": null}, "dapr": null, "registries": null}, - "template": {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", - "name": "foo", "command": ["/code/entrypoint.sh"], "args": ["echo \"hello world\""], - "env": [{"name": "RACK_ENV", "value": "development"}, {"name": "SHOW", "value": - "true"}, {"name": "BAZ", "value": "\"snafu\""}], "resources": null, "volumeMounts": - null}], "scale": null, "volumes": null}}, "tags": null}' + null, "dapr": null, "registries": null}, "template": {"revisionSuffix": null, + "containers": [{"image": "smurawski/printenv:latest", "name": "foo", "command": + null, "args": null, "env": null, "resources": null, "volumeMounts": null}], + "scale": null, "volumes": null}}, "tags": null}' headers: Accept: - '*/*' @@ -1845,7 +1942,7 @@ interactions: Connection: - keep-alive Content-Length: - - '947' + - '661' Content-Type: - application/json ParameterSetName: @@ -1853,25 +1950,24 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:47:16.4371967Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:47:16.4371967Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.92.81","20.121.94.133","20.121.94.162"],"latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.victoriousmoss-a500e694.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:00.9720399Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:00.9720399Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.169","52.226.193.198","52.226.193.159"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/90df4cb3-3fa7-4a06-8f65-8bc5f7ace2b4?api-version=2022-01-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/6905d20a-445b-4269-bf89-afc5a1a1abd3?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '1519' + - '1147' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:47:18 GMT + - Fri, 13 May 2022 16:43:01 GMT expires: - '-1' pragma: @@ -1884,8 +1980,8 @@ interactions: - nosniff x-ms-async-operation-timeout: - PT15M - x-ms-ratelimit-remaining-subscription-writes: - - '1199' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '499' x-powered-by: - ASP.NET status: @@ -1907,23 +2003,226 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:00.9720399","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:00.9720399"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.169","52.226.193.198","52.226.193.159"],"latestRevisionName":"foo--7vbr3sy","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1157' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:43:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:00.9720399","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:00.9720399"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.169","52.226.193.198","52.226.193.159"],"latestRevisionName":"foo--7vbr3sy","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1157' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:43: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:00.9720399","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:00.9720399"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.169","52.226.193.198","52.226.193.159"],"latestRevisionName":"foo--7vbr3sy","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1157' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:43:06 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:00.9720399","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:00.9720399"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.169","52.226.193.198","52.226.193.159"],"latestRevisionName":"foo--7vbr3sy","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1157' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:43: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:47:16.4371967","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:47:16.4371967"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.92.81","20.121.94.133","20.121.94.162"],"latestRevisionName":"foo--x8exiv9","latestRevisionFqdn":"foo--x8exiv9.victoriousmoss-a500e694.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.victoriousmoss-a500e694.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:00.9720399","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:00.9720399"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.169","52.226.193.198","52.226.193.159"],"latestRevisionName":"foo--7vbr3sy","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1618' + - '1157' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:47:19 GMT + - Fri, 13 May 2022 16:43:11 GMT expires: - '-1' pragma: @@ -1959,23 +2258,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:47:16.4371967","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:47:16.4371967"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.92.81","20.121.94.133","20.121.94.162"],"latestRevisionName":"foo--x8exiv9","latestRevisionFqdn":"foo--x8exiv9.victoriousmoss-a500e694.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.victoriousmoss-a500e694.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:00.9720399","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:00.9720399"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.169","52.226.193.198","52.226.193.159"],"latestRevisionName":"foo--7vbr3sy","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1618' + - '1157' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:47:22 GMT + - Fri, 13 May 2022 16:43:13 GMT expires: - '-1' pragma: @@ -2011,23 +2309,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:47:16.4371967","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:47:16.4371967"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.92.81","20.121.94.133","20.121.94.162"],"latestRevisionName":"foo--x8exiv9","latestRevisionFqdn":"foo--x8exiv9.victoriousmoss-a500e694.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.victoriousmoss-a500e694.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:00.9720399","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:00.9720399"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.169","52.226.193.198","52.226.193.159"],"latestRevisionName":"foo--7vbr3sy","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1618' + - '1157' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:47:24 GMT + - Fri, 13 May 2022 16:43:15 GMT expires: - '-1' pragma: @@ -2063,23 +2360,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:47:16.4371967","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:47:16.4371967"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.92.81","20.121.94.133","20.121.94.162"],"latestRevisionName":"foo--x8exiv9","latestRevisionFqdn":"foo--x8exiv9.victoriousmoss-a500e694.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.victoriousmoss-a500e694.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:00.9720399","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:00.9720399"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.169","52.226.193.198","52.226.193.159"],"latestRevisionName":"foo--7vbr3sy","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1618' + - '1157' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:47:28 GMT + - Fri, 13 May 2022 16:43:18 GMT expires: - '-1' pragma: @@ -2115,23 +2411,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:47:16.4371967","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:47:16.4371967"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.92.81","20.121.94.133","20.121.94.162"],"latestRevisionName":"foo--x8exiv9","latestRevisionFqdn":"foo--x8exiv9.victoriousmoss-a500e694.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.victoriousmoss-a500e694.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:00.9720399","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:00.9720399"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.169","52.226.193.198","52.226.193.159"],"latestRevisionName":"foo--7vbr3sy","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1617' + - '1156' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:47:31 GMT + - Fri, 13 May 2022 16:43:20 GMT expires: - '-1' pragma: diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_no_existing_resources.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_no_existing_resources.yaml deleted file mode 100644 index 44f89ee077c..00000000000 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_no_existing_resources.yaml +++ /dev/null @@ -1,2094 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T23:15:58Z"},"properties":{"provisioningState":"Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '348' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:15:59 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' - under resource group ''cli_test_containerapp_preview000001'' was not found. - For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' - headers: - cache-control: - - no-cache - content-length: - - '267' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:15:59 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-failure-cause: - - gateway - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T23:15:58Z"},"properties":{"provisioningState":"Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '348' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:15:59 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","Canada Central","West Europe","North - Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '2737' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:15:59 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","Canada Central","West Europe","North - Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '2737' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:15:59 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West - Central US","East US","South Central US","North Europe","West Europe","Southeast - Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia - East","Korea Central","France Central","Central US","East US 2","East Asia","West - US","South Africa North","North Central US","Brazil South","Switzerland North","Norway - East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland - West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia - Central","France South","South India","Jio India Central","Jio India West","Canada - East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia East","Australia - Central","France Central","Korea Central","North Europe","Central US","East - Asia","East US 2","South Central US","North Central US","West US","UK West","South - Africa North","Brazil South","Switzerland North","Switzerland West","Germany - West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia East","Australia - Central","France Central","Korea Central","North Europe","Central US","East - Asia","East US 2","South Central US","North Central US","West US","UK West","South - Africa North","Brazil South","Switzerland North","Switzerland West","Germany - West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East - US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Switzerland North","Switzerland West","Germany West Central","Australia - Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway - East","Norway West","France South","South India","Jio India Central","Jio - India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '12146' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:16:00 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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West - Central US","East US","South Central US","North Europe","West Europe","Southeast - Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia - East","Korea Central","France Central","Central US","East US 2","East Asia","West - US","South Africa North","North Central US","Brazil South","Switzerland North","Norway - East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland - West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia - Central","France South","South India","Jio India Central","Jio India West","Canada - East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia East","Australia - Central","France Central","Korea Central","North Europe","Central US","East - Asia","East US 2","South Central US","North Central US","West US","UK West","South - Africa North","Brazil South","Switzerland North","Switzerland West","Germany - West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia East","Australia - Central","France Central","Korea Central","North Europe","Central US","East - Asia","East US 2","South Central US","North Central US","West US","UK West","South - Africa North","Brazil South","Switzerland North","Switzerland West","Germany - West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East - US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Switzerland North","Switzerland West","Germany West Central","Australia - Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway - East","Norway West","France South","South India","Jio India Central","Jio - India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '12146' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:15:59 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "properties": {"publicNetworkAccessForIngestion": - "Enabled", "publicNetworkAccessForQuery": "Enabled"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - Content-Length: - - '126' - Content-Type: - - application/json - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview - response: - body: - string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"e6dbae3c-0542-4959-832d-c8a1f13cefb5\",\r\n \"provisioningState\": \"Creating\",\r\n - \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 23:16:03 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n - \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n - \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n - \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Sat, 07 May 2022 11:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n - \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 23:16:03 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 23:16:03 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n - \ \"location\": \"eastus\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '1105' - content-type: - - application/json - date: - - Fri, 06 May 2022 23:16:03 GMT - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - x-powered-by: - - ASP.NET - - ASP.NET - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview - response: - body: - string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"e6dbae3c-0542-4959-832d-c8a1f13cefb5\",\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 23:16:03 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n - \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n - \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n - \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Sat, 07 May 2022 11:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n - \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 23:16:03 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 23:16:04 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n - \ \"location\": \"eastus\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '1106' - content-type: - - application/json - date: - - Fri, 06 May 2022 23:16:34 GMT - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 - response: - body: - string: "{\r\n \"primarySharedKey\": \"A3ZPf80prZcwcD46I1zZmeZfztbldP31rvIUPiDAY0kNoz+LKpkNJRF/dbY5B1AJLQDUvGMa7c1xOQ8UDyqFdA==\",\r\n - \ \"secondarySharedKey\": \"YZ02ocE+nqCqGSfXjVWAjmMgI1iqMggUNU3BpoXsAbtqCmxiUd3Dt2/uBeydl+roTz3b74cj8sqn1kfqDY63xA==\"\r\n}" - headers: - cache-control: - - no-cache - cachecontrol: - - no-cache - content-length: - - '235' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:16:35 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-ams-apiversion: - - WebAPI1.0 - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - x-powered-by: - - ASP.NET - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": - null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": - {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": - "e6dbae3c-0542-4959-832d-c8a1f13cefb5", "sharedKey": "A3ZPf80prZcwcD46I1zZmeZfztbldP31rvIUPiDAY0kNoz+LKpkNJRF/dbY5B1AJLQDUvGMa7c1xOQ8UDyqFdA=="}}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - Content-Length: - - '399' - Content-Type: - - application/json - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/f7d6a022-2ced-4f2b-a295-5d7f6fd839ce?api-version=2022-01-01-preview&azureAsyncOperation=true - cache-control: - - no-cache - content-length: - - '787' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:16:39 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-writes: - - '1197' - x-powered-by: - - ASP.NET - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:16:39 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:16:42 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:16:44 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:16:47 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:16:49 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:16:53 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:16: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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:16:58 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:17: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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:17:03 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:17:06 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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:17: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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:17:11 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:17: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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:17:16 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:17:19 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Succeeded","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '787' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:17: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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","Canada Central","West Europe","North - Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '2737' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:17:22 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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:16:37.894977","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:16:37.894977"},"properties":{"provisioningState":"Succeeded","defaultDomain":"jollystone-e60cf7de.eastus.azurecontainerapps.io","staticIp":"20.121.100.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6dbae3c-0542-4959-832d-c8a1f13cefb5"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '787' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:17:23 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","Canada Central","West Europe","North - Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '2737' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:17:23 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": - null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", - "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": - null, "dapr": null, "registries": null}, "template": {"revisionSuffix": null, - "containers": [{"image": "smurawski/printenv:latest", "name": "foo", "command": - null, "args": null, "env": null, "resources": null, "volumeMounts": null}], - "scale": null, "volumes": null}}, "tags": null}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - Content-Length: - - '661' - Content-Type: - - application/json - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:17:25.7245955Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:17:25.7245955Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.96.208","20.121.96.225","20.121.97.157"],"latestRevisionName":"foo--sron2h3","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/327f397d-7bcc-48c3-92d8-607e3297b869?api-version=2022-01-01-preview&azureAsyncOperation=true - cache-control: - - no-cache - content-length: - - '1152' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:17:27 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-writes: - - '1198' - x-powered-by: - - ASP.NET - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:17:25.7245955","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:17:25.7245955"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.96.208","20.121.96.225","20.121.97.157"],"latestRevisionName":"foo--sron2h3","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1150' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:17:29 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:17:25.7245955","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:17:25.7245955"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.96.208","20.121.96.225","20.121.97.157"],"latestRevisionName":"foo--sron2h3","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1150' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:17:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:17:25.7245955","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:17:25.7245955"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.96.208","20.121.96.225","20.121.97.157"],"latestRevisionName":"foo--sron2h3","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1150' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:17:35 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:17:25.7245955","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:17:25.7245955"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.96.208","20.121.96.225","20.121.97.157"],"latestRevisionName":"foo--sron2h3","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1149' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:17:37 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -version: 1 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_deploy_cpu.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_deploy_cpu.yaml deleted file mode 100644 index fa4fa0d6e3a..00000000000 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_deploy_cpu.yaml +++ /dev/null @@ -1,1945 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T23:13:55Z"},"properties":{"provisioningState":"Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '348' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:13:56 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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' - under resource group ''cli_test_containerapp_preview000001'' was not found. - For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' - headers: - cache-control: - - no-cache - content-length: - - '267' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:13:56 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-failure-cause: - - gateway - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T23:13:55Z"},"properties":{"provisioningState":"Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '348' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:13:56 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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","Canada Central","West Europe","North - Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '2737' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:13:56 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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","Canada Central","West Europe","North - Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '2737' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:13:56 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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West - Central US","East US","South Central US","North Europe","West Europe","Southeast - Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia - East","Korea Central","France Central","Central US","East US 2","East Asia","West - US","South Africa North","North Central US","Brazil South","Switzerland North","Norway - East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland - West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia - Central","France South","South India","Jio India Central","Jio India West","Canada - East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia East","Australia - Central","France Central","Korea Central","North Europe","Central US","East - Asia","East US 2","South Central US","North Central US","West US","UK West","South - Africa North","Brazil South","Switzerland North","Switzerland West","Germany - West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia East","Australia - Central","France Central","Korea Central","North Europe","Central US","East - Asia","East US 2","South Central US","North Central US","West US","UK West","South - Africa North","Brazil South","Switzerland North","Switzerland West","Germany - West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East - US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Switzerland North","Switzerland West","Germany West Central","Australia - Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway - East","Norway West","France South","South India","Jio India Central","Jio - India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '12146' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:13:57 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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West - Central US","East US","South Central US","North Europe","West Europe","Southeast - Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia - East","Korea Central","France Central","Central US","East US 2","East Asia","West - US","South Africa North","North Central US","Brazil South","Switzerland North","Norway - East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland - West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia - Central","France South","South India","Jio India Central","Jio India West","Canada - East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia East","Australia - Central","France Central","Korea Central","North Europe","Central US","East - Asia","East US 2","South Central US","North Central US","West US","UK West","South - Africa North","Brazil South","Switzerland North","Switzerland West","Germany - West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia East","Australia - Central","France Central","Korea Central","North Europe","Central US","East - Asia","East US 2","South Central US","North Central US","West US","UK West","South - Africa North","Brazil South","Switzerland North","Switzerland West","Germany - West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East - US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Switzerland North","Switzerland West","Germany West Central","Australia - Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway - East","Norway West","France South","South India","Jio India Central","Jio - India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '12146' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:13:57 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", "properties": {"publicNetworkAccessForIngestion": - "Enabled", "publicNetworkAccessForQuery": "Enabled"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - Content-Length: - - '126' - Content-Type: - - application/json - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview - response: - body: - string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"8d0b585e-09fc-4412-aff4-6077f9dd4062\",\r\n \"provisioningState\": \"Creating\",\r\n - \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 23:14:01 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n - \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n - \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n - \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Sat, 07 May 2022 11:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n - \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 23:14:01 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 23:14:01 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n - \ \"location\": \"eastus\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '1105' - content-type: - - application/json - date: - - Fri, 06 May 2022 23:14:01 GMT - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - x-powered-by: - - ASP.NET - - ASP.NET - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview - response: - body: - string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"8d0b585e-09fc-4412-aff4-6077f9dd4062\",\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 23:14:01 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n - \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n - \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n - \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Sat, 07 May 2022 11:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n - \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 23:14:01 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 23:14:03 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n - \ \"location\": \"eastus\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '1106' - content-type: - - application/json - date: - - Fri, 06 May 2022 23:14:31 GMT - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 - response: - body: - string: "{\r\n \"primarySharedKey\": \"IopK9YHNoy6GhgwHMyM24hzzIxtFxOcjL+VAoJMtgw2TJjQMocZtIZDMvhmXTcAXPYLDzKioiqjeKae4CqbKbQ==\",\r\n - \ \"secondarySharedKey\": \"wJ81NXSGiVx/fPOD33A6fawvzax5zSEzMA8mceWw80WJitTd2wa1JePyR8X5vBh0DvPf7Lw5IasQuNv8dTrpkw==\"\r\n}" - headers: - cache-control: - - no-cache - cachecontrol: - - no-cache - content-length: - - '235' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:14:34 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-ams-apiversion: - - WebAPI1.0 - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - x-powered-by: - - ASP.NET - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": - null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": - {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": - "8d0b585e-09fc-4412-aff4-6077f9dd4062", "sharedKey": "IopK9YHNoy6GhgwHMyM24hzzIxtFxOcjL+VAoJMtgw2TJjQMocZtIZDMvhmXTcAXPYLDzKioiqjeKae4CqbKbQ=="}}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - Content-Length: - - '399' - Content-Type: - - application/json - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/d12239e5-d056-40d2-a549-06bf08b92e45?api-version=2022-01-01-preview&azureAsyncOperation=true - cache-control: - - no-cache - content-length: - - '792' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:14:37 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-async-operation-timeout: - - PT15M - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - x-powered-by: - - ASP.NET - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '790' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:14:38 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '790' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:14:40 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '790' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:14:44 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '790' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:14:46 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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '790' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:14:48 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '790' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:14: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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '790' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:14:54 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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '790' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:14:57 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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '790' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:14:59 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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '790' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:15:02 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '790' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:15: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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '790' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:15: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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '790' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:15: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: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '790' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:15: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-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '792' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:15:15 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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","Canada Central","West Europe","North - Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '2737' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:15:15 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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:14:36.7942792","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:14:36.7942792"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wittymushroom-356ba1d0.eastus.azurecontainerapps.io","staticIp":"20.121.85.104","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8d0b585e-09fc-4412-aff4-6077f9dd4062"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '792' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:15:16 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","Canada Central","West Europe","North - Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '2737' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:15:15 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", "identity": {"type": "None", "userAssignedIdentities": - null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", - "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": - {"fqdn": null, "external": false, "targetPort": 3000, "transport": "auto", "traffic": - null, "customDomains": null}, "dapr": null, "registries": null}, "template": - {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", - "name": "foo", "command": null, "args": null, "env": null, "resources": {"cpu": - "1.25", "memory": "2.5Gi"}, "volumeMounts": null}], "scale": null, "volumes": - null}}, "tags": null}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - Content-Length: - - '821' - Content-Type: - - application/json - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:15:17.789165Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:15:17.789165Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.215.247","52.226.215.248","52.226.215.220"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.wittymushroom-356ba1d0.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/02d8d5f9-0b64-4b86-a502-71191ae2758e?api-version=2022-01-01-preview&azureAsyncOperation=true - cache-control: - - no-cache - content-length: - - '1375' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:15:19 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-writes: - - '1197' - x-powered-by: - - ASP.NET - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:15:17.789165","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:15:17.789165"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.215.247","52.226.215.248","52.226.215.220"],"latestRevisionName":"foo--9owjvao","latestRevisionFqdn":"foo--9owjvao.internal.wittymushroom-356ba1d0.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.wittymushroom-356ba1d0.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1458' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:15:20 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:15:17.789165","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:15:17.789165"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.215.247","52.226.215.248","52.226.215.220"],"latestRevisionName":"foo--9owjvao","latestRevisionFqdn":"foo--9owjvao.internal.wittymushroom-356ba1d0.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.wittymushroom-356ba1d0.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1458' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:15:22 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:15:17.789165","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:15:17.789165"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.215.247","52.226.215.248","52.226.215.220"],"latestRevisionName":"foo--9owjvao","latestRevisionFqdn":"foo--9owjvao.internal.wittymushroom-356ba1d0.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.wittymushroom-356ba1d0.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1457' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:15:24 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -version: 1 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_environment.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_environment.yaml index cb637227a97..819dc446e39 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_environment.yaml +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_environment.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:44:05Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T16:48:40Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:44:06 GMT + - Fri, 13 May 2022 16:48:41 GMT expires: - '-1' pragma: @@ -57,7 +57,7 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' @@ -71,7 +71,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:44:06 GMT + - Fri, 13 May 2022 16:48:40 GMT expires: - '-1' pragma: @@ -104,7 +104,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:44:05Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T16:48:40Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -113,7 +113,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:44:06 GMT + - Fri, 13 May 2022 16:48:41 GMT expires: - '-1' pragma: @@ -175,7 +175,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:44:07 GMT + - Fri, 13 May 2022 16:48:41 GMT expires: - '-1' pragma: @@ -237,7 +237,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:44:06 GMT + - Fri, 13 May 2022 16:48:41 GMT expires: - '-1' pragma: @@ -390,7 +390,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:44:06 GMT + - Fri, 13 May 2022 16:48:41 GMT expires: - '-1' pragma: @@ -543,7 +543,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:44:06 GMT + - Fri, 13 May 2022 16:48:41 GMT expires: - '-1' pragma: @@ -582,16 +582,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e\",\r\n \"provisioningState\": \"Creating\",\r\n + \"125fe770-6c4a-45f8-89ac-957ff402dd87\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 22:44:10 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 16:48:43 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Sat, 07 May 2022 19:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Fri, 13 May 2022 23:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:44:10 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 22:44:10 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:48:43 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 16:48:43 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -603,7 +603,7 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 22:44:09 GMT + - Fri, 13 May 2022 16:48:43 GMT pragma: - no-cache server: @@ -641,16 +641,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"125fe770-6c4a-45f8-89ac-957ff402dd87\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 22:44:10 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 16:48:43 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Sat, 07 May 2022 19:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Fri, 13 May 2022 23:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:44:10 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 22:44:11 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:48:43 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 16:48:44 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -662,7 +662,7 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 22:44:40 GMT + - Fri, 13 May 2022 16:49:13 GMT pragma: - no-cache server: @@ -703,8 +703,8 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 response: body: - string: "{\r\n \"primarySharedKey\": \"kFS1vudYo4BBLOOrsQQVQ0rlaY1YipbqbD7hkrVAH1oyjev+HoJzhxMdGLnom/BwEjxMKp38l4+WRdw8eM1RFQ==\",\r\n - \ \"secondarySharedKey\": \"Dm/WZjPvXK/bftDlbw8/xJMOftFDeVL8X8nRc7RWBoy5yiXTHnAWZQFbXGTGeWamn57dfTj5R2CZ03rZxsqypw==\"\r\n}" + string: "{\r\n \"primarySharedKey\": \"tJ/H9MiidN6Fyt7mdFnLW0GPivFWiPYyYGDWyQS/5V76iRzYpsR/9aajHVAxPFNDE6sM2imLtz4U1rbPRwLFZA==\",\r\n + \ \"secondarySharedKey\": \"fM+DcjsaVTIQYAcTvbcU4NX8BwiWcaA4j21EfgnOHwXF+1SsYygc8LlMuhApIWroQuveDpCaZM+vdGRnclBMYA==\"\r\n}" headers: cache-control: - no-cache @@ -715,7 +715,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:44:42 GMT + - Fri, 13 May 2022 16:49:13 GMT expires: - '-1' pragma: @@ -734,7 +734,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1185' x-powered-by: - ASP.NET - ASP.NET @@ -745,7 +745,7 @@ interactions: body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": - "3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e", "sharedKey": "kFS1vudYo4BBLOOrsQQVQ0rlaY1YipbqbD7hkrVAH1oyjev+HoJzhxMdGLnom/BwEjxMKp38l4+WRdw8eM1RFQ=="}}}}' + "125fe770-6c4a-45f8-89ac-957ff402dd87", "sharedKey": "tJ/H9MiidN6Fyt7mdFnLW0GPivFWiPYyYGDWyQS/5V76iRzYpsR/9aajHVAxPFNDE6sM2imLtz4U1rbPRwLFZA=="}}}}' headers: Accept: - '*/*' @@ -764,23 +764,23 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/c1549cf0-fd7e-4566-9d68-9db9b6c8195e?api-version=2022-01-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/96914aea-5bc5-49bb-946c-cb1eda971e4c?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '786' + - '816' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:44:45 GMT + - Fri, 13 May 2022 16:49:14 GMT expires: - '-1' pragma: @@ -793,8 +793,8 @@ interactions: - nosniff x-ms-async-operation-timeout: - PT15M - x-ms-ratelimit-remaining-subscription-writes: - - '1199' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '86' x-powered-by: - ASP.NET status: @@ -816,21 +816,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:44:46 GMT + - Fri, 13 May 2022 16:49:14 GMT expires: - '-1' pragma: @@ -866,21 +866,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:44:48 GMT + - Fri, 13 May 2022 16:49:15 GMT expires: - '-1' pragma: @@ -916,21 +916,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:44:52 GMT + - Fri, 13 May 2022 16:49:18 GMT expires: - '-1' pragma: @@ -966,21 +966,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:44:54 GMT + - Fri, 13 May 2022 16:49:20 GMT expires: - '-1' pragma: @@ -1016,21 +1016,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:44:57 GMT + - Fri, 13 May 2022 16:49:22 GMT expires: - '-1' pragma: @@ -1066,21 +1066,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:44:59 GMT + - Fri, 13 May 2022 16:49:24 GMT expires: - '-1' pragma: @@ -1116,21 +1116,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:45:01 GMT + - Fri, 13 May 2022 16:49:26 GMT expires: - '-1' pragma: @@ -1166,21 +1166,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:45:05 GMT + - Fri, 13 May 2022 16:49:28 GMT expires: - '-1' pragma: @@ -1216,21 +1216,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:45:07 GMT + - Fri, 13 May 2022 16:49:31 GMT expires: - '-1' pragma: @@ -1266,21 +1266,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:45:10 GMT + - Fri, 13 May 2022 16:49:32 GMT expires: - '-1' pragma: @@ -1316,21 +1316,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:45:13 GMT + - Fri, 13 May 2022 16:49:35 GMT expires: - '-1' pragma: @@ -1366,21 +1366,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:45:16 GMT + - Fri, 13 May 2022 16:49:37 GMT expires: - '-1' pragma: @@ -1416,21 +1416,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:45:18 GMT + - Fri, 13 May 2022 16:49:39 GMT expires: - '-1' pragma: @@ -1466,21 +1466,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:45:21 GMT + - Fri, 13 May 2022 16:49:42 GMT expires: - '-1' pragma: @@ -1516,21 +1516,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:45:23 GMT + - Fri, 13 May 2022 16:49:44 GMT expires: - '-1' pragma: @@ -1566,21 +1566,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:45:26 GMT + - Fri, 13 May 2022 16:49:46 GMT expires: - '-1' pragma: @@ -1616,21 +1616,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Succeeded","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '786' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:45:29 GMT + - Fri, 13 May 2022 16:49:48 GMT expires: - '-1' pragma: @@ -1654,7 +1654,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1664,51 +1664,39 @@ interactions: ParameterSetName: - --compose-file-path --resource-group --environment --logs-workspace User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","Canada Central","West Europe","North - Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '2737' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:45:30 GMT + - Fri, 13 May 2022 16:49:50 GMT expires: - '-1' pragma: - no-cache + server: + - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked vary: - - Accept-Encoding + - Accept-Encoding,Accept-Encoding x-content-type-options: - nosniff + x-powered-by: + - ASP.NET status: code: 200 message: OK @@ -1728,21 +1716,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:44:45.2657704","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:44:45.2657704"},"properties":{"provisioningState":"Succeeded","defaultDomain":"mangomoss-4963209b.eastus.azurecontainerapps.io","staticIp":"20.81.60.86","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3fbb7f8e-e58f-404e-8c27-4d9cdce00d6e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '786' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:45:30 GMT + - Fri, 13 May 2022 16:49:52 GMT expires: - '-1' pragma: @@ -1766,7 +1754,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1776,64 +1764,44 @@ interactions: ParameterSetName: - --compose-file-path --resource-group --environment --logs-workspace User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","Canada Central","West Europe","North - Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '2737' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:45:30 GMT + - Fri, 13 May 2022 16:49:54 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,Accept-Encoding x-content-type-options: - nosniff + x-powered-by: + - ASP.NET status: code: 200 message: OK - request: - body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": - null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", - "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": - null, "dapr": null, "registries": null}, "template": {"revisionSuffix": null, - "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", "name": - "foo", "command": ["/code/entrypoint.sh"], "args": ["echo \"hello world\""], - "env": [{"name": "RACK_ENV", "value": "development"}, {"name": "SHOW", "value": - "true"}, {"name": "BAZ", "value": "\"snafu\""}], "resources": null, "volumeMounts": - null}], "scale": null, "volumes": null}}, "tags": null}' + body: null headers: Accept: - '*/*' @@ -1843,34 +1811,26 @@ interactions: - containerapp compose create Connection: - keep-alive - Content-Length: - - '836' - Content-Type: - - application/json ParameterSetName: - --compose-file-path --resource-group --environment --logs-workspace User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:45:33.4456626Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:45:33.4456626Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.104.198","20.121.104.206","52.226.244.206"],"latestRevisionName":"foo--ksq1o0e","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/6ef6ff44-a124-4a2d-b191-abf1df5ab263?api-version=2022-01-01-preview&azureAsyncOperation=true cache-control: - no-cache content-length: - - '1357' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:45:37 GMT + - Fri, 13 May 2022 16:49:56 GMT expires: - '-1' pragma: @@ -1879,17 +1839,967 @@ interactions: - 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-async-operation-timeout: - - PT15M - x-ms-ratelimit-remaining-subscription-writes: - - '1199' x-powered-by: - ASP.NET status: - code: 201 - message: Created + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '814' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:49:59 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '814' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:50:00 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Succeeded","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '816' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:50:02 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:50:07 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Succeeded","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '816' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:50: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:50:07 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", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": + null, "dapr": null, "registries": null}, "template": {"revisionSuffix": null, + "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", "name": + "foo", "command": null, "args": null, "env": [{"name": "RACK_ENV", "value": + "development"}, {"name": "SHOW", "value": "true"}, {"name": "BAZ", "value": + "\"snafu\""}], "resources": null, "volumeMounts": null}], "scale": null, "volumes": + null}}, "tags": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '797' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/00be5dc3-8ad0-4a69-99ab-da505e3d1dca?api-version=2022-03-01&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1280' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:50:09 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-async-operation-timeout: + - PT15M + x-ms-ratelimit-remaining-subscription-resource-requests: + - '499' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1290' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:50: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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1290' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:50:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1290' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:50: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1290' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:50:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1290' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:50:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1290' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:50:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1290' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:50:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1290' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:50:25 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1290' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:50:27 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1290' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:50:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1290' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:50:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK - request: body: null headers: @@ -1906,23 +2816,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:45:33.4456626","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:45:33.4456626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.104.198","20.121.104.206","52.226.244.206"],"latestRevisionName":"foo--ksq1o0e","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1355' + - '1290' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:45:37 GMT + - Fri, 13 May 2022 16:50:34 GMT expires: - '-1' pragma: @@ -1958,23 +2867,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:45:33.4456626","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:45:33.4456626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.104.198","20.121.104.206","52.226.244.206"],"latestRevisionName":"foo--ksq1o0e","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1355' + - '1290' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:45:40 GMT + - Fri, 13 May 2022 16:50:36 GMT expires: - '-1' pragma: @@ -2010,23 +2918,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:45:33.4456626","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:45:33.4456626"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.104.198","20.121.104.206","52.226.244.206"],"latestRevisionName":"foo--ksq1o0e","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1354' + - '1289' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:45:43 GMT + - Fri, 13 May 2022 16:50:38 GMT expires: - '-1' pragma: diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_environment_prompt.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_environment_prompt.yaml index 7dc322aba16..8015f839847 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_environment_prompt.yaml +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_environment_prompt.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:42:39Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T16:50:39Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:42:40 GMT + - Fri, 13 May 2022 16:50:40 GMT expires: - '-1' pragma: @@ -57,7 +57,7 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' @@ -71,7 +71,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:42:40 GMT + - Fri, 13 May 2022 16:50:39 GMT expires: - '-1' pragma: @@ -104,7 +104,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:42:39Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T16:50:39Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -113,7 +113,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:42:40 GMT + - Fri, 13 May 2022 16:50:40 GMT expires: - '-1' pragma: @@ -175,7 +175,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:42:40 GMT + - Fri, 13 May 2022 16:50:39 GMT expires: - '-1' pragma: @@ -237,7 +237,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:42:40 GMT + - Fri, 13 May 2022 16:50:40 GMT expires: - '-1' pragma: @@ -390,7 +390,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:42:40 GMT + - Fri, 13 May 2022 16:50:40 GMT expires: - '-1' pragma: @@ -543,7 +543,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:42:40 GMT + - Fri, 13 May 2022 16:50:40 GMT expires: - '-1' pragma: @@ -582,16 +582,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"94a70844-0d33-4c94-9ea6-b60bff7ef188\",\r\n \"provisioningState\": \"Creating\",\r\n + \"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 22:42:45 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 16:50:42 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Sat, 07 May 2022 15:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Sat, 14 May 2022 06:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:42:44 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 22:42:44 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:50:42 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 16:50:42 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -603,7 +603,7 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 22:42:46 GMT + - Fri, 13 May 2022 16:50:42 GMT pragma: - no-cache server: @@ -641,16 +641,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"94a70844-0d33-4c94-9ea6-b60bff7ef188\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 22:42:45 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 16:50:42 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Sat, 07 May 2022 15:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Sat, 14 May 2022 06:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:42:45 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 22:42:47 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:50:42 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 16:50:44 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -662,7 +662,7 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 22:43:16 GMT + - Fri, 13 May 2022 16:51:12 GMT pragma: - no-cache server: @@ -703,8 +703,8 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 response: body: - string: "{\r\n \"primarySharedKey\": \"k6tOQoNGMKvUTBGp5uoCbMBYfv/1/eWHKd3JQ7m1p7PKyXYfh+yD38722Alg9ZpCvQr3uPKjuS32K7WgDlyxzw==\",\r\n - \ \"secondarySharedKey\": \"wRyMo8yk37hhJZqn0TJiFo4NxjOIIbvo/ybegC6kcXqowhtkjdeO8sJJcqcJ5YlC3wuORurn8dWU6WPrhXraSg==\"\r\n}" + string: "{\r\n \"primarySharedKey\": \"jgJ5GNmYas7WpSwE5y89/diY3PNaSqSHZgo4clmyNPkOu/bTJGcGDrOQGqgliqLIN2kDgYAVSanpzPwDR1+0jg==\",\r\n + \ \"secondarySharedKey\": \"lIZ1E+hDUCClagvX+ekS1/VG+doYWdnX5GQPi9kmYSEnj/hACdy7VaZLMOlCEenFU7usuRGdQ3EpNYJK4w3VcA==\"\r\n}" headers: cache-control: - no-cache @@ -715,7 +715,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:43:16 GMT + - Fri, 13 May 2022 16:51:12 GMT expires: - '-1' pragma: @@ -734,7 +734,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1186' x-powered-by: - ASP.NET - ASP.NET @@ -745,7 +745,7 @@ interactions: body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": - "94a70844-0d33-4c94-9ea6-b60bff7ef188", "sharedKey": "k6tOQoNGMKvUTBGp5uoCbMBYfv/1/eWHKd3JQ7m1p7PKyXYfh+yD38722Alg9ZpCvQr3uPKjuS32K7WgDlyxzw=="}}}}' + "3db62671-1a6c-4c9f-a2cd-57c14c36ccd1", "sharedKey": "jgJ5GNmYas7WpSwE5y89/diY3PNaSqSHZgo4clmyNPkOu/bTJGcGDrOQGqgliqLIN2kDgYAVSanpzPwDR1+0jg=="}}}}' headers: Accept: - '*/*' @@ -764,23 +764,23 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0f80eeab-9e06-44fd-a527-bc9daec303aa?api-version=2022-01-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/1a566309-2c77-4382-8e4a-751dab9eb0de?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '790' + - '816' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:43:19 GMT + - Fri, 13 May 2022 16:51:13 GMT expires: - '-1' pragma: @@ -793,8 +793,8 @@ interactions: - nosniff x-ms-async-operation-timeout: - PT15M - x-ms-ratelimit-remaining-subscription-writes: - - '1199' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '87' x-powered-by: - ASP.NET status: @@ -816,21 +816,121 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '814' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:51: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '814' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:51:15 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:43:20 GMT + - Fri, 13 May 2022 16:51:17 GMT expires: - '-1' pragma: @@ -866,21 +966,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:43:23 GMT + - Fri, 13 May 2022 16:51:21 GMT expires: - '-1' pragma: @@ -916,21 +1016,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:43:25 GMT + - Fri, 13 May 2022 16:51:23 GMT expires: - '-1' pragma: @@ -966,21 +1066,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:43:28 GMT + - Fri, 13 May 2022 16:51:25 GMT expires: - '-1' pragma: @@ -1016,21 +1116,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:43:31 GMT + - Fri, 13 May 2022 16:51:27 GMT expires: - '-1' pragma: @@ -1066,21 +1166,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:43:33 GMT + - Fri, 13 May 2022 16:51:29 GMT expires: - '-1' pragma: @@ -1116,21 +1216,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:43:36 GMT + - Fri, 13 May 2022 16:51:31 GMT expires: - '-1' pragma: @@ -1166,21 +1266,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:43:39 GMT + - Fri, 13 May 2022 16:51:34 GMT expires: - '-1' pragma: @@ -1216,21 +1316,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:43:42 GMT + - Fri, 13 May 2022 16:51:36 GMT expires: - '-1' pragma: @@ -1266,21 +1366,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:43:44 GMT + - Fri, 13 May 2022 16:51:38 GMT expires: - '-1' pragma: @@ -1316,21 +1416,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:43:47 GMT + - Fri, 13 May 2022 16:51:40 GMT expires: - '-1' pragma: @@ -1366,21 +1466,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:43:50 GMT + - Fri, 13 May 2022 16:51:42 GMT expires: - '-1' pragma: @@ -1416,21 +1516,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:43:53 GMT + - Fri, 13 May 2022 16:51:45 GMT expires: - '-1' pragma: @@ -1466,21 +1566,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:43:55 GMT + - Fri, 13 May 2022 16:51:47 GMT expires: - '-1' pragma: @@ -1516,21 +1616,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:43:57 GMT + - Fri, 13 May 2022 16:51:49 GMT expires: - '-1' pragma: @@ -1566,21 +1666,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Waiting","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:44:00 GMT + - Fri, 13 May 2022 16:51:51 GMT expires: - '-1' pragma: @@ -1616,21 +1716,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:43:19.5480938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:43:19.5480938"},"properties":{"provisioningState":"Succeeded","defaultDomain":"bluemushroom-d6b7b17b.eastus.azurecontainerapps.io","staticIp":"20.127.250.3","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"94a70844-0d33-4c94-9ea6-b60bff7ef188"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Succeeded","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '816' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:44:02 GMT + - Fri, 13 May 2022 16:51:53 GMT expires: - '-1' pragma: diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_ingress_both.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_ingress_both.yaml new file mode 100644 index 00000000000..d61df5c06a1 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_ingress_both.yaml @@ -0,0 +1,2603 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T16:55:02Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:55:02 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + under resource group ''cli_test_containerapp_preview000001'' was not found. + For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '267' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:55:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T16:55:02Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:55:02 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:55:03 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:55:02 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:55:03 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:55:02 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", "properties": {"publicNetworkAccessForIngestion": + "Enabled", "publicNetworkAccessForQuery": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '126' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"23cd1b1a-add2-4857-a813-97a1f7df85b9\",\r\n \"provisioningState\": \"Creating\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 13 May 2022 16:55:05 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Fri, 13 May 2022 21:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:55:05 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 16:55:05 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1105' + content-type: + - application/json + date: + - Fri, 13 May 2022 16:55:04 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"23cd1b1a-add2-4857-a813-97a1f7df85b9\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 13 May 2022 16:55:05 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Fri, 13 May 2022 21:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:55:05 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 16:55:06 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1106' + content-type: + - application/json + date: + - Fri, 13 May 2022 16:55:34 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + response: + body: + string: "{\r\n \"primarySharedKey\": \"blenRGDk8GyaQbwUOZtxL+ThhNr0w5Rib2j70dYBtfVJh3af3r8hB2GopMW+ZvNlsiwa2yBtB4EaF0w8M0aWHw==\",\r\n + \ \"secondarySharedKey\": \"rvfifcZ+/INp0QV+Av8C/JqSh9Gz8FGRA8H9Wx1sGq4TIG6XOssd7xVLTV/tqTMbeV+bY9atPhQbsQJH00e37g==\"\r\n}" + headers: + cache-control: + - no-cache + cachecontrol: + - no-cache + content-length: + - '235' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:55:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ams-apiversion: + - WebAPI1.0 + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1188' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": + {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": + "23cd1b1a-add2-4857-a813-97a1f7df85b9", "sharedKey": "blenRGDk8GyaQbwUOZtxL+ThhNr0w5Rib2j70dYBtfVJh3af3r8hB2GopMW+ZvNlsiwa2yBtB4EaF0w8M0aWHw=="}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '399' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/fc3c9043-e5e9-464c-91f2-37f8777b0d8f?api-version=2022-03-01&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '814' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:55:37 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-async-operation-timeout: + - PT15M + x-ms-ratelimit-remaining-subscription-resource-requests: + - '88' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:55:37 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:55:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:55: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:55:43 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:55: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:55:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:55:49 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:55:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:55:54 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:55: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:55:58 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:56: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:56:02 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:56: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:56:06 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:56: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:56:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:56: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Succeeded","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '814' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:56:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:56:15 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Succeeded","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '814' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:56:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:56:15 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", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": + {"fqdn": null, "external": true, "targetPort": "3000", "transport": "auto", + "traffic": null, "customDomains": null}, "dapr": null, "registries": null}, + "template": {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", + "name": "foo", "command": null, "args": null, "env": null, "resources": null, + "volumeMounts": null}], "scale": null, "volumes": null}}, "tags": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '792' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/bf878775-e697-497e-a9c5-bf5a4238769c?api-version=2022-03-01&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1335' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:56:17 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: + - '497' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1429' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:56:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1429' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:56:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1429' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:56:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1429' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:56:25 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1429' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:56:27 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1429' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:56:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1429' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:56:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1429' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:56:34 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1429' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:56: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1429' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:56:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1429' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:56:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1428' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:56:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_ingress_external.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_ingress_external.yaml new file mode 100644 index 00000000000..9f712a0bcc6 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_ingress_external.yaml @@ -0,0 +1,2399 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T16:51:54Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:51:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + under resource group ''cli_test_containerapp_preview000001'' was not found. + For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '267' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:51:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T16:51:54Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:51:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:51:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:51:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:51:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:51:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"publicNetworkAccessForIngestion": + "Enabled", "publicNetworkAccessForQuery": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '126' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"8764bbc3-e1dd-49a9-89d8-0d3257d62283\",\r\n \"provisioningState\": \"Creating\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 13 May 2022 16:51:57 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 14 May 2022 04:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:51:57 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 16:51:57 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1105' + content-type: + - application/json + date: + - Fri, 13 May 2022 16:51:56 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"8764bbc3-e1dd-49a9-89d8-0d3257d62283\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 13 May 2022 16:51:57 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 14 May 2022 04:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:51:57 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 16:51:58 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1106' + content-type: + - application/json + date: + - Fri, 13 May 2022 16:52:26 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + response: + body: + string: "{\r\n \"primarySharedKey\": \"SIg94ER74W7MXIjoBHgGyqMhI2DiSjHFqzdLlpDYG691PTs23B4sS7CQAbsPg7FySEc78K1EDuq5Q/s0EIbutA==\",\r\n + \ \"secondarySharedKey\": \"IwiZNEe99/y/k+V5D2kaf8amzWG9Ts+U96O0fbkxa8W8zXmCe2qH1mqOm5IGHK7QCR/hfNsK+2+6msJtdxPJGw==\"\r\n}" + headers: + cache-control: + - no-cache + cachecontrol: + - no-cache + content-length: + - '235' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:52:27 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ams-apiversion: + - WebAPI1.0 + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1194' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": + {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": + "8764bbc3-e1dd-49a9-89d8-0d3257d62283", "sharedKey": "SIg94ER74W7MXIjoBHgGyqMhI2DiSjHFqzdLlpDYG691PTs23B4sS7CQAbsPg7FySEc78K1EDuq5Q/s0EIbutA=="}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '399' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/ed8efada-0e78-4554-aa6c-0c2afbffecf2?api-version=2022-03-01&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:52:29 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: + - '95' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '813' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:52:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '813' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:52:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '813' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:52: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '813' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:52:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '813' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:52:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '813' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:52:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '813' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:52: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '813' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:52:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '813' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:52: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '813' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:52:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '813' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:52:50 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '813' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:52:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '813' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:52:54 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '813' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:52:57 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '813' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:52:58 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '813' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:53:00 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '813' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:53:02 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '813' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:53:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Succeeded","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:53: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:53:07 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Succeeded","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:53: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:53:08 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", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": + {"fqdn": null, "external": true, "targetPort": "80", "transport": "auto", "traffic": + null, "customDomains": null}, "dapr": null, "registries": null}, "template": + {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", + "name": "foo", "command": null, "args": null, "env": null, "resources": null, + "volumeMounts": null}], "scale": null, "volumes": null}}, "tags": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '790' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:08.5013952Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:08.5013952Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.120.72.234","20.120.72.246","20.120.73.1"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowbeach-c673937d.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/a6b491ec-ba49-4522-9b60-b307f2133986?api-version=2022-03-01&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1359' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:53:09 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-async-operation-timeout: + - PT15M + x-ms-ratelimit-remaining-subscription-resource-requests: + - '499' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:08.5013952","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:08.5013952"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.120.72.234","20.120.72.246","20.120.73.1"],"latestRevisionName":"foo--a6jqg6y","latestRevisionFqdn":"foo--a6jqg6y.yellowbeach-c673937d.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowbeach-c673937d.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1431' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:53: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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:08.5013952","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:08.5013952"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.120.72.234","20.120.72.246","20.120.73.1"],"latestRevisionName":"foo--a6jqg6y","latestRevisionFqdn":"foo--a6jqg6y.yellowbeach-c673937d.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowbeach-c673937d.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1431' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:53: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:08.5013952","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:08.5013952"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.120.72.234","20.120.72.246","20.120.73.1"],"latestRevisionName":"foo--a6jqg6y","latestRevisionFqdn":"foo--a6jqg6y.yellowbeach-c673937d.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowbeach-c673937d.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1431' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:53:15 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:08.5013952","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:08.5013952"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.120.72.234","20.120.72.246","20.120.73.1"],"latestRevisionName":"foo--a6jqg6y","latestRevisionFqdn":"foo--a6jqg6y.yellowbeach-c673937d.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowbeach-c673937d.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1431' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:53:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:08.5013952","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:08.5013952"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.120.72.234","20.120.72.246","20.120.73.1"],"latestRevisionName":"foo--a6jqg6y","latestRevisionFqdn":"foo--a6jqg6y.yellowbeach-c673937d.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowbeach-c673937d.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1431' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:53:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:08.5013952","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:08.5013952"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.120.72.234","20.120.72.246","20.120.73.1"],"latestRevisionName":"foo--a6jqg6y","latestRevisionFqdn":"foo--a6jqg6y.yellowbeach-c673937d.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowbeach-c673937d.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1431' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:53:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:08.5013952","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:08.5013952"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.120.72.234","20.120.72.246","20.120.73.1"],"latestRevisionName":"foo--a6jqg6y","latestRevisionFqdn":"foo--a6jqg6y.yellowbeach-c673937d.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowbeach-c673937d.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1431' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:53:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:08.5013952","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:08.5013952"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.120.72.234","20.120.72.246","20.120.73.1"],"latestRevisionName":"foo--a6jqg6y","latestRevisionFqdn":"foo--a6jqg6y.yellowbeach-c673937d.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowbeach-c673937d.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1430' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:53:25 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_cpus.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_ingress_internal.yaml similarity index 78% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_cpus.yaml rename to src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_ingress_internal.yaml index 275a32be8ca..e8e703aac49 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_cpus.yaml +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_ingress_internal.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T23:10:13Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T16:53:26Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:10:14 GMT + - Fri, 13 May 2022 16:53:26 GMT expires: - '-1' pragma: @@ -57,7 +57,7 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' @@ -71,7 +71,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:10:15 GMT + - Fri, 13 May 2022 16:53:27 GMT expires: - '-1' pragma: @@ -104,7 +104,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T23:10:13Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T16:53:26Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -113,7 +113,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:10:15 GMT + - Fri, 13 May 2022 16:53:27 GMT expires: - '-1' pragma: @@ -175,7 +175,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:10:14 GMT + - Fri, 13 May 2022 16:53:26 GMT expires: - '-1' pragma: @@ -237,7 +237,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:10:15 GMT + - Fri, 13 May 2022 16:53:26 GMT expires: - '-1' pragma: @@ -390,7 +390,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:10:15 GMT + - Fri, 13 May 2022 16:53:27 GMT expires: - '-1' pragma: @@ -543,7 +543,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:10:15 GMT + - Fri, 13 May 2022 16:53:27 GMT expires: - '-1' pragma: @@ -582,16 +582,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"21838e32-502f-466e-b1e4-29f33144bdc7\",\r\n \"provisioningState\": \"Creating\",\r\n + \"aa11c901-ef70-4254-af17-5630822c7475\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 23:10:20 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 16:53:28 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Sat, 07 May 2022 11:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Sat, 14 May 2022 01:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 23:10:20 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 23:10:20 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:53:28 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 16:53:28 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -603,7 +603,7 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 23:10:20 GMT + - Fri, 13 May 2022 16:53:27 GMT pragma: - no-cache server: @@ -614,7 +614,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET - ASP.NET @@ -641,16 +641,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"21838e32-502f-466e-b1e4-29f33144bdc7\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"aa11c901-ef70-4254-af17-5630822c7475\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 23:10:20 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 16:53:28 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Sat, 07 May 2022 11:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Sat, 14 May 2022 01:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 23:10:20 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 23:10:21 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:53:28 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 16:53:29 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -662,7 +662,7 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 23:10:51 GMT + - Fri, 13 May 2022 16:53:58 GMT pragma: - no-cache server: @@ -703,8 +703,8 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 response: body: - string: "{\r\n \"primarySharedKey\": \"unIYQFIgQdAnNm7Bzn0r1unTjfhwdwlMlsWVey81o14DXobbsY9OdxW6V/bW1NC4Q3oCjhOavLQGZiEMhpTnEg==\",\r\n - \ \"secondarySharedKey\": \"ylfYwdpNZ0gsNwA7+y6Y/QUYMURiIgLzEA8y8XOoOBJMx1gMiojdQvkzsbgcQRN5HxWPGSp6qfIQAi/O1Zac0Q==\"\r\n}" + string: "{\r\n \"primarySharedKey\": \"vK1TJRcWfUqxJKxuyzj3f9j7FYENDqKAM4uVmW8vIRKpd6mPKcA9yw8xzAe5MfilnlpCq4YmwRgmJ/d0Ek0ynw==\",\r\n + \ \"secondarySharedKey\": \"FdPOvebN9kpgYLU62u7Mxu0JV8aQLjA7cVEMpIzz/LR5NOSLzbi1VoQZems81Q+lWld/bwZQbZXXOZP89WRA9w==\"\r\n}" headers: cache-control: - no-cache @@ -715,7 +715,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:10:52 GMT + - Fri, 13 May 2022 16:53:58 GMT expires: - '-1' pragma: @@ -734,7 +734,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1193' x-powered-by: - ASP.NET - ASP.NET @@ -745,7 +745,7 @@ interactions: body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": - "21838e32-502f-466e-b1e4-29f33144bdc7", "sharedKey": "unIYQFIgQdAnNm7Bzn0r1unTjfhwdwlMlsWVey81o14DXobbsY9OdxW6V/bW1NC4Q3oCjhOavLQGZiEMhpTnEg=="}}}}' + "aa11c901-ef70-4254-af17-5630822c7475", "sharedKey": "vK1TJRcWfUqxJKxuyzj3f9j7FYENDqKAM4uVmW8vIRKpd6mPKcA9yw8xzAe5MfilnlpCq4YmwRgmJ/d0Ek0ynw=="}}}}' headers: Accept: - '*/*' @@ -764,23 +764,23 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/7288eae7-0a4c-4ca0-b535-d2ef114973a4?api-version=2022-01-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/c652389a-5bc3-4219-a12a-11278ca20d3d?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '788' + - '815' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:10:55 GMT + - Fri, 13 May 2022 16:54:00 GMT expires: - '-1' pragma: @@ -793,8 +793,8 @@ interactions: - nosniff x-ms-async-operation-timeout: - PT15M - x-ms-ratelimit-remaining-subscription-writes: - - '1199' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99' x-powered-by: - ASP.NET status: @@ -816,21 +816,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '786' + - '813' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:10:55 GMT + - Fri, 13 May 2022 16:54:00 GMT expires: - '-1' pragma: @@ -866,21 +866,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '786' + - '813' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:10:59 GMT + - Fri, 13 May 2022 16:54:02 GMT expires: - '-1' pragma: @@ -916,21 +916,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '786' + - '813' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:11:01 GMT + - Fri, 13 May 2022 16:54:04 GMT expires: - '-1' pragma: @@ -966,21 +966,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '786' + - '813' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:11:04 GMT + - Fri, 13 May 2022 16:54:06 GMT expires: - '-1' pragma: @@ -1016,21 +1016,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '786' + - '813' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:11:06 GMT + - Fri, 13 May 2022 16:54:08 GMT expires: - '-1' pragma: @@ -1066,21 +1066,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '786' + - '813' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:11:09 GMT + - Fri, 13 May 2022 16:54:11 GMT expires: - '-1' pragma: @@ -1116,21 +1116,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '786' + - '813' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:11:13 GMT + - Fri, 13 May 2022 16:54:12 GMT expires: - '-1' pragma: @@ -1166,21 +1166,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '786' + - '813' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:11:15 GMT + - Fri, 13 May 2022 16:54:15 GMT expires: - '-1' pragma: @@ -1216,21 +1216,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '786' + - '813' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:11:17 GMT + - Fri, 13 May 2022 16:54:22 GMT expires: - '-1' pragma: @@ -1266,21 +1266,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '786' + - '813' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:11:20 GMT + - Fri, 13 May 2022 16:54:24 GMT expires: - '-1' pragma: @@ -1316,21 +1316,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '786' + - '813' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:11:23 GMT + - Fri, 13 May 2022 16:54:26 GMT expires: - '-1' pragma: @@ -1366,21 +1366,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '786' + - '813' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:11:26 GMT + - Fri, 13 May 2022 16:54:28 GMT expires: - '-1' pragma: @@ -1416,21 +1416,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '786' + - '813' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:11:29 GMT + - Fri, 13 May 2022 16:54:30 GMT expires: - '-1' pragma: @@ -1466,21 +1466,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '786' + - '813' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:11:32 GMT + - Fri, 13 May 2022 16:54:32 GMT expires: - '-1' pragma: @@ -1516,21 +1516,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Succeeded","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '813' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:11:34 GMT + - Fri, 13 May 2022 16:54:35 GMT expires: - '-1' pragma: @@ -1554,7 +1554,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1564,51 +1564,39 @@ interactions: ParameterSetName: - --compose-file-path --resource-group --environment --logs-workspace User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","Canada Central","West Europe","North - Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '2737' + - '813' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:11:34 GMT + - Fri, 13 May 2022 16:54:37 GMT expires: - '-1' pragma: - no-cache + server: + - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked vary: - - Accept-Encoding + - Accept-Encoding,Accept-Encoding x-content-type-options: - nosniff + x-powered-by: + - ASP.NET status: code: 200 message: OK @@ -1628,21 +1616,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:10:54.6063097","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:10:54.6063097"},"properties":{"provisioningState":"Succeeded","defaultDomain":"ashyisland-1a2c33b8.eastus.azurecontainerapps.io","staticIp":"20.81.126.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"21838e32-502f-466e-b1e4-29f33144bdc7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '813' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:11:34 GMT + - Fri, 13 May 2022 16:54:39 GMT expires: - '-1' pragma: @@ -1666,7 +1654,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1676,64 +1664,44 @@ interactions: ParameterSetName: - --compose-file-path --resource-group --environment --logs-workspace User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","Canada Central","West Europe","North - Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '2737' + - '813' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:11:34 GMT + - Fri, 13 May 2022 16:54: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,Accept-Encoding x-content-type-options: - nosniff + x-powered-by: + - ASP.NET status: code: 200 message: OK - request: - body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": - null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", - "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": - {"fqdn": null, "external": false, "targetPort": 3000, "transport": "auto", "traffic": - null, "customDomains": null}, "dapr": null, "registries": null}, "template": - {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", - "name": "foo", "command": null, "args": null, "env": null, "resources": {"cpu": - "1.25", "memory": "2.5Gi"}, "volumeMounts": null}], "scale": null, "volumes": - null}}, "tags": null}' + body: null headers: Accept: - '*/*' @@ -1743,33 +1711,26 @@ interactions: - containerapp compose create Connection: - keep-alive - Content-Length: - - '821' - Content-Type: - - application/json ParameterSetName: - --compose-file-path --resource-group --environment --logs-workspace User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:11:37.871405Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:11:37.871405Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.213.53","52.226.213.220","52.226.213.149"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Succeeded","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/6c669c6d-8069-4b2b-9629-46dbe33be231?api-version=2022-01-01-preview&azureAsyncOperation=true cache-control: - no-cache content-length: - - '1371' + - '815' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:11:39 GMT + - Fri, 13 May 2022 16:54:43 GMT expires: - '-1' pragma: @@ -1778,22 +1739,22 @@ interactions: - 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-async-operation-timeout: - - PT15M - x-ms-ratelimit-remaining-subscription-writes: - - '1199' x-powered-by: - ASP.NET status: - code: 201 - message: Created + code: 200 + message: OK - request: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -1803,40 +1764,51 @@ interactions: ParameterSetName: - --compose-file-path --resource-group --environment --logs-workspace User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:11:37.871405","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:11:37.871405"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.213.53","52.226.213.220","52.226.213.149"],"latestRevisionName":"foo--xewp4xv","latestRevisionFqdn":"foo--xewp4xv.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + 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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1451' + - '2737' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:11:40 GMT + - Fri, 13 May 2022 16:54:43 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff - x-powered-by: - - ASP.NET status: code: 200 message: OK @@ -1856,22 +1828,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:11:37.871405","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:11:37.871405"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.213.53","52.226.213.220","52.226.213.149"],"latestRevisionName":"foo--xewp4xv","latestRevisionFqdn":"foo--xewp4xv.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Succeeded","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1451' + - '815' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:11:43 GMT + - Fri, 13 May 2022 16:54:43 GMT expires: - '-1' pragma: @@ -1893,6 +1864,75 @@ interactions: message: OK - request: body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:54:43 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", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": + {"fqdn": null, "external": false, "targetPort": 3000, "transport": "auto", "traffic": + null, "customDomains": null}, "dapr": null, "registries": null}, "template": + {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", + "name": "foo", "command": null, "args": null, "env": null, "resources": null, + "volumeMounts": null}], "scale": null, "volumes": null}}, "tags": null}' headers: Accept: - '*/*' @@ -1902,27 +1942,33 @@ interactions: - containerapp compose create Connection: - keep-alive + Content-Length: + - '791' + Content-Type: + - application/json ParameterSetName: - --compose-file-path --resource-group --environment --logs-workspace User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:11:37.871405","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:11:37.871405"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.213.53","52.226.213.220","52.226.213.149"],"latestRevisionName":"foo--xewp4xv","latestRevisionFqdn":"foo--xewp4xv.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:54:45.0101315Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:54:45.0101315Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.85.139.75","20.85.136.135","20.85.136.242"],"latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/81fcf6ee-8be0-4fc1-9bf9-2c1290597030?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '1451' + - '1347' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:11:45 GMT + - Fri, 13 May 2022 16:54:46 GMT expires: - '-1' pragma: @@ -1931,17 +1977,17 @@ interactions: - 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-async-operation-timeout: + - PT15M + x-ms-ratelimit-remaining-subscription-resource-requests: + - '499' x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 201 + message: Created - request: body: null headers: @@ -1958,11 +2004,11 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:11:37.871405","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:11:37.871405"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.213.53","52.226.213.220","52.226.213.149"],"latestRevisionName":"foo--xewp4xv","latestRevisionFqdn":"foo--xewp4xv.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:54:45.0101315","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:54:45.0101315"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.85.139.75","20.85.136.135","20.85.136.242"],"latestRevisionName":"foo--vfa28ih","latestRevisionFqdn":"foo--vfa28ih.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1973,7 +2019,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:11:49 GMT + - Fri, 13 May 2022 16:54:47 GMT expires: - '-1' pragma: @@ -2009,11 +2055,11 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:11:37.871405","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:11:37.871405"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.213.53","52.226.213.220","52.226.213.149"],"latestRevisionName":"foo--xewp4xv","latestRevisionFqdn":"foo--xewp4xv.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:54:45.0101315","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:54:45.0101315"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.85.139.75","20.85.136.135","20.85.136.242"],"latestRevisionName":"foo--vfa28ih","latestRevisionFqdn":"foo--vfa28ih.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2024,7 +2070,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:11:52 GMT + - Fri, 13 May 2022 16:54:50 GMT expires: - '-1' pragma: @@ -2060,11 +2106,11 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:11:37.871405","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:11:37.871405"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.213.53","52.226.213.220","52.226.213.149"],"latestRevisionName":"foo--xewp4xv","latestRevisionFqdn":"foo--xewp4xv.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:54:45.0101315","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:54:45.0101315"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.85.139.75","20.85.136.135","20.85.136.242"],"latestRevisionName":"foo--vfa28ih","latestRevisionFqdn":"foo--vfa28ih.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2075,7 +2121,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:11:55 GMT + - Fri, 13 May 2022 16:54:52 GMT expires: - '-1' pragma: @@ -2111,11 +2157,11 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:11:37.871405","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:11:37.871405"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.213.53","52.226.213.220","52.226.213.149"],"latestRevisionName":"foo--xewp4xv","latestRevisionFqdn":"foo--xewp4xv.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:54:45.0101315","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:54:45.0101315"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.85.139.75","20.85.136.135","20.85.136.242"],"latestRevisionName":"foo--vfa28ih","latestRevisionFqdn":"foo--vfa28ih.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2126,7 +2172,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:11:57 GMT + - Fri, 13 May 2022 16:54:54 GMT expires: - '-1' pragma: @@ -2162,11 +2208,11 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:11:37.871405","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:11:37.871405"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.213.53","52.226.213.220","52.226.213.149"],"latestRevisionName":"foo--xewp4xv","latestRevisionFqdn":"foo--xewp4xv.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:54:45.0101315","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:54:45.0101315"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.85.139.75","20.85.136.135","20.85.136.242"],"latestRevisionName":"foo--vfa28ih","latestRevisionFqdn":"foo--vfa28ih.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2177,7 +2223,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:12:00 GMT + - Fri, 13 May 2022 16:54:56 GMT expires: - '-1' pragma: @@ -2213,11 +2259,11 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:11:37.871405","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:11:37.871405"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.213.53","52.226.213.220","52.226.213.149"],"latestRevisionName":"foo--xewp4xv","latestRevisionFqdn":"foo--xewp4xv.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:54:45.0101315","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:54:45.0101315"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.85.139.75","20.85.136.135","20.85.136.242"],"latestRevisionName":"foo--vfa28ih","latestRevisionFqdn":"foo--vfa28ih.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2228,7 +2274,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:12:03 GMT + - Fri, 13 May 2022 16:54:59 GMT expires: - '-1' pragma: @@ -2264,11 +2310,11 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:11:37.871405","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:11:37.871405"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.213.53","52.226.213.220","52.226.213.149"],"latestRevisionName":"foo--xewp4xv","latestRevisionFqdn":"foo--xewp4xv.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyisland-1a2c33b8.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:54:45.0101315","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:54:45.0101315"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.85.139.75","20.85.136.135","20.85.136.242"],"latestRevisionName":"foo--vfa28ih","latestRevisionFqdn":"foo--vfa28ih.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2279,7 +2325,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:12:06 GMT + - Fri, 13 May 2022 16:55:00 GMT expires: - '-1' pragma: diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_prompt_ingress.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_ingress_prompt.yaml similarity index 76% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_prompt_ingress.yaml rename to src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_ingress_prompt.yaml index 5fbbf9f65ac..599b33872e8 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_prompt_ingress.yaml +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_ingress_prompt.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:49:18Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T17:10:27Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:49:18 GMT + - Fri, 13 May 2022 17:10:29 GMT expires: - '-1' pragma: @@ -57,7 +57,7 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' @@ -71,7 +71,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:49:18 GMT + - Fri, 13 May 2022 17:10:29 GMT expires: - '-1' pragma: @@ -104,7 +104,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:49:18Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T17:10:27Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -113,7 +113,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:49:19 GMT + - Fri, 13 May 2022 17:10:29 GMT expires: - '-1' pragma: @@ -175,7 +175,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:49:18 GMT + - Fri, 13 May 2022 17:10:29 GMT expires: - '-1' pragma: @@ -237,7 +237,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:49:19 GMT + - Fri, 13 May 2022 17:10:28 GMT expires: - '-1' pragma: @@ -390,7 +390,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:49:19 GMT + - Fri, 13 May 2022 17:10:29 GMT expires: - '-1' pragma: @@ -543,7 +543,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:49:19 GMT + - Fri, 13 May 2022 17:10:29 GMT expires: - '-1' pragma: @@ -582,16 +582,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"57ed9722-17a8-46f4-b2a0-043078417313\",\r\n \"provisioningState\": \"Creating\",\r\n + \"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 22:49:23 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 17:10:31 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Sat, 07 May 2022 21:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Fri, 13 May 2022 18:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:49:23 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 22:49:23 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 17:10:31 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 17:10:31 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -603,7 +603,7 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 22:49:23 GMT + - Fri, 13 May 2022 17:10:31 GMT pragma: - no-cache server: @@ -614,7 +614,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET - ASP.NET @@ -641,16 +641,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"57ed9722-17a8-46f4-b2a0-043078417313\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 22:49:23 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 17:10:31 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Sat, 07 May 2022 21:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Fri, 13 May 2022 18:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:49:23 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 22:49:24 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 17:10:31 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 17:10:33 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -662,7 +662,7 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 22:49:53 GMT + - Fri, 13 May 2022 17:11:02 GMT pragma: - no-cache server: @@ -703,8 +703,8 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 response: body: - string: "{\r\n \"primarySharedKey\": \"OHpjTKqqgfIR53Dz+jzu1xDIZ8HlUMqvtwZ2jH2k2rF/U5UNJQJP/6ROulS9Lo0HRFAgd7JZYAYMS0754I/nyQ==\",\r\n - \ \"secondarySharedKey\": \"tP1Ttn0D5BT/M9SOrwlco9T+NUpB+3hx69Oj+e6PzAZFq0gQVJr2yS6SIklYs+nWZ04Sh5s9W5MJ6YT3VrHXTQ==\"\r\n}" + string: "{\r\n \"primarySharedKey\": \"iQ8BO+0IPSPomu/4S6D3ENAvkjcXVBLBB2BAkGs42svkJC/IiZxL2voAEiTVC4nL11gxWmKH1GJZDu66wwQGig==\",\r\n + \ \"secondarySharedKey\": \"qGqx65xY4SIRkSW+yVPjAciR4ZIKUyfyEt372uqepcQA2o5mixieqxstThQNq522aafmO2XMpnMUzricjTPIuQ==\"\r\n}" headers: cache-control: - no-cache @@ -715,7 +715,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:49:54 GMT + - Fri, 13 May 2022 17:11:03 GMT expires: - '-1' pragma: @@ -734,7 +734,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1189' x-powered-by: - ASP.NET - ASP.NET @@ -745,7 +745,7 @@ interactions: body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": - "57ed9722-17a8-46f4-b2a0-043078417313", "sharedKey": "OHpjTKqqgfIR53Dz+jzu1xDIZ8HlUMqvtwZ2jH2k2rF/U5UNJQJP/6ROulS9Lo0HRFAgd7JZYAYMS0754I/nyQ=="}}}}' + "2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3", "sharedKey": "iQ8BO+0IPSPomu/4S6D3ENAvkjcXVBLBB2BAkGs42svkJC/IiZxL2voAEiTVC4nL11gxWmKH1GJZDu66wwQGig=="}}}}' headers: Accept: - '*/*' @@ -764,23 +764,23 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/ffd1be5a-76da-448e-9d34-cf59cb221634?api-version=2022-01-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/8541a7ec-1826-4fa4-b218-fe46861263ba?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '792' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:49:58 GMT + - Fri, 13 May 2022 17:11:04 GMT expires: - '-1' pragma: @@ -793,8 +793,8 @@ interactions: - nosniff x-ms-async-operation-timeout: - PT15M - x-ms-ratelimit-remaining-subscription-writes: - - '1199' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99' x-powered-by: - ASP.NET status: @@ -816,21 +816,271 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '810' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 17:11:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '810' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 17:11:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '810' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 17:11: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '810' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 17:11: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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '810' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 17:11: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-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '810' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:49:59 GMT + - Fri, 13 May 2022 17:11:14 GMT expires: - '-1' pragma: @@ -866,21 +1116,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '810' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:50:01 GMT + - Fri, 13 May 2022 17:11:16 GMT expires: - '-1' pragma: @@ -916,21 +1166,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '810' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:50:04 GMT + - Fri, 13 May 2022 17:11:18 GMT expires: - '-1' pragma: @@ -966,21 +1216,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '810' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:50:07 GMT + - Fri, 13 May 2022 17:11:21 GMT expires: - '-1' pragma: @@ -1016,21 +1266,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '810' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:50:10 GMT + - Fri, 13 May 2022 17:11:23 GMT expires: - '-1' pragma: @@ -1066,21 +1316,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '810' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:50:12 GMT + - Fri, 13 May 2022 17:11:25 GMT expires: - '-1' pragma: @@ -1116,21 +1366,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '810' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:50:15 GMT + - Fri, 13 May 2022 17:11:27 GMT expires: - '-1' pragma: @@ -1166,21 +1416,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '810' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:50:18 GMT + - Fri, 13 May 2022 17:11:29 GMT expires: - '-1' pragma: @@ -1216,21 +1466,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '810' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:50:20 GMT + - Fri, 13 May 2022 17:11:31 GMT expires: - '-1' pragma: @@ -1266,21 +1516,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '810' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:50:24 GMT + - Fri, 13 May 2022 17:11:33 GMT expires: - '-1' pragma: @@ -1316,21 +1566,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '810' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:50:26 GMT + - Fri, 13 May 2022 17:11:35 GMT expires: - '-1' pragma: @@ -1366,21 +1616,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '810' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:50:28 GMT + - Fri, 13 May 2022 17:11:38 GMT expires: - '-1' pragma: @@ -1416,21 +1666,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '810' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:50:31 GMT + - Fri, 13 May 2022 17:11:40 GMT expires: - '-1' pragma: @@ -1466,21 +1716,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '810' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:50:34 GMT + - Fri, 13 May 2022 17:11:42 GMT expires: - '-1' pragma: @@ -1516,21 +1766,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '810' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:50:36 GMT + - Fri, 13 May 2022 17:11:44 GMT expires: - '-1' pragma: @@ -1566,21 +1816,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '810' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:50:39 GMT + - Fri, 13 May 2022 17:11:46 GMT expires: - '-1' pragma: @@ -1616,21 +1866,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:49:57.5596742","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:49:57.5596742"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wonderfulbush-b428a57b.eastus.azurecontainerapps.io","staticIp":"20.85.193.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"57ed9722-17a8-46f4-b2a0-043078417313"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Succeeded","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '792' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:50:41 GMT + - Fri, 13 May 2022 17:11:48 GMT expires: - '-1' pragma: diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_all_registry_args.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_registry_all_args.yaml similarity index 80% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_all_registry_args.yaml rename to src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_registry_all_args.yaml index e34e66f8e0a..b17c030aeae 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_all_registry_args.yaml +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_registry_all_args.yaml @@ -19,7 +19,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:52:40Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T17:11:50Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:52:41 GMT + - Fri, 13 May 2022 17:11:50 GMT expires: - '-1' pragma: @@ -59,7 +59,7 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' @@ -73,7 +73,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:52:41 GMT + - Fri, 13 May 2022 17:11:49 GMT expires: - '-1' pragma: @@ -107,7 +107,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:52:40Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T17:11:50Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -116,7 +116,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:52:42 GMT + - Fri, 13 May 2022 17:11:50 GMT expires: - '-1' pragma: @@ -179,7 +179,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:52:41 GMT + - Fri, 13 May 2022 17:11:49 GMT expires: - '-1' pragma: @@ -242,7 +242,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:52:41 GMT + - Fri, 13 May 2022 17:11:50 GMT expires: - '-1' pragma: @@ -396,7 +396,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:52:41 GMT + - Fri, 13 May 2022 17:11:50 GMT expires: - '-1' pragma: @@ -550,7 +550,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:52:42 GMT + - Fri, 13 May 2022 17:11:50 GMT expires: - '-1' pragma: @@ -590,16 +590,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7\",\r\n \"provisioningState\": \"Creating\",\r\n + \"d4bc82cc-63d2-47f6-9738-10ecbc78d869\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 22:52:47 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 17:11:52 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Sat, 07 May 2022 22:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Sat, 14 May 2022 04:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:52:45 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 22:52:45 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 17:11:52 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 17:11:52 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -611,7 +611,7 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 22:52:46 GMT + - Fri, 13 May 2022 17:11:51 GMT pragma: - no-cache server: @@ -650,16 +650,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"d4bc82cc-63d2-47f6-9738-10ecbc78d869\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 22:52:47 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 17:11:52 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Sat, 07 May 2022 22:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Sat, 14 May 2022 04:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:52:47 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 22:52:48 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 17:11:52 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 17:11:54 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -671,7 +671,7 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 22:53:16 GMT + - Fri, 13 May 2022 17:12:22 GMT pragma: - no-cache server: @@ -713,8 +713,8 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 response: body: - string: "{\r\n \"primarySharedKey\": \"Gal6EbC18XMIcmyTM+Cg5ZXwsyfwFdra/JR7Z+S51GqjdsE40zrwBfu74BNXOmn1jqzDu41isxRZsa/2mP6DqA==\",\r\n - \ \"secondarySharedKey\": \"hXWlYkYR1Dj2Pja3MtwojaMWSCb6J+dDXUe+hBE8uXhkCSuiS9bT8wYID1Vk7v2wN/RfUq47K3ZzWovjXJJ9mA==\"\r\n}" + string: "{\r\n \"primarySharedKey\": \"0ONisBiuno2z0+xTqSdXnl+3uPkhxojLfcg00/EvyYI+FEA7owSaWg/O5FkKPDLq5vnKHcAL9XBGc729PTao8Q==\",\r\n + \ \"secondarySharedKey\": \"bmnOM3RJEgQm9nhYltUcxmclEwYOZ4JF8ShOQEHyUP89fYH3gNJ4eTjsoHuWJPZ/00onzCRWW5JfZV/9t0qmKQ==\"\r\n}" headers: cache-control: - no-cache @@ -725,7 +725,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:53:18 GMT + - Fri, 13 May 2022 17:12:23 GMT expires: - '-1' pragma: @@ -744,7 +744,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1188' x-powered-by: - ASP.NET - ASP.NET @@ -755,7 +755,7 @@ interactions: body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": - "03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7", "sharedKey": "Gal6EbC18XMIcmyTM+Cg5ZXwsyfwFdra/JR7Z+S51GqjdsE40zrwBfu74BNXOmn1jqzDu41isxRZsa/2mP6DqA=="}}}}' + "d4bc82cc-63d2-47f6-9738-10ecbc78d869", "sharedKey": "0ONisBiuno2z0+xTqSdXnl+3uPkhxojLfcg00/EvyYI+FEA7owSaWg/O5FkKPDLq5vnKHcAL9XBGc729PTao8Q=="}}}}' headers: Accept: - '*/*' @@ -775,23 +775,23 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/db0102b5-76e0-4248-9791-915fc530a20d?api-version=2022-01-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/4c8dd180-c7c8-45dd-bae3-f2a9f4037be4?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '787' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:53:21 GMT + - Fri, 13 May 2022 17:12:23 GMT expires: - '-1' pragma: @@ -804,8 +804,8 @@ interactions: - nosniff x-ms-async-operation-timeout: - PT15M - x-ms-ratelimit-remaining-subscription-writes: - - '1199' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '89' x-powered-by: - ASP.NET status: @@ -828,72 +828,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:53:22 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace --registry-server - --registry-username --registry-password - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:53:25 GMT + - Fri, 13 May 2022 17:12:23 GMT expires: - '-1' pragma: @@ -930,21 +879,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:53:27 GMT + - Fri, 13 May 2022 17:12:34 GMT expires: - '-1' pragma: @@ -953,61 +902,8 @@ interactions: - 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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace --registry-server - --registry-username --registry-password - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:53:30 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -1032,21 +928,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:53:33 GMT + - Fri, 13 May 2022 17:12:37 GMT expires: - '-1' pragma: @@ -1083,21 +979,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:53:36 GMT + - Fri, 13 May 2022 17:12:39 GMT expires: - '-1' pragma: @@ -1134,21 +1030,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:53:39 GMT + - Fri, 13 May 2022 17:12:41 GMT expires: - '-1' pragma: @@ -1185,21 +1081,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:53:41 GMT + - Fri, 13 May 2022 17:12:44 GMT expires: - '-1' pragma: @@ -1236,21 +1132,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:53:44 GMT + - Fri, 13 May 2022 17:12:45 GMT expires: - '-1' pragma: @@ -1287,21 +1183,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:53:47 GMT + - Fri, 13 May 2022 17:12:48 GMT expires: - '-1' pragma: @@ -1338,21 +1234,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:53:49 GMT + - Fri, 13 May 2022 17:12:49 GMT expires: - '-1' pragma: @@ -1389,21 +1285,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:53:52 GMT + - Fri, 13 May 2022 17:12:52 GMT expires: - '-1' pragma: @@ -1440,21 +1336,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:53:54 GMT + - Fri, 13 May 2022 17:12:54 GMT expires: - '-1' pragma: @@ -1491,21 +1387,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:53:56 GMT + - Fri, 13 May 2022 17:12:56 GMT expires: - '-1' pragma: @@ -1542,21 +1438,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Succeeded","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:53:59 GMT + - Fri, 13 May 2022 17:12:59 GMT expires: - '-1' pragma: @@ -1625,7 +1521,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:54:00 GMT + - Fri, 13 May 2022 17:12:58 GMT expires: - '-1' pragma: @@ -1656,21 +1552,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:53:20.7599582","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:53:20.7599582"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wittysky-c3041aea.eastus.azurecontainerapps.io","staticIp":"20.85.193.111","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ee5c5b-ad3d-4dcc-b292-e0b7ce2ba0c7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Succeeded","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:54:00 GMT + - Fri, 13 May 2022 17:12:59 GMT expires: - '-1' pragma: @@ -1739,7 +1635,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:54:00 GMT + - Fri, 13 May 2022 17:12:59 GMT expires: - '-1' pragma: @@ -1762,10 +1658,8 @@ interactions: "dapr": null, "registries": [{"server": "foobar.azurecr.io", "username": "foobar", "passwordSecretRef": "foobarazurecrio-foobar"}]}, "template": {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", - "name": "foo", "command": ["/code/entrypoint.sh"], "args": ["echo \"hello world\""], - "env": [{"name": "RACK_ENV", "value": "development"}, {"name": "SHOW", "value": - "true"}, {"name": "BAZ", "value": "\"snafu\""}], "resources": null, "volumeMounts": - null}], "scale": null, "volumes": null}}, "tags": null}' + "name": "foo", "command": null, "args": null, "env": null, "resources": null, + "volumeMounts": null}], "scale": null, "volumes": null}}, "tags": null}' headers: Accept: - '*/*' @@ -1776,7 +1670,7 @@ interactions: Connection: - keep-alive Content-Length: - - '1093' + - '938' Content-Type: - application/json ParameterSetName: @@ -1785,25 +1679,24 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:03.1382217Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:03.1382217Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.81.86.171","20.81.86.155","20.81.87.135"],"latestRevisionName":"foo--68as60h","latestRevisionFqdn":"foo--68as60h.wittysky-c3041aea.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"foobarazurecrio-foobar"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.wittysky-c3041aea.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false},"registries":[{"server":"foobar.azurecr.io","username":"foobar","passwordSecretRef":"foobarazurecrio-foobar"}]},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:59.9555556Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:59.9555556Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.98.121","20.237.98.123","20.237.98.139"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"foobarazurecrio-foobar"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ashyfield-a73c4c34.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false},"registries":[{"server":"foobar.azurecr.io","username":"foobar","passwordSecretRef":"foobarazurecrio-foobar"}]},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/33eb94f9-b5be-45f9-85e3-d7e1ab5fde17?api-version=2022-01-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/2e092ef6-5a1f-40be-bbe9-63f61f297ea4?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '1761' + - '1516' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:54:05 GMT + - Fri, 13 May 2022 17:13:01 GMT expires: - '-1' pragma: @@ -1816,8 +1709,8 @@ interactions: - nosniff x-ms-async-operation-timeout: - PT15M - x-ms-ratelimit-remaining-subscription-writes: - - '1199' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '499' x-powered-by: - ASP.NET status: @@ -1840,23 +1733,74 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:59.9555556","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:59.9555556"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.98.121","20.237.98.123","20.237.98.139"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"foobarazurecrio-foobar"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ashyfield-a73c4c34.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false},"registries":[{"server":"foobar.azurecr.io","username":"foobar","passwordSecretRef":"foobarazurecrio-foobar"}]},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1514' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 17:13: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --registry-server + --registry-username --registry-password + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:03.1382217","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:03.1382217"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.81.86.171","20.81.86.155","20.81.87.135"],"latestRevisionName":"foo--68as60h","latestRevisionFqdn":"foo--68as60h.wittysky-c3041aea.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"foobarazurecrio-foobar"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.wittysky-c3041aea.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false},"registries":[{"server":"foobar.azurecr.io","username":"foobar","passwordSecretRef":"foobarazurecrio-foobar"}]},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:59.9555556","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:59.9555556"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.98.121","20.237.98.123","20.237.98.139"],"latestRevisionName":"foo--krf3ww7","latestRevisionFqdn":"foo--krf3ww7.ashyfield-a73c4c34.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"foobarazurecrio-foobar"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ashyfield-a73c4c34.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false},"registries":[{"server":"foobar.azurecr.io","username":"foobar","passwordSecretRef":"foobarazurecrio-foobar"}]},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1759' + - '1586' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:54:06 GMT + - Fri, 13 May 2022 17:13:03 GMT expires: - '-1' pragma: @@ -1893,23 +1837,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:03.1382217","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:03.1382217"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.81.86.171","20.81.86.155","20.81.87.135"],"latestRevisionName":"foo--68as60h","latestRevisionFqdn":"foo--68as60h.wittysky-c3041aea.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"foobarazurecrio-foobar"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.wittysky-c3041aea.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false},"registries":[{"server":"foobar.azurecr.io","username":"foobar","passwordSecretRef":"foobarazurecrio-foobar"}]},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:59.9555556","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:59.9555556"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.98.121","20.237.98.123","20.237.98.139"],"latestRevisionName":"foo--krf3ww7","latestRevisionFqdn":"foo--krf3ww7.ashyfield-a73c4c34.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"foobarazurecrio-foobar"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ashyfield-a73c4c34.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false},"registries":[{"server":"foobar.azurecr.io","username":"foobar","passwordSecretRef":"foobarazurecrio-foobar"}]},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1759' + - '1586' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:54:09 GMT + - Fri, 13 May 2022 17:13:06 GMT expires: - '-1' pragma: @@ -1946,23 +1889,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:03.1382217","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:03.1382217"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.81.86.171","20.81.86.155","20.81.87.135"],"latestRevisionName":"foo--68as60h","latestRevisionFqdn":"foo--68as60h.wittysky-c3041aea.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"foobarazurecrio-foobar"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.wittysky-c3041aea.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false},"registries":[{"server":"foobar.azurecr.io","username":"foobar","passwordSecretRef":"foobarazurecrio-foobar"}]},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:59.9555556","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:59.9555556"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.98.121","20.237.98.123","20.237.98.139"],"latestRevisionName":"foo--krf3ww7","latestRevisionFqdn":"foo--krf3ww7.ashyfield-a73c4c34.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"foobarazurecrio-foobar"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ashyfield-a73c4c34.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false},"registries":[{"server":"foobar.azurecr.io","username":"foobar","passwordSecretRef":"foobarazurecrio-foobar"}]},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1759' + - '1586' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:54:12 GMT + - Fri, 13 May 2022 17:13:08 GMT expires: - '-1' pragma: @@ -1999,23 +1941,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:03.1382217","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:03.1382217"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.81.86.171","20.81.86.155","20.81.87.135"],"latestRevisionName":"foo--68as60h","latestRevisionFqdn":"foo--68as60h.wittysky-c3041aea.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"foobarazurecrio-foobar"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.wittysky-c3041aea.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false},"registries":[{"server":"foobar.azurecr.io","username":"foobar","passwordSecretRef":"foobarazurecrio-foobar"}]},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:59.9555556","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:59.9555556"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.98.121","20.237.98.123","20.237.98.139"],"latestRevisionName":"foo--krf3ww7","latestRevisionFqdn":"foo--krf3ww7.ashyfield-a73c4c34.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"foobarazurecrio-foobar"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ashyfield-a73c4c34.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false},"registries":[{"server":"foobar.azurecr.io","username":"foobar","passwordSecretRef":"foobarazurecrio-foobar"}]},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1758' + - '1585' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:54:15 GMT + - Fri, 13 May 2022 17:13:10 GMT expires: - '-1' pragma: diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_registry_server_arg_only.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_registry_server_arg_only.yaml index 6c723649a18..4bbe8829825 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_registry_server_arg_only.yaml +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_registry_server_arg_only.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:54:17Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T17:13:11Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:54:17 GMT + - Fri, 13 May 2022 17:13:11 GMT expires: - '-1' pragma: @@ -57,7 +57,7 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' @@ -71,7 +71,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:54:17 GMT + - Fri, 13 May 2022 17:13:12 GMT expires: - '-1' pragma: @@ -104,7 +104,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:54:17Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T17:13:11Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -113,7 +113,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:54:18 GMT + - Fri, 13 May 2022 17:13:11 GMT expires: - '-1' pragma: @@ -175,7 +175,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:54:18 GMT + - Fri, 13 May 2022 17:13:11 GMT expires: - '-1' pragma: @@ -237,7 +237,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:54:18 GMT + - Fri, 13 May 2022 17:13:11 GMT expires: - '-1' pragma: @@ -390,7 +390,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:54:19 GMT + - Fri, 13 May 2022 17:13:12 GMT expires: - '-1' pragma: @@ -543,7 +543,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:54:18 GMT + - Fri, 13 May 2022 17:13:11 GMT expires: - '-1' pragma: @@ -582,16 +582,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"b2224f07-2455-40b4-aefa-000526418b7f\",\r\n \"provisioningState\": \"Creating\",\r\n + \"0b7e3777-0e84-426b-b837-781cbd5a627a\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 22:54:21 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 17:13:13 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Sat, 07 May 2022 02:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Sat, 14 May 2022 14:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:54:21 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 22:54:21 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 17:13:13 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 17:13:13 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -603,7 +603,7 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 22:54:21 GMT + - Fri, 13 May 2022 17:13:13 GMT pragma: - no-cache server: @@ -641,16 +641,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"b2224f07-2455-40b4-aefa-000526418b7f\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"0b7e3777-0e84-426b-b837-781cbd5a627a\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 22:54:21 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 17:13:13 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Sat, 07 May 2022 02:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Sat, 14 May 2022 14:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:54:21 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 22:54:23 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 17:13:13 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 17:13:16 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -662,7 +662,7 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 22:54:52 GMT + - Fri, 13 May 2022 17:13:43 GMT pragma: - no-cache server: @@ -703,8 +703,8 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 response: body: - string: "{\r\n \"primarySharedKey\": \"K6kgwKebgGVfCShMpYhOjfrtr8AyZLC6CAIwlnlYo65g6EVtKiqQCeS5XDPMEhlUb2v2FFpfxPfWxhBKBarOoQ==\",\r\n - \ \"secondarySharedKey\": \"+p+Y0nduNv8Un40HI0arl+yen0WJE1K9/otg4spDXHdi1tfs250zJLl/Kn3H6k6ymUsVNCar3Q70RF4e8mwaJA==\"\r\n}" + string: "{\r\n \"primarySharedKey\": \"dhNqzSFj4215p3Pdu0I7josQRrhi8pqTLd//MeDjReDhWKLM9COeMaPAGYO5YFp+gk2kBrH2sUPNdVH+8SU3xw==\",\r\n + \ \"secondarySharedKey\": \"xUItzC3zBZ+wS2oea6pOn33y1FbtP2D3PG5T6prJZN3ab6OEuy4fpTYCBcpUhcE+1EjxpogBTUea1cpeLS/jaA==\"\r\n}" headers: cache-control: - no-cache @@ -715,7 +715,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:54:53 GMT + - Fri, 13 May 2022 17:13:44 GMT expires: - '-1' pragma: @@ -734,7 +734,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1187' x-powered-by: - ASP.NET - ASP.NET @@ -745,7 +745,7 @@ interactions: body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": - "b2224f07-2455-40b4-aefa-000526418b7f", "sharedKey": "K6kgwKebgGVfCShMpYhOjfrtr8AyZLC6CAIwlnlYo65g6EVtKiqQCeS5XDPMEhlUb2v2FFpfxPfWxhBKBarOoQ=="}}}}' + "0b7e3777-0e84-426b-b837-781cbd5a627a", "sharedKey": "dhNqzSFj4215p3Pdu0I7josQRrhi8pqTLd//MeDjReDhWKLM9COeMaPAGYO5YFp+gk2kBrH2sUPNdVH+8SU3xw=="}}}}' headers: Accept: - '*/*' @@ -764,23 +764,23 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/eda12d8d-9c54-44a9-adf9-f36e8f0f7b16?api-version=2022-01-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/72bc0cf4-ec19-4b8d-ac01-42c699cbfb15?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '790' + - '809' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:54:57 GMT + - Fri, 13 May 2022 17:13:44 GMT expires: - '-1' pragma: @@ -793,8 +793,8 @@ interactions: - nosniff x-ms-async-operation-timeout: - PT15M - x-ms-ratelimit-remaining-subscription-writes: - - '1198' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '88' x-powered-by: - ASP.NET status: @@ -816,71 +816,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '788' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:54:58 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace --registry-server - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '807' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:55:01 GMT + - Fri, 13 May 2022 17:13:45 GMT expires: - '-1' pragma: @@ -916,21 +866,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '807' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:55:03 GMT + - Fri, 13 May 2022 17:13:46 GMT expires: - '-1' pragma: @@ -966,21 +916,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '807' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:55:05 GMT + - Fri, 13 May 2022 17:13:49 GMT expires: - '-1' pragma: @@ -1016,21 +966,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '807' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:55:09 GMT + - Fri, 13 May 2022 17:13:51 GMT expires: - '-1' pragma: @@ -1066,21 +1016,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '807' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:55:11 GMT + - Fri, 13 May 2022 17:13:53 GMT expires: - '-1' pragma: @@ -1116,21 +1066,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '807' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:55:14 GMT + - Fri, 13 May 2022 17:13:55 GMT expires: - '-1' pragma: @@ -1166,21 +1116,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '807' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:55:16 GMT + - Fri, 13 May 2022 17:13:58 GMT expires: - '-1' pragma: @@ -1216,21 +1166,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '807' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:55:19 GMT + - Fri, 13 May 2022 17:13:59 GMT expires: - '-1' pragma: @@ -1266,21 +1216,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '807' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:55:21 GMT + - Fri, 13 May 2022 17:14:01 GMT expires: - '-1' pragma: @@ -1316,21 +1266,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '807' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:55:23 GMT + - Fri, 13 May 2022 17:14:04 GMT expires: - '-1' pragma: @@ -1366,21 +1316,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '807' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:55:26 GMT + - Fri, 13 May 2022 17:14:06 GMT expires: - '-1' pragma: @@ -1416,21 +1366,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '807' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:55:29 GMT + - Fri, 13 May 2022 17:14:08 GMT expires: - '-1' pragma: @@ -1466,21 +1416,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '807' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:55:31 GMT + - Fri, 13 May 2022 17:14:10 GMT expires: - '-1' pragma: @@ -1516,21 +1466,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '807' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:55:34 GMT + - Fri, 13 May 2022 17:14:12 GMT expires: - '-1' pragma: @@ -1566,21 +1516,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '807' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:55:37 GMT + - Fri, 13 May 2022 17:14:15 GMT expires: - '-1' pragma: @@ -1616,21 +1566,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '807' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:55:39 GMT + - Fri, 13 May 2022 17:14:16 GMT expires: - '-1' pragma: @@ -1666,21 +1616,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '807' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:55:42 GMT + - Fri, 13 May 2022 17:14:19 GMT expires: - '-1' pragma: @@ -1716,21 +1666,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '807' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:55:44 GMT + - Fri, 13 May 2022 17:14:21 GMT expires: - '-1' pragma: @@ -1766,21 +1716,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '807' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:55:47 GMT + - Fri, 13 May 2022 17:14:23 GMT expires: - '-1' pragma: @@ -1816,21 +1766,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '807' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:55:50 GMT + - Fri, 13 May 2022 17:14:25 GMT expires: - '-1' pragma: @@ -1866,21 +1816,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '807' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:55:53 GMT + - Fri, 13 May 2022 17:14:27 GMT expires: - '-1' pragma: @@ -1916,21 +1866,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:54:56.1975972","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:54:56.1975972"},"properties":{"provisioningState":"Succeeded","defaultDomain":"yellowground-2c295df5.eastus.azurecontainerapps.io","staticIp":"20.81.80.129","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b2224f07-2455-40b4-aefa-000526418b7f"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Succeeded","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '809' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:55:55 GMT + - Fri, 13 May 2022 17:14:29 GMT expires: - '-1' pragma: diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_replicas_global_scale.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_replicas_global_scale.yaml index 5aac6379943..e6678a0a4a9 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_replicas_global_scale.yaml +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_replicas_global_scale.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-12T20:22:54Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T18:39:07Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:22:55 GMT + - Fri, 13 May 2022 18:39:07 GMT expires: - '-1' pragma: @@ -57,7 +57,7 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' @@ -71,7 +71,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:22:55 GMT + - Fri, 13 May 2022 18:39:07 GMT expires: - '-1' pragma: @@ -104,7 +104,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-12T20:22:54Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T18:39:07Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -113,7 +113,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:22:55 GMT + - Fri, 13 May 2022 18:39:07 GMT expires: - '-1' pragma: @@ -175,7 +175,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:22:55 GMT + - Fri, 13 May 2022 18:39:07 GMT expires: - '-1' pragma: @@ -237,7 +237,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:22:55 GMT + - Fri, 13 May 2022 18:39:08 GMT expires: - '-1' pragma: @@ -390,7 +390,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:22:55 GMT + - Fri, 13 May 2022 18:39:07 GMT expires: - '-1' pragma: @@ -543,7 +543,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:22:56 GMT + - Fri, 13 May 2022 18:39:08 GMT expires: - '-1' pragma: @@ -582,16 +582,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"a7d389e9-9720-4aea-a4ee-85cc192b0257\",\r\n \"provisioningState\": \"Creating\",\r\n + \"b7508b70-dbf7-42b3-b1f8-e158d814403c\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Thu, 12 May 2022 20:22:59 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 18:39:09 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Fri, 13 May 2022 03:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Sat, 14 May 2022 08:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Thu, 12 May 2022 20:22:59 GMT\",\r\n - \ \"modifiedDate\": \"Thu, 12 May 2022 20:22:59 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 18:39:09 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 18:39:09 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -603,7 +603,7 @@ interactions: content-type: - application/json date: - - Thu, 12 May 2022 20:22:59 GMT + - Fri, 13 May 2022 18:39:09 GMT pragma: - no-cache server: @@ -614,7 +614,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' x-powered-by: - ASP.NET - ASP.NET @@ -641,16 +641,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"a7d389e9-9720-4aea-a4ee-85cc192b0257\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"b7508b70-dbf7-42b3-b1f8-e158d814403c\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Thu, 12 May 2022 20:22:59 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 18:39:09 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Fri, 13 May 2022 03:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Sat, 14 May 2022 08:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Thu, 12 May 2022 20:22:59 GMT\",\r\n - \ \"modifiedDate\": \"Thu, 12 May 2022 20:23:00 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 18:39:09 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 18:39:10 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -662,7 +662,7 @@ interactions: content-type: - application/json date: - - Thu, 12 May 2022 20:23:29 GMT + - Fri, 13 May 2022 18:39:39 GMT pragma: - no-cache server: @@ -703,8 +703,8 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 response: body: - string: "{\r\n \"primarySharedKey\": \"hEfOxQEhVankoedNlga202Rm1OrdSG8zhnUw7wA23iXXE4fKNEkYMoU+M7qmaQFeS6wTeMGr/fhs+kQBFKxYiQ==\",\r\n - \ \"secondarySharedKey\": \"+qrGR+vA0KSaR8ZxQfPqm1T3PyzR4+bnJA2z1UHBHlhEQCSDAllLRWVKXfkvMRROGnmLavLIwxJ0UuNpo33w/A==\"\r\n}" + string: "{\r\n \"primarySharedKey\": \"4jlRQtuJn/pp8/0vpCN0j5eYr+C3R03SBza7I1Iav/HqIZNLYwiY2gpIEoAL1O3JHSDStIO4pDnrgYJ/xb3+sg==\",\r\n + \ \"secondarySharedKey\": \"QHdfV5NGC2qFTqC+LC5brGEj9zS2/6SyEXe6j6q9vKctqztLL4fVVMyHkQ/6nR9WnfwbHkuRm32zyASVGzm6hA==\"\r\n}" headers: cache-control: - no-cache @@ -715,7 +715,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:23:29 GMT + - Fri, 13 May 2022 18:39:40 GMT expires: - '-1' pragma: @@ -734,7 +734,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' x-powered-by: - ASP.NET - ASP.NET @@ -745,7 +745,7 @@ interactions: body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": - "a7d389e9-9720-4aea-a4ee-85cc192b0257", "sharedKey": "hEfOxQEhVankoedNlga202Rm1OrdSG8zhnUw7wA23iXXE4fKNEkYMoU+M7qmaQFeS6wTeMGr/fhs+kQBFKxYiQ=="}}}}' + "b7508b70-dbf7-42b3-b1f8-e158d814403c", "sharedKey": "4jlRQtuJn/pp8/0vpCN0j5eYr+C3R03SBza7I1Iav/HqIZNLYwiY2gpIEoAL1O3JHSDStIO4pDnrgYJ/xb3+sg=="}}}}' headers: Accept: - '*/*' @@ -764,23 +764,23 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:23:32.4641651Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:23:32.4641651Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableriver-efdcdf22.eastus.azurecontainerapps.io","staticIp":"20.232.73.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"a7d389e9-9720-4aea-a4ee-85cc192b0257"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0ca47d24-7dcd-4c3a-8891-6ba4c16c5ec5?api-version=2022-01-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0844ccc3-340f-4d7e-9807-0578e80b2b31?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '792' + - '812' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:23:33 GMT + - Fri, 13 May 2022 18:39:40 GMT expires: - '-1' pragma: @@ -816,21 +816,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:23:32.4641651","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:23:32.4641651"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableriver-efdcdf22.eastus.azurecontainerapps.io","staticIp":"20.232.73.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"a7d389e9-9720-4aea-a4ee-85cc192b0257"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:23:33 GMT + - Fri, 13 May 2022 18:39:40 GMT expires: - '-1' pragma: @@ -866,21 +866,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:23:32.4641651","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:23:32.4641651"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableriver-efdcdf22.eastus.azurecontainerapps.io","staticIp":"20.232.73.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"a7d389e9-9720-4aea-a4ee-85cc192b0257"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:23:37 GMT + - Fri, 13 May 2022 18:39:43 GMT expires: - '-1' pragma: @@ -916,21 +916,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:23:32.4641651","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:23:32.4641651"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableriver-efdcdf22.eastus.azurecontainerapps.io","staticIp":"20.232.73.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"a7d389e9-9720-4aea-a4ee-85cc192b0257"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:23:40 GMT + - Fri, 13 May 2022 18:39:45 GMT expires: - '-1' pragma: @@ -966,21 +966,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:23:32.4641651","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:23:32.4641651"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableriver-efdcdf22.eastus.azurecontainerapps.io","staticIp":"20.232.73.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"a7d389e9-9720-4aea-a4ee-85cc192b0257"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:23:42 GMT + - Fri, 13 May 2022 18:39:47 GMT expires: - '-1' pragma: @@ -1016,21 +1016,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:23:32.4641651","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:23:32.4641651"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableriver-efdcdf22.eastus.azurecontainerapps.io","staticIp":"20.232.73.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"a7d389e9-9720-4aea-a4ee-85cc192b0257"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:23:46 GMT + - Fri, 13 May 2022 18:39:50 GMT expires: - '-1' pragma: @@ -1066,21 +1066,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:23:32.4641651","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:23:32.4641651"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableriver-efdcdf22.eastus.azurecontainerapps.io","staticIp":"20.232.73.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"a7d389e9-9720-4aea-a4ee-85cc192b0257"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:23:50 GMT + - Fri, 13 May 2022 18:39:52 GMT expires: - '-1' pragma: @@ -1116,21 +1116,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:23:32.4641651","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:23:32.4641651"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableriver-efdcdf22.eastus.azurecontainerapps.io","staticIp":"20.232.73.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"a7d389e9-9720-4aea-a4ee-85cc192b0257"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:23:53 GMT + - Fri, 13 May 2022 18:39:54 GMT expires: - '-1' pragma: @@ -1166,21 +1166,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:23:32.4641651","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:23:32.4641651"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableriver-efdcdf22.eastus.azurecontainerapps.io","staticIp":"20.232.73.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"a7d389e9-9720-4aea-a4ee-85cc192b0257"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:23:56 GMT + - Fri, 13 May 2022 18:39:55 GMT expires: - '-1' pragma: @@ -1216,21 +1216,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:23:32.4641651","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:23:32.4641651"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableriver-efdcdf22.eastus.azurecontainerapps.io","staticIp":"20.232.73.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"a7d389e9-9720-4aea-a4ee-85cc192b0257"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:23:59 GMT + - Fri, 13 May 2022 18:39:58 GMT expires: - '-1' pragma: @@ -1266,21 +1266,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:23:32.4641651","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:23:32.4641651"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableriver-efdcdf22.eastus.azurecontainerapps.io","staticIp":"20.232.73.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"a7d389e9-9720-4aea-a4ee-85cc192b0257"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:24:02 GMT + - Fri, 13 May 2022 18:40:00 GMT expires: - '-1' pragma: @@ -1316,21 +1316,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:23:32.4641651","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:23:32.4641651"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableriver-efdcdf22.eastus.azurecontainerapps.io","staticIp":"20.232.73.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"a7d389e9-9720-4aea-a4ee-85cc192b0257"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:24:04 GMT + - Fri, 13 May 2022 18:40:02 GMT expires: - '-1' pragma: @@ -1366,21 +1366,371 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:23:32.4641651","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:23:32.4641651"},"properties":{"provisioningState":"Succeeded","defaultDomain":"agreeableriver-efdcdf22.eastus.azurecontainerapps.io","staticIp":"20.232.73.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"a7d389e9-9720-4aea-a4ee-85cc192b0257"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '792' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:24:08 GMT + - Fri, 13 May 2022 18:40:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '810' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:40: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '810' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:40: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '810' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:40:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '810' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:40: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '810' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:40:15 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '810' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:40: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Succeeded","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:40:19 GMT expires: - '-1' pragma: @@ -1448,7 +1798,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:24:08 GMT + - Fri, 13 May 2022 18:40:20 GMT expires: - '-1' pragma: @@ -1478,21 +1828,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:23:32.4641651","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:23:32.4641651"},"properties":{"provisioningState":"Succeeded","defaultDomain":"agreeableriver-efdcdf22.eastus.azurecontainerapps.io","staticIp":"20.232.73.32","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"a7d389e9-9720-4aea-a4ee-85cc192b0257"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Succeeded","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '792' + - '812' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:24:09 GMT + - Fri, 13 May 2022 18:40:20 GMT expires: - '-1' pragma: @@ -1560,7 +1910,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:24:09 GMT + - Fri, 13 May 2022 18:40:20 GMT expires: - '-1' pragma: @@ -1602,24 +1952,24 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:24:12.3814973Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:24:12.3814973Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.119.112.58","20.119.113.167","52.226.239.243"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.agreeableriver-efdcdf22.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":1,"maxReplicas":1}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:40:21.2330419Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:40:21.2330419Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.92.172","20.237.92.174","20.237.92.178"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.bravesky-94d3cdc2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":1,"maxReplicas":1}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/add8c8c7-8e6e-4f7e-b3c7-e54fe3463943?api-version=2022-01-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/c14e7a30-2bce-4c05-a9a1-fd9a5c0f2b91?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '1377' + - '1373' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:24:14 GMT + - Fri, 13 May 2022 18:40:23 GMT expires: - '-1' pragma: @@ -1655,22 +2005,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:24:12.3814973","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:24:12.3814973"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.119.112.58","20.119.113.167","52.226.239.243"],"latestRevisionName":"foo--qpenaer","latestRevisionFqdn":"foo--qpenaer.agreeableriver-efdcdf22.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.agreeableriver-efdcdf22.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":1,"maxReplicas":1}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:40:21.2330419","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:40:21.2330419"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.92.172","20.237.92.174","20.237.92.178"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.bravesky-94d3cdc2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":1,"maxReplicas":1}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1452' + - '1371' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:24:16 GMT + - Fri, 13 May 2022 18:40:22 GMT expires: - '-1' pragma: @@ -1706,22 +2056,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:24:12.3814973","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:24:12.3814973"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.119.112.58","20.119.113.167","52.226.239.243"],"latestRevisionName":"foo--qpenaer","latestRevisionFqdn":"foo--qpenaer.agreeableriver-efdcdf22.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.agreeableriver-efdcdf22.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":1,"maxReplicas":1}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:40:21.2330419","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:40:21.2330419"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.92.172","20.237.92.174","20.237.92.178"],"latestRevisionName":"foo--sml883x","latestRevisionFqdn":"foo--sml883x.bravesky-94d3cdc2.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.bravesky-94d3cdc2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":1,"maxReplicas":1}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1452' + - '1442' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:24:19 GMT + - Fri, 13 May 2022 18:40:25 GMT expires: - '-1' pragma: @@ -1757,22 +2107,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:24:12.3814973","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:24:12.3814973"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.119.112.58","20.119.113.167","52.226.239.243"],"latestRevisionName":"foo--qpenaer","latestRevisionFqdn":"foo--qpenaer.agreeableriver-efdcdf22.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.agreeableriver-efdcdf22.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":1,"maxReplicas":1}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:40:21.2330419","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:40:21.2330419"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.92.172","20.237.92.174","20.237.92.178"],"latestRevisionName":"foo--sml883x","latestRevisionFqdn":"foo--sml883x.bravesky-94d3cdc2.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.bravesky-94d3cdc2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":1,"maxReplicas":1}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1452' + - '1442' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:24:23 GMT + - Fri, 13 May 2022 18:40:28 GMT expires: - '-1' pragma: @@ -1808,22 +2158,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:24:12.3814973","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:24:12.3814973"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.119.112.58","20.119.113.167","52.226.239.243"],"latestRevisionName":"foo--qpenaer","latestRevisionFqdn":"foo--qpenaer.agreeableriver-efdcdf22.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.agreeableriver-efdcdf22.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":1,"maxReplicas":1}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:40:21.2330419","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:40:21.2330419"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.92.172","20.237.92.174","20.237.92.178"],"latestRevisionName":"foo--sml883x","latestRevisionFqdn":"foo--sml883x.bravesky-94d3cdc2.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.bravesky-94d3cdc2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":1,"maxReplicas":1}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1451' + - '1441' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:24:26 GMT + - Fri, 13 May 2022 18:40:30 GMT expires: - '-1' pragma: diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_replicas_replicated_mode.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_replicas_replicated_mode.yaml index 31f5020a75f..be23fc81780 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_replicas_replicated_mode.yaml +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_replicas_replicated_mode.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-12T20:24:35Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T18:40:31Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:24:36 GMT + - Fri, 13 May 2022 18:40:31 GMT expires: - '-1' pragma: @@ -57,7 +57,7 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' @@ -71,7 +71,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:24:35 GMT + - Fri, 13 May 2022 18:40:31 GMT expires: - '-1' pragma: @@ -104,7 +104,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-12T20:24:35Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T18:40:31Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -113,7 +113,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:24:36 GMT + - Fri, 13 May 2022 18:40:31 GMT expires: - '-1' pragma: @@ -175,7 +175,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:24:36 GMT + - Fri, 13 May 2022 18:40:32 GMT expires: - '-1' pragma: @@ -237,7 +237,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:24:36 GMT + - Fri, 13 May 2022 18:40:31 GMT expires: - '-1' pragma: @@ -390,7 +390,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:24:36 GMT + - Fri, 13 May 2022 18:40:32 GMT expires: - '-1' pragma: @@ -543,7 +543,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:24:36 GMT + - Fri, 13 May 2022 18:40:31 GMT expires: - '-1' pragma: @@ -582,16 +582,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"fb145fe0-f088-4702-aaf1-38d3a6cb7040\",\r\n \"provisioningState\": \"Creating\",\r\n + \"9c6f3de7-5803-4b93-805a-22c72fad45cc\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Thu, 12 May 2022 20:24:39 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 18:40:33 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Fri, 13 May 2022 04:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Sat, 14 May 2022 15:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Thu, 12 May 2022 20:24:39 GMT\",\r\n - \ \"modifiedDate\": \"Thu, 12 May 2022 20:24:39 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 18:40:33 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 18:40:33 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -603,7 +603,7 @@ interactions: content-type: - application/json date: - - Thu, 12 May 2022 20:24:39 GMT + - Fri, 13 May 2022 18:40:32 GMT pragma: - no-cache server: @@ -641,16 +641,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"fb145fe0-f088-4702-aaf1-38d3a6cb7040\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"9c6f3de7-5803-4b93-805a-22c72fad45cc\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Thu, 12 May 2022 20:24:39 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 18:40:33 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Fri, 13 May 2022 04:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Sat, 14 May 2022 15:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Thu, 12 May 2022 20:24:39 GMT\",\r\n - \ \"modifiedDate\": \"Thu, 12 May 2022 20:24:40 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 18:40:33 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 18:40:45 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -662,7 +662,7 @@ interactions: content-type: - application/json date: - - Thu, 12 May 2022 20:25:09 GMT + - Fri, 13 May 2022 18:41:04 GMT pragma: - no-cache server: @@ -703,8 +703,8 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 response: body: - string: "{\r\n \"primarySharedKey\": \"b1eG+4HuHZteWOWW3AC+Oa2PcXOjD4gThSeoxTp3sC+Qdx16UvXZXHov6ECkUPN5QvV/X6vG/CHer7Tg4FZfzQ==\",\r\n - \ \"secondarySharedKey\": \"xqD4TYlCoWdRsX87ygrUsTkYDVU3Na208SF747ZVj7GpT5o31Z4PdGsdifYe8K9Zy2aB59NpN8lafOmyz6aA5Q==\"\r\n}" + string: "{\r\n \"primarySharedKey\": \"U9WUmvfKQVoq4CP6KFab6N4OdxOIpQe2xaat9eILzD7XTNy/5XpE/uCY1tPqLym+qH8SvIzWxxpuWiZV/sD9LA==\",\r\n + \ \"secondarySharedKey\": \"lbc9mD7Hfrooc88ryk6GNGnpiLuu+jbeYX4klzxBrfEkJlC8XeVBbygqGPUkpGevTZe7Z6Y+ZJmB+DqrgYHWDw==\"\r\n}" headers: cache-control: - no-cache @@ -715,7 +715,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:25:10 GMT + - Fri, 13 May 2022 18:41:04 GMT expires: - '-1' pragma: @@ -745,7 +745,7 @@ interactions: body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": - "fb145fe0-f088-4702-aaf1-38d3a6cb7040", "sharedKey": "b1eG+4HuHZteWOWW3AC+Oa2PcXOjD4gThSeoxTp3sC+Qdx16UvXZXHov6ECkUPN5QvV/X6vG/CHer7Tg4FZfzQ=="}}}}' + "9c6f3de7-5803-4b93-805a-22c72fad45cc", "sharedKey": "U9WUmvfKQVoq4CP6KFab6N4OdxOIpQe2xaat9eILzD7XTNy/5XpE/uCY1tPqLym+qH8SvIzWxxpuWiZV/sD9LA=="}}}}' headers: Accept: - '*/*' @@ -764,23 +764,23 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:13.2419008Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:13.2419008Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudwater-193c2c85.eastus.azurecontainerapps.io","staticIp":"20.237.48.132","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb145fe0-f088-4702-aaf1-38d3a6cb7040"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/cc47b712-edab-4253-9df5-5be706a2ec25?api-version=2022-01-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/1e680c59-4c01-41aa-9e9f-511ca25232f4?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '789' + - '812' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:25:14 GMT + - Fri, 13 May 2022 18:41:07 GMT expires: - '-1' pragma: @@ -816,21 +816,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:13.2419008","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:13.2419008"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudwater-193c2c85.eastus.azurecontainerapps.io","staticIp":"20.237.48.132","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb145fe0-f088-4702-aaf1-38d3a6cb7040"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:25:15 GMT + - Fri, 13 May 2022 18:41:07 GMT expires: - '-1' pragma: @@ -866,21 +866,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:13.2419008","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:13.2419008"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudwater-193c2c85.eastus.azurecontainerapps.io","staticIp":"20.237.48.132","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb145fe0-f088-4702-aaf1-38d3a6cb7040"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:25:18 GMT + - Fri, 13 May 2022 18:41:08 GMT expires: - '-1' pragma: @@ -916,21 +916,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:13.2419008","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:13.2419008"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudwater-193c2c85.eastus.azurecontainerapps.io","staticIp":"20.237.48.132","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb145fe0-f088-4702-aaf1-38d3a6cb7040"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:25:21 GMT + - Fri, 13 May 2022 18:41:11 GMT expires: - '-1' pragma: @@ -966,21 +966,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:13.2419008","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:13.2419008"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudwater-193c2c85.eastus.azurecontainerapps.io","staticIp":"20.237.48.132","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb145fe0-f088-4702-aaf1-38d3a6cb7040"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:25:24 GMT + - Fri, 13 May 2022 18:41:13 GMT expires: - '-1' pragma: @@ -1016,21 +1016,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:13.2419008","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:13.2419008"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudwater-193c2c85.eastus.azurecontainerapps.io","staticIp":"20.237.48.132","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb145fe0-f088-4702-aaf1-38d3a6cb7040"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:25:27 GMT + - Fri, 13 May 2022 18:41:15 GMT expires: - '-1' pragma: @@ -1066,21 +1066,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:13.2419008","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:13.2419008"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudwater-193c2c85.eastus.azurecontainerapps.io","staticIp":"20.237.48.132","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb145fe0-f088-4702-aaf1-38d3a6cb7040"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:25:31 GMT + - Fri, 13 May 2022 18:41:17 GMT expires: - '-1' pragma: @@ -1116,21 +1116,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:13.2419008","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:13.2419008"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudwater-193c2c85.eastus.azurecontainerapps.io","staticIp":"20.237.48.132","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb145fe0-f088-4702-aaf1-38d3a6cb7040"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:25:33 GMT + - Fri, 13 May 2022 18:41:19 GMT expires: - '-1' pragma: @@ -1166,21 +1166,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:13.2419008","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:13.2419008"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudwater-193c2c85.eastus.azurecontainerapps.io","staticIp":"20.237.48.132","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb145fe0-f088-4702-aaf1-38d3a6cb7040"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:25:36 GMT + - Fri, 13 May 2022 18:41:22 GMT expires: - '-1' pragma: @@ -1216,21 +1216,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:13.2419008","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:13.2419008"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudwater-193c2c85.eastus.azurecontainerapps.io","staticIp":"20.237.48.132","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb145fe0-f088-4702-aaf1-38d3a6cb7040"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:25:39 GMT + - Fri, 13 May 2022 18:41:24 GMT expires: - '-1' pragma: @@ -1266,21 +1266,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:13.2419008","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:13.2419008"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudwater-193c2c85.eastus.azurecontainerapps.io","staticIp":"20.237.48.132","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb145fe0-f088-4702-aaf1-38d3a6cb7040"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:25:43 GMT + - Fri, 13 May 2022 18:41:25 GMT expires: - '-1' pragma: @@ -1316,21 +1316,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:13.2419008","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:13.2419008"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudwater-193c2c85.eastus.azurecontainerapps.io","staticIp":"20.237.48.132","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb145fe0-f088-4702-aaf1-38d3a6cb7040"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:25:45 GMT + - Fri, 13 May 2022 18:41:28 GMT expires: - '-1' pragma: @@ -1366,21 +1366,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:13.2419008","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:13.2419008"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudwater-193c2c85.eastus.azurecontainerapps.io","staticIp":"20.237.48.132","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb145fe0-f088-4702-aaf1-38d3a6cb7040"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:25:48 GMT + - Fri, 13 May 2022 18:41:30 GMT expires: - '-1' pragma: @@ -1416,21 +1416,421 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:13.2419008","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:13.2419008"},"properties":{"provisioningState":"Succeeded","defaultDomain":"proudwater-193c2c85.eastus.azurecontainerapps.io","staticIp":"20.237.48.132","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb145fe0-f088-4702-aaf1-38d3a6cb7040"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '789' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:25:52 GMT + - Fri, 13 May 2022 18:41: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '810' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:41:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '810' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:41:37 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '810' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:41:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '810' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:41: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '810' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:41:43 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '810' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:41: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '810' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:41:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Succeeded","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:41:49 GMT expires: - '-1' pragma: @@ -1498,7 +1898,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:25:52 GMT + - Fri, 13 May 2022 18:41:49 GMT expires: - '-1' pragma: @@ -1528,21 +1928,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:13.2419008","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:13.2419008"},"properties":{"provisioningState":"Succeeded","defaultDomain":"proudwater-193c2c85.eastus.azurecontainerapps.io","staticIp":"20.237.48.132","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb145fe0-f088-4702-aaf1-38d3a6cb7040"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Succeeded","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '789' + - '812' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:25:54 GMT + - Fri, 13 May 2022 18:41:50 GMT expires: - '-1' pragma: @@ -1610,7 +2010,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:25:54 GMT + - Fri, 13 May 2022 18:41:50 GMT expires: - '-1' pragma: @@ -1652,24 +2052,24 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:57.5332244Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:57.5332244Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.5.130","20.232.5.134","20.232.5.133"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.proudwater-193c2c85.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":6,"maxReplicas":6}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:51.3224212Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:51.3224212Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.40.186","20.237.40.172","20.237.40.189"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowmoss-962f21a2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":6,"maxReplicas":6}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/e1e1b276-aeb4-4af9-a1f4-3c7c0deb5ee7?api-version=2022-01-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/64bda469-eefd-442d-ac8a-cc408796f8ce?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '1368' + - '1375' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:25:59 GMT + - Fri, 13 May 2022 18:41:52 GMT expires: - '-1' pragma: @@ -1705,22 +2105,175 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:51.3224212","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:51.3224212"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.40.186","20.237.40.172","20.237.40.189"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowmoss-962f21a2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":6,"maxReplicas":6}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1373' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:41:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:51.3224212","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:51.3224212"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.40.186","20.237.40.172","20.237.40.189"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowmoss-962f21a2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":6,"maxReplicas":6}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1373' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:41:54 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:51.3224212","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:51.3224212"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.40.186","20.237.40.172","20.237.40.189"],"latestRevisionName":"foo--qzeghdm","latestRevisionFqdn":"foo--qzeghdm.yellowmoss-962f21a2.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowmoss-962f21a2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":6,"maxReplicas":6}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1446' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:41:57 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:57.5332244","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:57.5332244"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.5.130","20.232.5.134","20.232.5.133"],"latestRevisionName":"foo--8hfcw3r","latestRevisionFqdn":"foo--8hfcw3r.proudwater-193c2c85.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.proudwater-193c2c85.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":6,"maxReplicas":6}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:51.3224212","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:51.3224212"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.40.186","20.237.40.172","20.237.40.189"],"latestRevisionName":"foo--qzeghdm","latestRevisionFqdn":"foo--qzeghdm.yellowmoss-962f21a2.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowmoss-962f21a2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":6,"maxReplicas":6}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1439' + - '1446' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:26:02 GMT + - Fri, 13 May 2022 18:41:59 GMT expires: - '-1' pragma: @@ -1756,22 +2309,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:57.5332244","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:57.5332244"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.5.130","20.232.5.134","20.232.5.133"],"latestRevisionName":"foo--8hfcw3r","latestRevisionFqdn":"foo--8hfcw3r.proudwater-193c2c85.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.proudwater-193c2c85.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":6,"maxReplicas":6}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:51.3224212","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:51.3224212"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.40.186","20.237.40.172","20.237.40.189"],"latestRevisionName":"foo--qzeghdm","latestRevisionFqdn":"foo--qzeghdm.yellowmoss-962f21a2.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowmoss-962f21a2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":6,"maxReplicas":6}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1439' + - '1446' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:26:05 GMT + - Fri, 13 May 2022 18:42:02 GMT expires: - '-1' pragma: @@ -1807,22 +2360,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:25:57.5332244","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:25:57.5332244"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.5.130","20.232.5.134","20.232.5.133"],"latestRevisionName":"foo--8hfcw3r","latestRevisionFqdn":"foo--8hfcw3r.proudwater-193c2c85.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.proudwater-193c2c85.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":6,"maxReplicas":6}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:51.3224212","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:51.3224212"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.40.186","20.237.40.172","20.237.40.189"],"latestRevisionName":"foo--qzeghdm","latestRevisionFqdn":"foo--qzeghdm.yellowmoss-962f21a2.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowmoss-962f21a2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":6,"maxReplicas":6}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1438' + - '1445' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:26:08 GMT + - Fri, 13 May 2022 18:42:04 GMT expires: - '-1' pragma: diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_cpus_and_deploy_cpu.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_resources_from_both_cpus_and_deploy_cpu.yaml similarity index 69% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_cpus_and_deploy_cpu.yaml rename to src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_resources_from_both_cpus_and_deploy_cpu.yaml index 42306c5c69d..1452145490d 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_cpus_and_deploy_cpu.yaml +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_resources_from_both_cpus_and_deploy_cpu.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T23:12:08Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T17:16:34Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:12:08 GMT + - Fri, 13 May 2022 17:16:34 GMT expires: - '-1' pragma: @@ -57,7 +57,7 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' @@ -71,7 +71,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:12:09 GMT + - Fri, 13 May 2022 17:16:34 GMT expires: - '-1' pragma: @@ -104,7 +104,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T23:12:08Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T17:16:34Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -113,7 +113,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:12:09 GMT + - Fri, 13 May 2022 17:16:35 GMT expires: - '-1' pragma: @@ -175,7 +175,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:12:09 GMT + - Fri, 13 May 2022 17:16:35 GMT expires: - '-1' pragma: @@ -237,7 +237,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:12:08 GMT + - Fri, 13 May 2022 17:16:34 GMT expires: - '-1' pragma: @@ -390,7 +390,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:12:09 GMT + - Fri, 13 May 2022 17:16:35 GMT expires: - '-1' pragma: @@ -543,7 +543,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:12:09 GMT + - Fri, 13 May 2022 17:16:35 GMT expires: - '-1' pragma: @@ -582,16 +582,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"0a1e886d-5a00-47bd-8c66-f1503ca4beb7\",\r\n \"provisioningState\": \"Creating\",\r\n + \"651ff391-0f66-422d-9e5d-3da4eb788e45\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 23:12:15 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 17:16:37 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Sat, 07 May 2022 22:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Sat, 14 May 2022 15:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 23:12:13 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 23:12:13 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 17:16:37 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 17:16:37 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -603,7 +603,7 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 23:12:15 GMT + - Fri, 13 May 2022 17:16:37 GMT pragma: - no-cache server: @@ -614,7 +614,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' x-powered-by: - ASP.NET - ASP.NET @@ -641,16 +641,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"0a1e886d-5a00-47bd-8c66-f1503ca4beb7\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"651ff391-0f66-422d-9e5d-3da4eb788e45\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 23:12:15 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 17:16:37 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Sat, 07 May 2022 22:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Sat, 14 May 2022 15:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 23:12:15 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 23:12:16 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 17:16:37 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 17:16:38 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -662,7 +662,7 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 23:12:45 GMT + - Fri, 13 May 2022 17:17:07 GMT pragma: - no-cache server: @@ -703,8 +703,8 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 response: body: - string: "{\r\n \"primarySharedKey\": \"SBcYNDZKUSsJF/qfZNyi8hy149IFSDmprJFH93FDWPPdoAKWa25yDtAPshSeeqlxAldqRlV7bZUkFoB9tpVMJA==\",\r\n - \ \"secondarySharedKey\": \"AI55GyDRcVVgDf8zH65HZj+KT3cHtYdTG70O+8cBv2rKp0RB5Wd08nsRXyeCameNkNsIRH77Ouap4AWINTqlQQ==\"\r\n}" + string: "{\r\n \"primarySharedKey\": \"QbL+gu+8JEFc6OWj5RvRSv05gFHv5sQIVrctGX1tSA9pkULIrvzevJqDfcCFjH/apXlRrD3zLvJN1gs/xJ0LNg==\",\r\n + \ \"secondarySharedKey\": \"/+WT1hH0jfOrT/5hFwyMcoB3Cf26+MMu1yO2xidve1IiLY3GX0Fo9aXr9CcKmmP5dNwW3z0+WHH0QuJiluqOxw==\"\r\n}" headers: cache-control: - no-cache @@ -715,7 +715,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:12:46 GMT + - Fri, 13 May 2022 17:17:10 GMT expires: - '-1' pragma: @@ -734,7 +734,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET - ASP.NET @@ -745,7 +745,7 @@ interactions: body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": - "0a1e886d-5a00-47bd-8c66-f1503ca4beb7", "sharedKey": "SBcYNDZKUSsJF/qfZNyi8hy149IFSDmprJFH93FDWPPdoAKWa25yDtAPshSeeqlxAldqRlV7bZUkFoB9tpVMJA=="}}}}' + "651ff391-0f66-422d-9e5d-3da4eb788e45", "sharedKey": "QbL+gu+8JEFc6OWj5RvRSv05gFHv5sQIVrctGX1tSA9pkULIrvzevJqDfcCFjH/apXlRrD3zLvJN1gs/xJ0LNg=="}}}}' headers: Accept: - '*/*' @@ -764,23 +764,23 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/a6ad5f7e-15f0-4cd5-b8ab-6694fac5cd74?api-version=2022-01-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0b278971-2d66-4913-9901-adb578cab7ea?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '789' + - '813' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:12:50 GMT + - Fri, 13 May 2022 17:17:10 GMT expires: - '-1' pragma: @@ -793,8 +793,8 @@ interactions: - nosniff x-ms-async-operation-timeout: - PT15M - x-ms-ratelimit-remaining-subscription-writes: - - '1199' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '95' x-powered-by: - ASP.NET status: @@ -816,21 +816,171 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '811' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 17:17: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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '811' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 17:17: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '811' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 17:17:15 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '811' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:12:51 GMT + - Fri, 13 May 2022 17:17:16 GMT expires: - '-1' pragma: @@ -866,21 +1016,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '811' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:12:55 GMT + - Fri, 13 May 2022 17:17:19 GMT expires: - '-1' pragma: @@ -916,21 +1066,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '811' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:12:57 GMT + - Fri, 13 May 2022 17:17:21 GMT expires: - '-1' pragma: @@ -966,21 +1116,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '811' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:12:59 GMT + - Fri, 13 May 2022 17:17:23 GMT expires: - '-1' pragma: @@ -1016,21 +1166,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '811' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:13:03 GMT + - Fri, 13 May 2022 17:17:25 GMT expires: - '-1' pragma: @@ -1066,21 +1216,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '811' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:13:05 GMT + - Fri, 13 May 2022 17:17:27 GMT expires: - '-1' pragma: @@ -1116,21 +1266,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '811' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:13:08 GMT + - Fri, 13 May 2022 17:17:29 GMT expires: - '-1' pragma: @@ -1166,21 +1316,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '811' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:13:11 GMT + - Fri, 13 May 2022 17:17:31 GMT expires: - '-1' pragma: @@ -1216,21 +1366,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '811' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:13:13 GMT + - Fri, 13 May 2022 17:17:33 GMT expires: - '-1' pragma: @@ -1266,21 +1416,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '811' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:13:15 GMT + - Fri, 13 May 2022 17:17:35 GMT expires: - '-1' pragma: @@ -1316,21 +1466,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '811' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:13:19 GMT + - Fri, 13 May 2022 17:17:37 GMT expires: - '-1' pragma: @@ -1366,21 +1516,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '811' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:13:21 GMT + - Fri, 13 May 2022 17:17:40 GMT expires: - '-1' pragma: @@ -1416,21 +1566,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '811' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:13:23 GMT + - Fri, 13 May 2022 17:17:42 GMT expires: - '-1' pragma: @@ -1466,21 +1616,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '811' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:13:26 GMT + - Fri, 13 May 2022 17:17:44 GMT expires: - '-1' pragma: @@ -1516,21 +1666,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '811' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:13:29 GMT + - Fri, 13 May 2022 17:17:46 GMT expires: - '-1' pragma: @@ -1566,21 +1716,71 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Succeeded","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '789' + - '811' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:13:32 GMT + - Fri, 13 May 2022 17:17:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Succeeded","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '813' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 17:17:50 GMT expires: - '-1' pragma: @@ -1648,7 +1848,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:13:32 GMT + - Fri, 13 May 2022 17:17:50 GMT expires: - '-1' pragma: @@ -1678,21 +1878,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:12:49.5425712","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:12:49.5425712"},"properties":{"provisioningState":"Succeeded","defaultDomain":"ashyglacier-8986e7d4.eastus.azurecontainerapps.io","staticIp":"20.121.85.76","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0a1e886d-5a00-47bd-8c66-f1503ca4beb7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Succeeded","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '789' + - '813' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:13:33 GMT + - Fri, 13 May 2022 17:17:51 GMT expires: - '-1' pragma: @@ -1760,7 +1960,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:13:33 GMT + - Fri, 13 May 2022 17:17:50 GMT expires: - '-1' pragma: @@ -1802,24 +2002,24 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:13:36.2289512Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:13:36.2289512Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.80.69","20.121.80.8","20.121.80.0"],"latestRevisionName":"foo--m3k3mr0","latestRevisionFqdn":"foo--m3k3mr0.internal.ashyglacier-8986e7d4.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyglacier-8986e7d4.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/83698323-fdad-404b-8f9c-28fd5c4f0ece?api-version=2022-01-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/31bb2c52-3b61-4314-9edd-ffa647c64d22?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '1450' + - '1370' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:13:39 GMT + - Fri, 13 May 2022 17:17:54 GMT expires: - '-1' pragma: @@ -1832,8 +2032,8 @@ interactions: - nosniff x-ms-async-operation-timeout: - PT15M - x-ms-ratelimit-remaining-subscription-writes: - - '1199' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '499' x-powered-by: - ASP.NET status: @@ -1855,11 +2055,266 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"foo--otu5fgc","latestRevisionFqdn":"foo--otu5fgc.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1448' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 17:17:54 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"foo--otu5fgc","latestRevisionFqdn":"foo--otu5fgc.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1448' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 17:17:57 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"foo--otu5fgc","latestRevisionFqdn":"foo--otu5fgc.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1448' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 17:17:59 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"foo--otu5fgc","latestRevisionFqdn":"foo--otu5fgc.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1448' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 17:18: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"foo--otu5fgc","latestRevisionFqdn":"foo--otu5fgc.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1448' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 17:18:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:13:36.2289512","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:13:36.2289512"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.80.69","20.121.80.8","20.121.80.0"],"latestRevisionName":"foo--m3k3mr0","latestRevisionFqdn":"foo--m3k3mr0.internal.ashyglacier-8986e7d4.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyglacier-8986e7d4.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"foo--otu5fgc","latestRevisionFqdn":"foo--otu5fgc.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1870,7 +2325,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:13:40 GMT + - Fri, 13 May 2022 17:18:05 GMT expires: - '-1' pragma: @@ -1906,11 +2361,11 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:13:36.2289512","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:13:36.2289512"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.80.69","20.121.80.8","20.121.80.0"],"latestRevisionName":"foo--m3k3mr0","latestRevisionFqdn":"foo--m3k3mr0.internal.ashyglacier-8986e7d4.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyglacier-8986e7d4.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"foo--otu5fgc","latestRevisionFqdn":"foo--otu5fgc.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1921,7 +2376,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:13:43 GMT + - Fri, 13 May 2022 17:18:07 GMT expires: - '-1' pragma: @@ -1957,11 +2412,11 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:13:36.2289512","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:13:36.2289512"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.80.69","20.121.80.8","20.121.80.0"],"latestRevisionName":"foo--m3k3mr0","latestRevisionFqdn":"foo--m3k3mr0.internal.ashyglacier-8986e7d4.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyglacier-8986e7d4.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"foo--otu5fgc","latestRevisionFqdn":"foo--otu5fgc.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1972,7 +2427,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:13:46 GMT + - Fri, 13 May 2022 17:18:10 GMT expires: - '-1' pragma: @@ -2008,11 +2463,11 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:13:36.2289512","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:13:36.2289512"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.80.69","20.121.80.8","20.121.80.0"],"latestRevisionName":"foo--m3k3mr0","latestRevisionFqdn":"foo--m3k3mr0.internal.ashyglacier-8986e7d4.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyglacier-8986e7d4.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"foo--otu5fgc","latestRevisionFqdn":"foo--otu5fgc.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2023,7 +2478,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:13:49 GMT + - Fri, 13 May 2022 17:18:12 GMT expires: - '-1' pragma: @@ -2059,11 +2514,11 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:13:36.2289512","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:13:36.2289512"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.80.69","20.121.80.8","20.121.80.0"],"latestRevisionName":"foo--m3k3mr0","latestRevisionFqdn":"foo--m3k3mr0.internal.ashyglacier-8986e7d4.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.ashyglacier-8986e7d4.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"foo--otu5fgc","latestRevisionFqdn":"foo--otu5fgc.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2074,7 +2529,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:13:52 GMT + - Fri, 13 May 2022 17:18:13 GMT expires: - '-1' pragma: diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_external_ingress.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_resources_from_deploy_cpu.yaml similarity index 77% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_external_ingress.yaml rename to src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_resources_from_deploy_cpu.yaml index 8108feccc6e..b43516548d1 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_external_ingress.yaml +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_resources_from_deploy_cpu.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:50:43Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T17:18:15Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:50:43 GMT + - Fri, 13 May 2022 17:18:15 GMT expires: - '-1' pragma: @@ -57,7 +57,7 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' @@ -71,7 +71,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:50:44 GMT + - Fri, 13 May 2022 17:18:15 GMT expires: - '-1' pragma: @@ -104,7 +104,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:50:43Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T17:18:15Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -113,7 +113,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:50:44 GMT + - Fri, 13 May 2022 17:18:16 GMT expires: - '-1' pragma: @@ -175,7 +175,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:50:44 GMT + - Fri, 13 May 2022 17:18:15 GMT expires: - '-1' pragma: @@ -237,7 +237,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:50:44 GMT + - Fri, 13 May 2022 17:18:16 GMT expires: - '-1' pragma: @@ -390,7 +390,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:50:44 GMT + - Fri, 13 May 2022 17:18:16 GMT expires: - '-1' pragma: @@ -543,7 +543,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:50:44 GMT + - Fri, 13 May 2022 17:18:16 GMT expires: - '-1' pragma: @@ -582,16 +582,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"bdb77cbe-bc1b-4c05-8671-4138bf07bbed\",\r\n \"provisioningState\": \"Creating\",\r\n + \"b40959ae-fa83-4df0-8ec4-57a288d94486\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 22:50:46 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 17:18:18 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Sat, 07 May 2022 15:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Sat, 14 May 2022 09:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:50:46 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 22:50:46 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 17:18:18 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 17:18:18 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -603,7 +603,7 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 22:50:47 GMT + - Fri, 13 May 2022 17:18:17 GMT pragma: - no-cache server: @@ -641,16 +641,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"bdb77cbe-bc1b-4c05-8671-4138bf07bbed\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"b40959ae-fa83-4df0-8ec4-57a288d94486\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 22:50:46 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 17:18:18 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Sat, 07 May 2022 15:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Sat, 14 May 2022 09:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:50:46 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 22:50:47 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 17:18:18 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 17:18:19 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -662,7 +662,7 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 22:51:17 GMT + - Fri, 13 May 2022 17:18:47 GMT pragma: - no-cache server: @@ -703,8 +703,8 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 response: body: - string: "{\r\n \"primarySharedKey\": \"en8JOqt6sD34Eqx/h5LZcC+BHDblBuNBEztreQK7paRIGIN7YhqUlY76JsM1rIsQvWV7wya+T7p0gGzTIFgFoQ==\",\r\n - \ \"secondarySharedKey\": \"hbp6gLBESuQEXdgyUJwI/4uZ7KI5V+ts/322Mck3vifkTOK9mKtmZFBPbmpT9unFc4AqlPcZNi5Xdh9Cyc7pvw==\"\r\n}" + string: "{\r\n \"primarySharedKey\": \"gGMtNz/VEVp1UNcUfmwjOp5gL2KarNvO+TUttluXEgGVAcbt0dPFVpKXKk8mSwATDgY6Pn6TXJr3xJa90cN8ow==\",\r\n + \ \"secondarySharedKey\": \"R5t9DR92JuxC7KkmnjxmL/c9dzBWkTmHEMQfZ5i2Znv70R3yOT7EF8GBpWT1y3rzOC4/dfhxH0sPu8T2+bcVIA==\"\r\n}" headers: cache-control: - no-cache @@ -715,7 +715,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:51:18 GMT + - Fri, 13 May 2022 17:18:48 GMT expires: - '-1' pragma: @@ -734,7 +734,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' x-powered-by: - ASP.NET - ASP.NET @@ -745,7 +745,7 @@ interactions: body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": - "bdb77cbe-bc1b-4c05-8671-4138bf07bbed", "sharedKey": "en8JOqt6sD34Eqx/h5LZcC+BHDblBuNBEztreQK7paRIGIN7YhqUlY76JsM1rIsQvWV7wya+T7p0gGzTIFgFoQ=="}}}}' + "b40959ae-fa83-4df0-8ec4-57a288d94486", "sharedKey": "gGMtNz/VEVp1UNcUfmwjOp5gL2KarNvO+TUttluXEgGVAcbt0dPFVpKXKk8mSwATDgY6Pn6TXJr3xJa90cN8ow=="}}}}' headers: Accept: - '*/*' @@ -764,23 +764,23 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/6951e71d-51a5-4c3d-9f8f-05e0b84dedbe?api-version=2022-01-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/64864e8f-8dbf-4e62-b90f-437cc81983c3?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '786' + - '816' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:51:19 GMT + - Fri, 13 May 2022 17:18:49 GMT expires: - '-1' pragma: @@ -793,8 +793,8 @@ interactions: - nosniff x-ms-async-operation-timeout: - PT15M - x-ms-ratelimit-remaining-subscription-writes: - - '1198' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99' x-powered-by: - ASP.NET status: @@ -816,21 +816,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:51:20 GMT + - Fri, 13 May 2022 17:18:49 GMT expires: - '-1' pragma: @@ -866,21 +866,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:51:23 GMT + - Fri, 13 May 2022 17:18:52 GMT expires: - '-1' pragma: @@ -916,21 +916,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:51:26 GMT + - Fri, 13 May 2022 17:18:54 GMT expires: - '-1' pragma: @@ -966,21 +966,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:51:28 GMT + - Fri, 13 May 2022 17:18:56 GMT expires: - '-1' pragma: @@ -1016,21 +1016,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:51:31 GMT + - Fri, 13 May 2022 17:18:58 GMT expires: - '-1' pragma: @@ -1066,21 +1066,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:51:34 GMT + - Fri, 13 May 2022 17:19:00 GMT expires: - '-1' pragma: @@ -1116,21 +1116,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:51:36 GMT + - Fri, 13 May 2022 17:19:02 GMT expires: - '-1' pragma: @@ -1166,21 +1166,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:51:39 GMT + - Fri, 13 May 2022 17:19:05 GMT expires: - '-1' pragma: @@ -1216,21 +1216,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:51:42 GMT + - Fri, 13 May 2022 17:19:07 GMT expires: - '-1' pragma: @@ -1266,21 +1266,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:51:45 GMT + - Fri, 13 May 2022 17:19:09 GMT expires: - '-1' pragma: @@ -1316,21 +1316,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:51:47 GMT + - Fri, 13 May 2022 17:19:11 GMT expires: - '-1' pragma: @@ -1366,21 +1366,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:51:50 GMT + - Fri, 13 May 2022 17:19:13 GMT expires: - '-1' pragma: @@ -1416,21 +1416,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:51:52 GMT + - Fri, 13 May 2022 17:19:15 GMT expires: - '-1' pragma: @@ -1466,21 +1466,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:51:56 GMT + - Fri, 13 May 2022 17:19:17 GMT expires: - '-1' pragma: @@ -1516,21 +1516,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:51:58 GMT + - Fri, 13 May 2022 17:19:19 GMT expires: - '-1' pragma: @@ -1566,21 +1566,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:52:00 GMT + - Fri, 13 May 2022 17:19:21 GMT expires: - '-1' pragma: @@ -1616,21 +1616,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '784' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:52:03 GMT + - Fri, 13 May 2022 17:19:24 GMT expires: - '-1' pragma: @@ -1666,21 +1666,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Succeeded","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '786' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:52:06 GMT + - Fri, 13 May 2022 17:19:26 GMT expires: - '-1' pragma: @@ -1704,7 +1704,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1714,51 +1714,89 @@ interactions: ParameterSetName: - --compose-file-path --resource-group --environment --logs-workspace User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","Canada Central","West Europe","North - Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '2737' + - '814' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:52:06 GMT + - Fri, 13 May 2022 17:19:27 GMT expires: - '-1' pragma: - no-cache + server: + - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked vary: - - Accept-Encoding + - Accept-Encoding,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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '814' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 17:19:30 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET status: code: 200 message: OK @@ -1778,21 +1816,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:51:19.9005148","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:51:19.9005148"},"properties":{"provisioningState":"Succeeded","defaultDomain":"lemonmoss-de50ac20.eastus.azurecontainerapps.io","staticIp":"40.88.23.65","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"bdb77cbe-bc1b-4c05-8671-4138bf07bbed"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Succeeded","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '786' + - '816' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:52:07 GMT + - Fri, 13 May 2022 17:19:32 GMT expires: - '-1' pragma: @@ -1860,7 +1898,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:52:07 GMT + - Fri, 13 May 2022 17:19:33 GMT expires: - '-1' pragma: @@ -1875,16 +1913,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": - null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", - "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": - {"fqdn": null, "external": true, "targetPort": "80", "transport": "auto", "traffic": - null, "customDomains": null}, "dapr": null, "registries": null}, "template": - {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", - "name": "foo", "command": ["/code/entrypoint.sh"], "args": ["echo \"hello world\""], - "env": [{"name": "RACK_ENV", "value": "development"}, {"name": "SHOW", "value": - "true"}, {"name": "BAZ", "value": "\"snafu\""}], "resources": null, "volumeMounts": - null}], "scale": null, "volumes": null}}, "tags": null}' + body: null headers: Accept: - '*/*' @@ -1894,34 +1923,26 @@ interactions: - containerapp compose create Connection: - keep-alive - Content-Length: - - '945' - Content-Type: - - application/json ParameterSetName: - --compose-file-path --resource-group --environment --logs-workspace User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:52:10.0644439Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:52:10.0644439Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.151.242.149","52.151.242.133","52.151.241.203"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.lemonmoss-de50ac20.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Succeeded","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/a588ad11-ccb8-49f3-817c-a0d701a48a74?api-version=2022-01-01-preview&azureAsyncOperation=true cache-control: - no-cache content-length: - - '1540' + - '816' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:52:12 GMT + - Fri, 13 May 2022 17:19:32 GMT expires: - '-1' pragma: @@ -1930,22 +1951,22 @@ interactions: - 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-async-operation-timeout: - - PT15M - x-ms-ratelimit-remaining-subscription-writes: - - '1199' x-powered-by: - ASP.NET status: - code: 201 - message: Created + code: 200 + message: OK - request: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -1955,46 +1976,64 @@ interactions: ParameterSetName: - --compose-file-path --resource-group --environment --logs-workspace User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:52:10.0644439","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:52:10.0644439"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.151.242.149","52.151.242.133","52.151.241.203"],"latestRevisionName":"foo--wctbcn2","latestRevisionFqdn":"foo--wctbcn2.lemonmoss-de50ac20.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.lemonmoss-de50ac20.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + 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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1610' + - '2737' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:52:13 GMT + - Fri, 13 May 2022 17:19: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 + - Accept-Encoding x-content-type-options: - nosniff - x-powered-by: - - ASP.NET status: code: 200 message: OK - request: - body: null + body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": + {"fqdn": null, "external": false, "targetPort": 3000, "transport": "auto", "traffic": + null, "customDomains": null}, "dapr": null, "registries": null}, "template": + {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", + "name": "foo", "command": null, "args": null, "env": null, "resources": {"cpu": + "1.25", "memory": "2.5Gi"}, "volumeMounts": null}], "scale": null, "volumes": + null}}, "tags": null}' headers: Accept: - '*/*' @@ -2004,28 +2043,33 @@ interactions: - containerapp compose create Connection: - keep-alive + Content-Length: + - '821' + Content-Type: + - application/json ParameterSetName: - --compose-file-path --resource-group --environment --logs-workspace User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:52:10.0644439","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:52:10.0644439"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.151.242.149","52.151.242.133","52.151.241.203"],"latestRevisionName":"foo--wctbcn2","latestRevisionFqdn":"foo--wctbcn2.lemonmoss-de50ac20.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.lemonmoss-de50ac20.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:19:33.7435039Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:19:33.7435039Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.36.21","20.237.36.79","20.237.36.82"],"latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/5e51c91b-dfe0-4268-a578-3f7114ae78c6?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '1610' + - '1349' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:52:16 GMT + - Fri, 13 May 2022 17:19:35 GMT expires: - '-1' pragma: @@ -2034,17 +2078,17 @@ interactions: - 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-async-operation-timeout: + - PT15M + x-ms-ratelimit-remaining-subscription-resource-requests: + - '499' x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 201 + message: Created - request: body: null headers: @@ -2061,23 +2105,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:52:10.0644439","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:52:10.0644439"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.151.242.149","52.151.242.133","52.151.241.203"],"latestRevisionName":"foo--wctbcn2","latestRevisionFqdn":"foo--wctbcn2.lemonmoss-de50ac20.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.lemonmoss-de50ac20.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:19:33.7435039","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:19:33.7435039"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.36.21","20.237.36.79","20.237.36.82"],"latestRevisionName":"foo--5zhf09q","latestRevisionFqdn":"foo--5zhf09q.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1610' + - '1454' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:52:19 GMT + - Fri, 13 May 2022 17:19:35 GMT expires: - '-1' pragma: @@ -2113,23 +2156,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:52:10.0644439","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:52:10.0644439"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.151.242.149","52.151.242.133","52.151.241.203"],"latestRevisionName":"foo--wctbcn2","latestRevisionFqdn":"foo--wctbcn2.lemonmoss-de50ac20.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.lemonmoss-de50ac20.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:19:33.7435039","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:19:33.7435039"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.36.21","20.237.36.79","20.237.36.82"],"latestRevisionName":"foo--5zhf09q","latestRevisionFqdn":"foo--5zhf09q.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1610' + - '1454' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:52:22 GMT + - Fri, 13 May 2022 17:19:37 GMT expires: - '-1' pragma: @@ -2165,23 +2207,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:52:10.0644439","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:52:10.0644439"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.151.242.149","52.151.242.133","52.151.241.203"],"latestRevisionName":"foo--wctbcn2","latestRevisionFqdn":"foo--wctbcn2.lemonmoss-de50ac20.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.lemonmoss-de50ac20.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:19:33.7435039","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:19:33.7435039"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.36.21","20.237.36.79","20.237.36.82"],"latestRevisionName":"foo--5zhf09q","latestRevisionFqdn":"foo--5zhf09q.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1610' + - '1454' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:52:25 GMT + - Fri, 13 May 2022 17:19:40 GMT expires: - '-1' pragma: @@ -2217,23 +2258,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:52:10.0644439","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:52:10.0644439"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.151.242.149","52.151.242.133","52.151.241.203"],"latestRevisionName":"foo--wctbcn2","latestRevisionFqdn":"foo--wctbcn2.lemonmoss-de50ac20.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.lemonmoss-de50ac20.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:19:33.7435039","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:19:33.7435039"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.36.21","20.237.36.79","20.237.36.82"],"latestRevisionName":"foo--5zhf09q","latestRevisionFqdn":"foo--5zhf09q.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1610' + - '1454' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:52:28 GMT + - Fri, 13 May 2022 17:19:41 GMT expires: - '-1' pragma: @@ -2269,23 +2309,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:52:10.0644439","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:52:10.0644439"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.151.242.149","52.151.242.133","52.151.241.203"],"latestRevisionName":"foo--wctbcn2","latestRevisionFqdn":"foo--wctbcn2.lemonmoss-de50ac20.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.lemonmoss-de50ac20.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:19:33.7435039","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:19:33.7435039"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.36.21","20.237.36.79","20.237.36.82"],"latestRevisionName":"foo--5zhf09q","latestRevisionFqdn":"foo--5zhf09q.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1610' + - '1454' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:52:30 GMT + - Fri, 13 May 2022 17:19:44 GMT expires: - '-1' pragma: @@ -2321,23 +2360,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:52:10.0644439","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:52:10.0644439"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.151.242.149","52.151.242.133","52.151.241.203"],"latestRevisionName":"foo--wctbcn2","latestRevisionFqdn":"foo--wctbcn2.lemonmoss-de50ac20.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.lemonmoss-de50ac20.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:19:33.7435039","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:19:33.7435039"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.36.21","20.237.36.79","20.237.36.82"],"latestRevisionName":"foo--5zhf09q","latestRevisionFqdn":"foo--5zhf09q.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1610' + - '1454' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:52:32 GMT + - Fri, 13 May 2022 17:19:46 GMT expires: - '-1' pragma: @@ -2373,23 +2411,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:52:10.0644439","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:52:10.0644439"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.151.242.149","52.151.242.133","52.151.241.203"],"latestRevisionName":"foo--wctbcn2","latestRevisionFqdn":"foo--wctbcn2.lemonmoss-de50ac20.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.lemonmoss-de50ac20.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:19:33.7435039","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:19:33.7435039"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.36.21","20.237.36.79","20.237.36.82"],"latestRevisionName":"foo--5zhf09q","latestRevisionFqdn":"foo--5zhf09q.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1610' + - '1454' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:52:36 GMT + - Fri, 13 May 2022 17:19:49 GMT expires: - '-1' pragma: @@ -2425,23 +2462,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:52:10.0644439","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:52:10.0644439"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.151.242.149","52.151.242.133","52.151.241.203"],"latestRevisionName":"foo--wctbcn2","latestRevisionFqdn":"foo--wctbcn2.lemonmoss-de50ac20.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.lemonmoss-de50ac20.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:19:33.7435039","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:19:33.7435039"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.36.21","20.237.36.79","20.237.36.82"],"latestRevisionName":"foo--5zhf09q","latestRevisionFqdn":"foo--5zhf09q.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1609' + - '1453' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:52:39 GMT + - Fri, 13 May 2022 17:19:50 GMT expires: - '-1' pragma: diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_internal_ingress.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_resources_from_service_cpus.yaml similarity index 74% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_internal_ingress.yaml rename to src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_resources_from_service_cpus.yaml index 6370cdf6cca..d98d47954a1 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_internal_ingress.yaml +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_resources_from_service_cpus.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T23:07:52Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T18:19:43Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:07:53 GMT + - Fri, 13 May 2022 18:20:09 GMT expires: - '-1' pragma: @@ -57,7 +57,7 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' @@ -71,7 +71,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:07:53 GMT + - Fri, 13 May 2022 18:20:09 GMT expires: - '-1' pragma: @@ -104,7 +104,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T23:07:52Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T18:19:43Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -113,7 +113,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:07:52 GMT + - Fri, 13 May 2022 18:20:09 GMT expires: - '-1' pragma: @@ -175,7 +175,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:07:52 GMT + - Fri, 13 May 2022 18:20:09 GMT expires: - '-1' pragma: @@ -237,7 +237,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:07:53 GMT + - Fri, 13 May 2022 18:20:10 GMT expires: - '-1' pragma: @@ -390,7 +390,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:07:53 GMT + - Fri, 13 May 2022 18:20:09 GMT expires: - '-1' pragma: @@ -543,7 +543,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:07:53 GMT + - Fri, 13 May 2022 18:20:10 GMT expires: - '-1' pragma: @@ -582,16 +582,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"03ea1064-5dc6-4954-83ec-868665e9fb03\",\r\n \"provisioningState\": \"Creating\",\r\n + \"495fd9b7-2a30-45f3-b391-7b729dfcfdd4\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 23:07:56 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 18:20:12 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Sat, 07 May 2022 18:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Sat, 14 May 2022 15:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 23:07:56 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 23:07:56 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 18:20:12 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 18:20:12 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -603,7 +603,7 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 23:07:56 GMT + - Fri, 13 May 2022 18:20:11 GMT pragma: - no-cache server: @@ -614,7 +614,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET - ASP.NET @@ -641,16 +641,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"03ea1064-5dc6-4954-83ec-868665e9fb03\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"495fd9b7-2a30-45f3-b391-7b729dfcfdd4\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 23:07:56 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 18:20:12 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Sat, 07 May 2022 18:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Sat, 14 May 2022 15:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 23:07:56 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 23:07:58 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 18:20:12 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 18:20:13 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -662,7 +662,7 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 23:08:27 GMT + - Fri, 13 May 2022 18:20:42 GMT pragma: - no-cache server: @@ -703,8 +703,8 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 response: body: - string: "{\r\n \"primarySharedKey\": \"z6woByG8WSIZN04bEmQv5ECvX2jnFVa0GkudH1o/9qEDWRFoe5EqSCkV56cXCiEMYdmYLAdpPtSiOv2AI0V5Eg==\",\r\n - \ \"secondarySharedKey\": \"6vR/Ds//FD3zXgTStRg0mV72SUczA12Clul4kMHs2n39K8oIGdxALZCFVkJA5eG+XxxHw1Y9oDbkilTktdOmmw==\"\r\n}" + string: "{\r\n \"primarySharedKey\": \"FYPB2NeEKdsg95TRKa829bFk7aJCh5H3j7SWzS+5cnSY+nYkmAY7zslup30Ds4EnN0tkhSpO4CL2TWiJBv99jA==\",\r\n + \ \"secondarySharedKey\": \"NKEPSjJ/9ylle9IDERCUSqVnMSoCZ23zo6AOcKA6L4CgqdvJ0HXiP97ngiIk0PjcV9iXZO01n482vnAQaMWmbQ==\"\r\n}" headers: cache-control: - no-cache @@ -715,7 +715,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:08:27 GMT + - Fri, 13 May 2022 18:20:42 GMT expires: - '-1' pragma: @@ -734,7 +734,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' x-powered-by: - ASP.NET - ASP.NET @@ -745,7 +745,7 @@ interactions: body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": - "03ea1064-5dc6-4954-83ec-868665e9fb03", "sharedKey": "z6woByG8WSIZN04bEmQv5ECvX2jnFVa0GkudH1o/9qEDWRFoe5EqSCkV56cXCiEMYdmYLAdpPtSiOv2AI0V5Eg=="}}}}' + "495fd9b7-2a30-45f3-b391-7b729dfcfdd4", "sharedKey": "FYPB2NeEKdsg95TRKa829bFk7aJCh5H3j7SWzS+5cnSY+nYkmAY7zslup30Ds4EnN0tkhSpO4CL2TWiJBv99jA=="}}}}' headers: Accept: - '*/*' @@ -764,23 +764,23 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/5a760248-2c2c-4ee9-b0d7-d7441294ed83?api-version=2022-01-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/fa05ed9d-66b6-4fc2-a74c-153c90d3eb17?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '790' + - '819' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:08:30 GMT + - Fri, 13 May 2022 18:20:43 GMT expires: - '-1' pragma: @@ -793,8 +793,8 @@ interactions: - nosniff x-ms-async-operation-timeout: - PT15M - x-ms-ratelimit-remaining-subscription-writes: - - '1199' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99' x-powered-by: - ASP.NET status: @@ -816,21 +816,71 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '817' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:20:43 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '817' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:08:31 GMT + - Fri, 13 May 2022 18:20:45 GMT expires: - '-1' pragma: @@ -866,21 +916,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '817' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:08:33 GMT + - Fri, 13 May 2022 18:20:48 GMT expires: - '-1' pragma: @@ -916,21 +966,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '817' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:08:36 GMT + - Fri, 13 May 2022 18:20:50 GMT expires: - '-1' pragma: @@ -966,21 +1016,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '817' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:08:39 GMT + - Fri, 13 May 2022 18:20:52 GMT expires: - '-1' pragma: @@ -1016,21 +1066,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '817' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:08:42 GMT + - Fri, 13 May 2022 18:20:54 GMT expires: - '-1' pragma: @@ -1066,21 +1116,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '817' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:08:44 GMT + - Fri, 13 May 2022 18:20:57 GMT expires: - '-1' pragma: @@ -1116,21 +1166,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '817' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:08:47 GMT + - Fri, 13 May 2022 18:20:59 GMT expires: - '-1' pragma: @@ -1166,21 +1216,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '817' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:08:50 GMT + - Fri, 13 May 2022 18:21:01 GMT expires: - '-1' pragma: @@ -1216,21 +1266,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '817' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:08:52 GMT + - Fri, 13 May 2022 18:21:03 GMT expires: - '-1' pragma: @@ -1266,21 +1316,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '817' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:08:54 GMT + - Fri, 13 May 2022 18:21:06 GMT expires: - '-1' pragma: @@ -1316,21 +1366,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '817' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:08:57 GMT + - Fri, 13 May 2022 18:21:07 GMT expires: - '-1' pragma: @@ -1366,21 +1416,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '817' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:09:00 GMT + - Fri, 13 May 2022 18:21:10 GMT expires: - '-1' pragma: @@ -1416,21 +1466,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '817' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:09:03 GMT + - Fri, 13 May 2022 18:21:12 GMT expires: - '-1' pragma: @@ -1466,21 +1516,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '817' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:09:05 GMT + - Fri, 13 May 2022 18:21:14 GMT expires: - '-1' pragma: @@ -1516,21 +1566,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '817' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:09:08 GMT + - Fri, 13 May 2022 18:21:16 GMT expires: - '-1' pragma: @@ -1566,21 +1616,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '817' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:09:10 GMT + - Fri, 13 May 2022 18:21:19 GMT expires: - '-1' pragma: @@ -1616,21 +1666,121 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Succeeded","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '817' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:09:13 GMT + - Fri, 13 May 2022 18:21:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '817' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:21:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Succeeded","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '819' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:21:25 GMT expires: - '-1' pragma: @@ -1698,7 +1848,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:09:13 GMT + - Fri, 13 May 2022 18:21:26 GMT expires: - '-1' pragma: @@ -1728,21 +1878,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:08:30.5021997","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:08:30.5021997"},"properties":{"provisioningState":"Succeeded","defaultDomain":"yellowfield-19330164.eastus.azurecontainerapps.io","staticIp":"20.121.84.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"03ea1064-5dc6-4954-83ec-868665e9fb03"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Succeeded","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '819' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:09:14 GMT + - Fri, 13 May 2022 18:21:25 GMT expires: - '-1' pragma: @@ -1810,7 +1960,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:09:14 GMT + - Fri, 13 May 2022 18:21:26 GMT expires: - '-1' pragma: @@ -1831,8 +1981,9 @@ interactions: {"fqdn": null, "external": false, "targetPort": 3000, "transport": "auto", "traffic": null, "customDomains": null}, "dapr": null, "registries": null}, "template": {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", - "name": "foo", "command": null, "args": null, "env": null, "resources": null, - "volumeMounts": null}], "scale": null, "volumes": null}}, "tags": null}' + "name": "foo", "command": null, "args": null, "env": null, "resources": {"cpu": + "1.25", "memory": "2.5Gi"}, "volumeMounts": null}], "scale": null, "volumes": + null}}, "tags": null}' headers: Accept: - '*/*' @@ -1843,7 +1994,7 @@ interactions: Connection: - keep-alive Content-Length: - - '791' + - '821' Content-Type: - application/json ParameterSetName: @@ -1851,24 +2002,24 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:09:16.2740293Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:09:16.2740293Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.211.212","52.226.212.104","52.226.212.170"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowfield-19330164.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:21:27.0122422Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:21:27.0122422Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.84.148","20.237.84.145","20.237.84.150"],"latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/6b658c72-159d-4339-aa3b-3c6a4fe5a622?api-version=2022-01-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/4f624eb8-ceb0-4db5-9a3b-0dd7dbc60aa9?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '1372' + - '1355' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:09:17 GMT + - Fri, 13 May 2022 18:21:28 GMT expires: - '-1' pragma: @@ -1881,8 +2032,8 @@ interactions: - nosniff x-ms-async-operation-timeout: - PT15M - x-ms-ratelimit-remaining-subscription-writes: - - '1199' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '499' x-powered-by: - ASP.NET status: @@ -1904,22 +2055,73 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:21:27.0122422","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:21:27.0122422"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.84.148","20.237.84.145","20.237.84.150"],"latestRevisionName":"foo--6qmobiv","latestRevisionFqdn":"foo--6qmobiv.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1463' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:21:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:09:16.2740293","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:09:16.2740293"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.211.212","52.226.212.104","52.226.212.170"],"latestRevisionName":"foo--51kxat1","latestRevisionFqdn":"foo--51kxat1.internal.yellowfield-19330164.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowfield-19330164.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:21:27.0122422","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:21:27.0122422"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.84.148","20.237.84.145","20.237.84.150"],"latestRevisionName":"foo--6qmobiv","latestRevisionFqdn":"foo--6qmobiv.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1453' + - '1463' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:09:18 GMT + - Fri, 13 May 2022 18:21:30 GMT expires: - '-1' pragma: @@ -1955,22 +2157,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:09:16.2740293","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:09:16.2740293"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.211.212","52.226.212.104","52.226.212.170"],"latestRevisionName":"foo--51kxat1","latestRevisionFqdn":"foo--51kxat1.internal.yellowfield-19330164.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowfield-19330164.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:21:27.0122422","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:21:27.0122422"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.84.148","20.237.84.145","20.237.84.150"],"latestRevisionName":"foo--6qmobiv","latestRevisionFqdn":"foo--6qmobiv.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1453' + - '1463' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:09:21 GMT + - Fri, 13 May 2022 18:21:32 GMT expires: - '-1' pragma: @@ -2006,22 +2208,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:09:16.2740293","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:09:16.2740293"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.211.212","52.226.212.104","52.226.212.170"],"latestRevisionName":"foo--51kxat1","latestRevisionFqdn":"foo--51kxat1.internal.yellowfield-19330164.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowfield-19330164.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:21:27.0122422","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:21:27.0122422"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.84.148","20.237.84.145","20.237.84.150"],"latestRevisionName":"foo--6qmobiv","latestRevisionFqdn":"foo--6qmobiv.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1453' + - '1463' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:09:24 GMT + - Fri, 13 May 2022 18:21:34 GMT expires: - '-1' pragma: @@ -2057,22 +2259,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:09:16.2740293","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:09:16.2740293"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.211.212","52.226.212.104","52.226.212.170"],"latestRevisionName":"foo--51kxat1","latestRevisionFqdn":"foo--51kxat1.internal.yellowfield-19330164.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowfield-19330164.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:21:27.0122422","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:21:27.0122422"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.84.148","20.237.84.145","20.237.84.150"],"latestRevisionName":"foo--6qmobiv","latestRevisionFqdn":"foo--6qmobiv.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1453' + - '1463' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:09:26 GMT + - Fri, 13 May 2022 18:21:37 GMT expires: - '-1' pragma: @@ -2108,22 +2310,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:09:16.2740293","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:09:16.2740293"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.211.212","52.226.212.104","52.226.212.170"],"latestRevisionName":"foo--51kxat1","latestRevisionFqdn":"foo--51kxat1.internal.yellowfield-19330164.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowfield-19330164.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:21:27.0122422","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:21:27.0122422"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.84.148","20.237.84.145","20.237.84.150"],"latestRevisionName":"foo--6qmobiv","latestRevisionFqdn":"foo--6qmobiv.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1453' + - '1463' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:09:29 GMT + - Fri, 13 May 2022 18:21:39 GMT expires: - '-1' pragma: @@ -2159,22 +2361,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:09:16.2740293","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:09:16.2740293"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.211.212","52.226.212.104","52.226.212.170"],"latestRevisionName":"foo--51kxat1","latestRevisionFqdn":"foo--51kxat1.internal.yellowfield-19330164.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowfield-19330164.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:21:27.0122422","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:21:27.0122422"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.84.148","20.237.84.145","20.237.84.150"],"latestRevisionName":"foo--6qmobiv","latestRevisionFqdn":"foo--6qmobiv.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1452' + - '1462' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:09:32 GMT + - Fri, 13 May 2022 18:21:42 GMT expires: - '-1' pragma: diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets.yaml index 5660918d03a..7e0ef2ee240 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets.yaml +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-11T23:37:10Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T18:42:05Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:37:11 GMT + - Fri, 13 May 2022 18:42:05 GMT expires: - '-1' pragma: @@ -57,7 +57,7 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' @@ -71,7 +71,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:37:11 GMT + - Fri, 13 May 2022 18:42:05 GMT expires: - '-1' pragma: @@ -104,7 +104,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-11T23:37:10Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T18:42:05Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -113,7 +113,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:37:11 GMT + - Fri, 13 May 2022 18:42:05 GMT expires: - '-1' pragma: @@ -175,7 +175,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:37:11 GMT + - Fri, 13 May 2022 18:42:05 GMT expires: - '-1' pragma: @@ -237,7 +237,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:37:11 GMT + - Fri, 13 May 2022 18:42:06 GMT expires: - '-1' pragma: @@ -390,7 +390,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:37:11 GMT + - Fri, 13 May 2022 18:42:06 GMT expires: - '-1' pragma: @@ -543,7 +543,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:37:12 GMT + - Fri, 13 May 2022 18:42:05 GMT expires: - '-1' pragma: @@ -582,16 +582,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"da058131-ade4-47d2-bf23-e545383a0fbc\",\r\n \"provisioningState\": \"Creating\",\r\n + \"dcd46b63-13ac-4ce4-90b6-538b258de258\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Wed, 11 May 2022 23:37:15 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 18:42:07 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Thu, 12 May 2022 13:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Sat, 14 May 2022 12:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Wed, 11 May 2022 23:37:15 GMT\",\r\n - \ \"modifiedDate\": \"Wed, 11 May 2022 23:37:15 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 18:42:07 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 18:42:07 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -603,7 +603,7 @@ interactions: content-type: - application/json date: - - Wed, 11 May 2022 23:37:15 GMT + - Fri, 13 May 2022 18:42:07 GMT pragma: - no-cache server: @@ -641,16 +641,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"da058131-ade4-47d2-bf23-e545383a0fbc\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"dcd46b63-13ac-4ce4-90b6-538b258de258\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Wed, 11 May 2022 23:37:15 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 18:42:07 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Thu, 12 May 2022 13:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Sat, 14 May 2022 12:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Wed, 11 May 2022 23:37:15 GMT\",\r\n - \ \"modifiedDate\": \"Wed, 11 May 2022 23:37:16 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 18:42:07 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 18:42:09 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -662,7 +662,7 @@ interactions: content-type: - application/json date: - - Wed, 11 May 2022 23:37:46 GMT + - Fri, 13 May 2022 18:42:37 GMT pragma: - no-cache server: @@ -703,8 +703,8 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 response: body: - string: "{\r\n \"primarySharedKey\": \"DMHm+l1LSbT5URD0GrRzUTxh9az3wdyIk6U3aPjOmT1/RY1FAkMIalUF4Np7RTe0LcjNTv/ihYGZtGfqBqJlyA==\",\r\n - \ \"secondarySharedKey\": \"6kf0cSJvQjS2hMuPTcFNCM2+LMEC8s4+Vuv6+roiXDYqk8xmfWkmRrpz0vKAudz5wp7/SFxn4dal5SWH8rWDvw==\"\r\n}" + string: "{\r\n \"primarySharedKey\": \"G+WwK3Q3skzQH3I5Hqzv/fuXKibGlO/eWrDHHbJsb50ezsC3BlmU9QYU79+Yewb8VWePkEBDO8R4KeZiDdX5tg==\",\r\n + \ \"secondarySharedKey\": \"pEh9FT8vA9akEmvRhTW6v7JpgGKtc0ZdEoP3eiup91caj2uZVa+Er9odGIWPXG9161A886JeAdMHIm5+MahLjg==\"\r\n}" headers: cache-control: - no-cache @@ -715,7 +715,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:37:46 GMT + - Fri, 13 May 2022 18:42:38 GMT expires: - '-1' pragma: @@ -734,7 +734,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' x-powered-by: - ASP.NET - ASP.NET @@ -745,7 +745,7 @@ interactions: body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": - "da058131-ade4-47d2-bf23-e545383a0fbc", "sharedKey": "DMHm+l1LSbT5URD0GrRzUTxh9az3wdyIk6U3aPjOmT1/RY1FAkMIalUF4Np7RTe0LcjNTv/ihYGZtGfqBqJlyA=="}}}}' + "dcd46b63-13ac-4ce4-90b6-538b258de258", "sharedKey": "G+WwK3Q3skzQH3I5Hqzv/fuXKibGlO/eWrDHHbJsb50ezsC3BlmU9QYU79+Yewb8VWePkEBDO8R4KeZiDdX5tg=="}}}}' headers: Accept: - '*/*' @@ -764,23 +764,23 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:37:49.3576892Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:37:49.3576892Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonfield-4344b466.eastus.azurecontainerapps.io","staticIp":"20.237.72.37","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"da058131-ade4-47d2-bf23-e545383a0fbc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/08051a67-a756-4bee-927b-623c74f5f3f6?api-version=2022-01-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/a3fc0b1b-eec8-4bb7-a300-fb15ba1d718c?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '788' + - '814' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:37:49 GMT + - Fri, 13 May 2022 18:42:38 GMT expires: - '-1' pragma: @@ -794,7 +794,7 @@ interactions: x-ms-async-operation-timeout: - PT15M x-ms-ratelimit-remaining-subscription-resource-requests: - - '99' + - '98' x-powered-by: - ASP.NET status: @@ -816,21 +816,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:37:49.3576892","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:37:49.3576892"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonfield-4344b466.eastus.azurecontainerapps.io","staticIp":"20.237.72.37","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"da058131-ade4-47d2-bf23-e545383a0fbc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '786' + - '812' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:37:51 GMT + - Fri, 13 May 2022 18:42:38 GMT expires: - '-1' pragma: @@ -866,21 +866,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:37:49.3576892","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:37:49.3576892"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonfield-4344b466.eastus.azurecontainerapps.io","staticIp":"20.237.72.37","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"da058131-ade4-47d2-bf23-e545383a0fbc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '786' + - '812' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:37:53 GMT + - Fri, 13 May 2022 18:42:40 GMT expires: - '-1' pragma: @@ -916,21 +916,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:37:49.3576892","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:37:49.3576892"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonfield-4344b466.eastus.azurecontainerapps.io","staticIp":"20.237.72.37","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"da058131-ade4-47d2-bf23-e545383a0fbc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '786' + - '812' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:37:56 GMT + - Fri, 13 May 2022 18:42:43 GMT expires: - '-1' pragma: @@ -966,21 +966,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:37:49.3576892","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:37:49.3576892"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonfield-4344b466.eastus.azurecontainerapps.io","staticIp":"20.237.72.37","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"da058131-ade4-47d2-bf23-e545383a0fbc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '786' + - '812' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:37:59 GMT + - Fri, 13 May 2022 18:42:45 GMT expires: - '-1' pragma: @@ -1016,21 +1016,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:37:49.3576892","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:37:49.3576892"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonfield-4344b466.eastus.azurecontainerapps.io","staticIp":"20.237.72.37","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"da058131-ade4-47d2-bf23-e545383a0fbc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '786' + - '812' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:38:01 GMT + - Fri, 13 May 2022 18:42:47 GMT expires: - '-1' pragma: @@ -1066,21 +1066,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:37:49.3576892","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:37:49.3576892"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonfield-4344b466.eastus.azurecontainerapps.io","staticIp":"20.237.72.37","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"da058131-ade4-47d2-bf23-e545383a0fbc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '786' + - '812' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:38:04 GMT + - Fri, 13 May 2022 18:42:49 GMT expires: - '-1' pragma: @@ -1116,21 +1116,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:37:49.3576892","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:37:49.3576892"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonfield-4344b466.eastus.azurecontainerapps.io","staticIp":"20.237.72.37","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"da058131-ade4-47d2-bf23-e545383a0fbc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '786' + - '812' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:38:06 GMT + - Fri, 13 May 2022 18:42:52 GMT expires: - '-1' pragma: @@ -1166,21 +1166,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:37:49.3576892","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:37:49.3576892"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonfield-4344b466.eastus.azurecontainerapps.io","staticIp":"20.237.72.37","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"da058131-ade4-47d2-bf23-e545383a0fbc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '786' + - '812' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:38:13 GMT + - Fri, 13 May 2022 18:42:54 GMT expires: - '-1' pragma: @@ -1216,21 +1216,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:37:49.3576892","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:37:49.3576892"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonfield-4344b466.eastus.azurecontainerapps.io","staticIp":"20.237.72.37","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"da058131-ade4-47d2-bf23-e545383a0fbc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '786' + - '812' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:38:16 GMT + - Fri, 13 May 2022 18:42:55 GMT expires: - '-1' pragma: @@ -1266,21 +1266,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:37:49.3576892","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:37:49.3576892"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonfield-4344b466.eastus.azurecontainerapps.io","staticIp":"20.237.72.37","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"da058131-ade4-47d2-bf23-e545383a0fbc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '786' + - '812' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:38:18 GMT + - Fri, 13 May 2022 18:42:57 GMT expires: - '-1' pragma: @@ -1316,21 +1316,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:37:49.3576892","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:37:49.3576892"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonfield-4344b466.eastus.azurecontainerapps.io","staticIp":"20.237.72.37","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"da058131-ade4-47d2-bf23-e545383a0fbc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '786' + - '812' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:38:21 GMT + - Fri, 13 May 2022 18:43:00 GMT expires: - '-1' pragma: @@ -1366,21 +1366,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:37:49.3576892","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:37:49.3576892"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonfield-4344b466.eastus.azurecontainerapps.io","staticIp":"20.237.72.37","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"da058131-ade4-47d2-bf23-e545383a0fbc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '786' + - '812' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:38:23 GMT + - Fri, 13 May 2022 18:43:02 GMT expires: - '-1' pragma: @@ -1416,21 +1416,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:37:49.3576892","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:37:49.3576892"},"properties":{"provisioningState":"Succeeded","defaultDomain":"lemonfield-4344b466.eastus.azurecontainerapps.io","staticIp":"20.237.72.37","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"da058131-ade4-47d2-bf23-e545383a0fbc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '812' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:38:27 GMT + - Fri, 13 May 2022 18:43:04 GMT expires: - '-1' pragma: @@ -1454,7 +1454,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1464,51 +1464,239 @@ interactions: ParameterSetName: - --compose-file-path --resource-group --environment --logs-workspace User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","Canada Central","West Europe","North - Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '2737' + - '812' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:38:27 GMT + - Fri, 13 May 2022 18:43:06 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,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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:43: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:43:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding x-content-type-options: - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:43: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-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:43:15 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 @@ -1528,21 +1716,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:37:49.3576892","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:37:49.3576892"},"properties":{"provisioningState":"Succeeded","defaultDomain":"lemonfield-4344b466.eastus.azurecontainerapps.io","staticIp":"20.237.72.37","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"da058131-ade4-47d2-bf23-e545383a0fbc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Succeeded","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '814' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:38:27 GMT + - Fri, 13 May 2022 18:43:17 GMT expires: - '-1' pragma: @@ -1610,7 +1798,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:38:28 GMT + - Fri, 13 May 2022 18:43:17 GMT expires: - '-1' pragma: @@ -1625,14 +1813,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": - null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", - "configuration": {"secrets": [{"name": "redis-secret", "value": "Lorem Ipsum\n"}], - "activeRevisionsMode": "single", "ingress": null, "dapr": null, "registries": - null}, "template": {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", - "name": "foo", "command": null, "args": null, "env": [{"name": "redis-secret", - "secretRef": "redis-secret"}], "resources": null, "volumeMounts": null}], "scale": - null, "volumes": null}}, "tags": null}' + body: null headers: Accept: - '*/*' @@ -1642,33 +1823,26 @@ interactions: - containerapp compose create Connection: - keep-alive - Content-Length: - - '780' - Content-Type: - - application/json ParameterSetName: - --compose-file-path --resource-group --environment --logs-workspace User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:38:30.1863094Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:38:30.1863094Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.181.45","20.85.135.233","20.121.183.148"],"latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Succeeded","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/12fbdf83-d24d-445a-b6d7-d4f0c3d7e7bb?api-version=2022-01-01-preview&azureAsyncOperation=true cache-control: - no-cache content-length: - - '1232' + - '814' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:38:32 GMT + - Fri, 13 May 2022 18:43:17 GMT expires: - '-1' pragma: @@ -1677,17 +1851,602 @@ interactions: - 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-async-operation-timeout: - - PT15M - x-ms-ratelimit-remaining-subscription-resource-requests: - - '499' x-powered-by: - ASP.NET status: - code: 201 - message: Created + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:43:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + "configuration": {"secrets": [{"name": "redis-secret", "value": "Lorem Ipsum\n"}], + "activeRevisionsMode": "single", "ingress": null, "dapr": null, "registries": + null}, "template": {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", + "name": "foo", "command": null, "args": null, "env": [{"name": "redis-secret", + "secretRef": "redis-secret"}], "resources": null, "volumeMounts": null}], "scale": + null, "volumes": null}}, "tags": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '780' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/ed017f57-48d4-4729-89e2-39f4d7b924af?api-version=2022-03-01&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1237' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:43:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-async-operation-timeout: + - PT15M + x-ms-ratelimit-remaining-subscription-resource-requests: + - '499' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1271' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:43:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1271' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:43:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1271' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:43:25 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1271' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:43:27 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1271' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:43:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1271' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:43:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1271' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:43:34 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1271' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:43: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1271' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:43:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK - request: body: null headers: @@ -1704,22 +2463,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:38:30.1863094","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:38:30.1863094"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.181.45","20.85.135.233","20.121.183.148"],"latestRevisionName":"foo--4qse881","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1266' + - '1271' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:38:34 GMT + - Fri, 13 May 2022 18:43:40 GMT expires: - '-1' pragma: @@ -1755,22 +2514,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:38:30.1863094","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:38:30.1863094"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.181.45","20.85.135.233","20.121.183.148"],"latestRevisionName":"foo--4qse881","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1266' + - '1271' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:38:38 GMT + - Fri, 13 May 2022 18:43:43 GMT expires: - '-1' pragma: @@ -1806,22 +2565,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:38:30.1863094","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:38:30.1863094"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.181.45","20.85.135.233","20.121.183.148"],"latestRevisionName":"foo--4qse881","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1266' + - '1271' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:38:41 GMT + - Fri, 13 May 2022 18:43:44 GMT expires: - '-1' pragma: @@ -1857,22 +2616,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:38:30.1863094","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:38:30.1863094"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.181.45","20.85.135.233","20.121.183.148"],"latestRevisionName":"foo--4qse881","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1266' + - '1271' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:38:43 GMT + - Fri, 13 May 2022 18:43:47 GMT expires: - '-1' pragma: @@ -1908,22 +2667,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:38:30.1863094","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:38:30.1863094"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.181.45","20.85.135.233","20.121.183.148"],"latestRevisionName":"foo--4qse881","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1266' + - '1271' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:38:46 GMT + - Fri, 13 May 2022 18:43:49 GMT expires: - '-1' pragma: @@ -1959,22 +2718,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:38:30.1863094","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:38:30.1863094"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.181.45","20.85.135.233","20.121.183.148"],"latestRevisionName":"foo--4qse881","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1265' + - '1270' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:38:49 GMT + - Fri, 13 May 2022 18:43:51 GMT expires: - '-1' pragma: diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets_and_existing_environment.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets_and_existing_environment.yaml index 61e833c3582..00ebd2112df 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets_and_existing_environment.yaml +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets_and_existing_environment.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-11T23:41:35Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T18:43:52Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:41:36 GMT + - Fri, 13 May 2022 18:43:52 GMT expires: - '-1' pragma: @@ -57,7 +57,7 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' @@ -71,7 +71,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:41:36 GMT + - Fri, 13 May 2022 18:43:52 GMT expires: - '-1' pragma: @@ -104,7 +104,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-11T23:41:35Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T18:43:52Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -113,7 +113,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:41:37 GMT + - Fri, 13 May 2022 18:43:53 GMT expires: - '-1' pragma: @@ -175,7 +175,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:41:37 GMT + - Fri, 13 May 2022 18:43:52 GMT expires: - '-1' pragma: @@ -237,7 +237,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:41:37 GMT + - Fri, 13 May 2022 18:43:53 GMT expires: - '-1' pragma: @@ -390,7 +390,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:41:36 GMT + - Fri, 13 May 2022 18:43:53 GMT expires: - '-1' pragma: @@ -543,7 +543,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:41:37 GMT + - Fri, 13 May 2022 18:43:53 GMT expires: - '-1' pragma: @@ -582,16 +582,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"32b724d5-e67f-4fca-929c-75099f1f2848\",\r\n \"provisioningState\": \"Creating\",\r\n + \"9d48098b-e940-4f4b-ba15-10a0882210bd\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Wed, 11 May 2022 23:41:41 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 18:43:55 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Thu, 12 May 2022 23:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Sat, 14 May 2022 16:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Wed, 11 May 2022 23:41:41 GMT\",\r\n - \ \"modifiedDate\": \"Wed, 11 May 2022 23:41:41 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 18:43:55 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 18:43:55 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -603,7 +603,7 @@ interactions: content-type: - application/json date: - - Wed, 11 May 2022 23:41:41 GMT + - Fri, 13 May 2022 18:43:55 GMT pragma: - no-cache server: @@ -641,16 +641,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"32b724d5-e67f-4fca-929c-75099f1f2848\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"9d48098b-e940-4f4b-ba15-10a0882210bd\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Wed, 11 May 2022 23:41:41 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 18:43:55 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Thu, 12 May 2022 23:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Sat, 14 May 2022 16:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Wed, 11 May 2022 23:41:41 GMT\",\r\n - \ \"modifiedDate\": \"Wed, 11 May 2022 23:41:42 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 18:43:55 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 18:43:57 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -662,7 +662,7 @@ interactions: content-type: - application/json date: - - Wed, 11 May 2022 23:42:11 GMT + - Fri, 13 May 2022 18:44:25 GMT pragma: - no-cache server: @@ -703,8 +703,8 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 response: body: - string: "{\r\n \"primarySharedKey\": \"x/sdV+rjrng3/P0EwAdj7zsCTSxqHOtDYiwj0dRO8RIQbucf6lDSMA3hSECSTbzIbAveDRB8Rs03/KyEstv7/Q==\",\r\n - \ \"secondarySharedKey\": \"26xuDywb34SbbXCXWVsP6dBrUFxLhROwCGyRF/JLRLFImP6XMjJoxbKtctkJVAgSzWhPgJejYPJB//wmtiWHWg==\"\r\n}" + string: "{\r\n \"primarySharedKey\": \"x/NDZm9VM+m/NZs4foGuHIR1OSmuCHuh4cS3yHJ62Q1X8ex9Lw1ovJtXJvmxSx3ArBMtKG2VOSLQH8TRMOiIYQ==\",\r\n + \ \"secondarySharedKey\": \"d09S5OEBUObFUt4REVxpvAnztwYNFclStMDLgagjUXEy8oxa97LGVMM4S7DF3EbcY6Oe8QW+m0ORwwBzgWhBVQ==\"\r\n}" headers: cache-control: - no-cache @@ -715,7 +715,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:42:12 GMT + - Fri, 13 May 2022 18:44:26 GMT expires: - '-1' pragma: @@ -734,7 +734,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1196' x-powered-by: - ASP.NET - ASP.NET @@ -745,7 +745,7 @@ interactions: body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": - "32b724d5-e67f-4fca-929c-75099f1f2848", "sharedKey": "x/sdV+rjrng3/P0EwAdj7zsCTSxqHOtDYiwj0dRO8RIQbucf6lDSMA3hSECSTbzIbAveDRB8Rs03/KyEstv7/Q=="}}}}' + "9d48098b-e940-4f4b-ba15-10a0882210bd", "sharedKey": "x/NDZm9VM+m/NZs4foGuHIR1OSmuCHuh4cS3yHJ62Q1X8ex9Lw1ovJtXJvmxSx3ArBMtKG2VOSLQH8TRMOiIYQ=="}}}}' headers: Accept: - '*/*' @@ -764,23 +764,23 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/e56bdbe9-1342-4afd-a838-2c513be69cf4?api-version=2022-01-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/56bbe7ad-61fc-43bd-9a0c-53b080609267?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '791' + - '817' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:42:15 GMT + - Fri, 13 May 2022 18:44:26 GMT expires: - '-1' pragma: @@ -794,7 +794,7 @@ interactions: x-ms-async-operation-timeout: - PT15M x-ms-ratelimit-remaining-subscription-resource-requests: - - '99' + - '97' x-powered-by: - ASP.NET status: @@ -816,21 +816,271 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:44:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:44:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:44:30 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:44:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:44:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Waiting","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '789' + - '815' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:42:17 GMT + - Fri, 13 May 2022 18:44:37 GMT expires: - '-1' pragma: @@ -866,21 +1116,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Waiting","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '789' + - '815' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:42:20 GMT + - Fri, 13 May 2022 18:44:39 GMT expires: - '-1' pragma: @@ -916,21 +1166,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Waiting","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '789' + - '815' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:42:22 GMT + - Fri, 13 May 2022 18:44:41 GMT expires: - '-1' pragma: @@ -966,21 +1216,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Waiting","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '789' + - '815' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:42:26 GMT + - Fri, 13 May 2022 18:44:43 GMT expires: - '-1' pragma: @@ -1016,21 +1266,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Waiting","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '789' + - '815' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:42:29 GMT + - Fri, 13 May 2022 18:44:46 GMT expires: - '-1' pragma: @@ -1066,21 +1316,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Waiting","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '789' + - '815' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:42:31 GMT + - Fri, 13 May 2022 18:44:47 GMT expires: - '-1' pragma: @@ -1116,21 +1366,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Waiting","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '789' + - '815' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:42:35 GMT + - Fri, 13 May 2022 18:44:50 GMT expires: - '-1' pragma: @@ -1166,21 +1416,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Waiting","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '789' + - '815' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:42:38 GMT + - Fri, 13 May 2022 18:44:52 GMT expires: - '-1' pragma: @@ -1216,21 +1466,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Waiting","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '789' + - '815' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:42:40 GMT + - Fri, 13 May 2022 18:44:53 GMT expires: - '-1' pragma: @@ -1266,21 +1516,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Waiting","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '789' + - '815' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:42:44 GMT + - Fri, 13 May 2022 18:44:56 GMT expires: - '-1' pragma: @@ -1316,21 +1566,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Waiting","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '789' + - '815' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:42:46 GMT + - Fri, 13 May 2022 18:44:59 GMT expires: - '-1' pragma: @@ -1366,21 +1616,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Waiting","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '789' + - '815' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:42:49 GMT + - Fri, 13 May 2022 18:45:01 GMT expires: - '-1' pragma: @@ -1416,21 +1666,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Waiting","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '789' + - '815' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:42:51 GMT + - Fri, 13 May 2022 18:45:03 GMT expires: - '-1' pragma: @@ -1466,21 +1716,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Waiting","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '789' + - '815' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:42:54 GMT + - Fri, 13 May 2022 18:45:05 GMT expires: - '-1' pragma: @@ -1516,21 +1766,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Succeeded","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '817' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:42:57 GMT + - Fri, 13 May 2022 18:45:07 GMT expires: - '-1' pragma: @@ -1598,7 +1848,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:42:57 GMT + - Fri, 13 May 2022 18:45:08 GMT expires: - '-1' pragma: @@ -1628,21 +1878,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:42:15.6531989","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:42:15.6531989"},"properties":{"provisioningState":"Succeeded","defaultDomain":"thankfultree-a3ffd2c3.eastus.azurecontainerapps.io","staticIp":"20.237.32.115","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32b724d5-e67f-4fca-929c-75099f1f2848"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '817' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:42:58 GMT + - Fri, 13 May 2022 18:45:08 GMT expires: - '-1' pragma: @@ -1710,7 +1960,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:42:58 GMT + - Fri, 13 May 2022 18:45:07 GMT expires: - '-1' pragma: @@ -1754,24 +2004,24 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:43:01.7679999Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:43:01.7679999Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.156.163","20.121.156.174","20.121.156.175"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"database__client","value":"mysql"},{"name":"database__connection__host","value":"db"},{"name":"database__connection__user","value":"root"},{"name":"database__connection__password","value":"example"},{"name":"database__connection__database","value":"snafu"},{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:09.1752974Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:09.1752974Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.8.84","20.237.8.123","20.237.8.95"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"database__client","value":"mysql"},{"name":"database__connection__host","value":"db"},{"name":"database__connection__user","value":"root"},{"name":"database__connection__password","value":"example"},{"name":"database__connection__database","value":"snafu"},{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d6f95c30-3294-4fe0-89fd-be3b7660e1ea?api-version=2022-01-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/65abc0e7-c3eb-404a-b63e-1d75ad644255?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '1524' + - '1520' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:43:03 GMT + - Fri, 13 May 2022 18:45:10 GMT expires: - '-1' pragma: @@ -1807,22 +2057,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:43:01.7679999","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:43:01.7679999"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.156.163","20.121.156.174","20.121.156.175"],"latestRevisionName":"foo--38acwve","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"database__client","value":"mysql"},{"name":"database__connection__host","value":"db"},{"name":"database__connection__user","value":"root"},{"name":"database__connection__password","value":"example"},{"name":"database__connection__database","value":"snafu"},{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:09.1752974","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:09.1752974"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.8.84","20.237.8.123","20.237.8.95"],"latestRevisionName":"foo--bc7um20","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"database__client","value":"mysql"},{"name":"database__connection__host","value":"db"},{"name":"database__connection__user","value":"root"},{"name":"database__connection__password","value":"example"},{"name":"database__connection__database","value":"snafu"},{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1534' + - '1530' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:43:05 GMT + - Fri, 13 May 2022 18:45:11 GMT expires: - '-1' pragma: @@ -1858,22 +2108,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:43:01.7679999","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:43:01.7679999"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.156.163","20.121.156.174","20.121.156.175"],"latestRevisionName":"foo--38acwve","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"database__client","value":"mysql"},{"name":"database__connection__host","value":"db"},{"name":"database__connection__user","value":"root"},{"name":"database__connection__password","value":"example"},{"name":"database__connection__database","value":"snafu"},{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:09.1752974","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:09.1752974"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.8.84","20.237.8.123","20.237.8.95"],"latestRevisionName":"foo--bc7um20","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"database__client","value":"mysql"},{"name":"database__connection__host","value":"db"},{"name":"database__connection__user","value":"root"},{"name":"database__connection__password","value":"example"},{"name":"database__connection__database","value":"snafu"},{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1534' + - '1530' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:43:08 GMT + - Fri, 13 May 2022 18:45:13 GMT expires: - '-1' pragma: @@ -1909,22 +2159,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:43:01.7679999","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:43:01.7679999"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.156.163","20.121.156.174","20.121.156.175"],"latestRevisionName":"foo--38acwve","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"database__client","value":"mysql"},{"name":"database__connection__host","value":"db"},{"name":"database__connection__user","value":"root"},{"name":"database__connection__password","value":"example"},{"name":"database__connection__database","value":"snafu"},{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:09.1752974","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:09.1752974"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.8.84","20.237.8.123","20.237.8.95"],"latestRevisionName":"foo--bc7um20","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"database__client","value":"mysql"},{"name":"database__connection__host","value":"db"},{"name":"database__connection__user","value":"root"},{"name":"database__connection__password","value":"example"},{"name":"database__connection__database","value":"snafu"},{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1534' + - '1530' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:43:11 GMT + - Fri, 13 May 2022 18:45:16 GMT expires: - '-1' pragma: @@ -1960,22 +2210,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:43:01.7679999","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:43:01.7679999"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.156.163","20.121.156.174","20.121.156.175"],"latestRevisionName":"foo--38acwve","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"database__client","value":"mysql"},{"name":"database__connection__host","value":"db"},{"name":"database__connection__user","value":"root"},{"name":"database__connection__password","value":"example"},{"name":"database__connection__database","value":"snafu"},{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:09.1752974","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:09.1752974"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.8.84","20.237.8.123","20.237.8.95"],"latestRevisionName":"foo--bc7um20","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"database__client","value":"mysql"},{"name":"database__connection__host","value":"db"},{"name":"database__connection__user","value":"root"},{"name":"database__connection__password","value":"example"},{"name":"database__connection__database","value":"snafu"},{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1533' + - '1529' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:43:13 GMT + - Fri, 13 May 2022 18:45:17 GMT expires: - '-1' pragma: diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets_and_existing_environment_conflict.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets_and_existing_environment_conflict.yaml index 2c7eaf76b43..b5de7de7d8e 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets_and_existing_environment_conflict.yaml +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets_and_existing_environment_conflict.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-11T23:53:35Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T18:45:18Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:53:37 GMT + - Fri, 13 May 2022 18:45:18 GMT expires: - '-1' pragma: @@ -57,7 +57,7 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' @@ -71,7 +71,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:53:36 GMT + - Fri, 13 May 2022 18:45:18 GMT expires: - '-1' pragma: @@ -104,7 +104,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-11T23:53:35Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T18:45:18Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -113,7 +113,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:53:36 GMT + - Fri, 13 May 2022 18:45:19 GMT expires: - '-1' pragma: @@ -175,7 +175,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:53:37 GMT + - Fri, 13 May 2022 18:45:18 GMT expires: - '-1' pragma: @@ -237,7 +237,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:53:37 GMT + - Fri, 13 May 2022 18:45:19 GMT expires: - '-1' pragma: @@ -390,7 +390,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:53:37 GMT + - Fri, 13 May 2022 18:45:18 GMT expires: - '-1' pragma: @@ -543,7 +543,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:53:36 GMT + - Fri, 13 May 2022 18:45:19 GMT expires: - '-1' pragma: @@ -582,16 +582,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"922410f0-99b0-4f77-b9d6-52eb45b6d6b7\",\r\n \"provisioningState\": \"Creating\",\r\n + \"7373acfc-3118-47e2-b0e4-5c3274950f16\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Wed, 11 May 2022 23:53:40 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 18:45:21 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Thu, 12 May 2022 20:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Sat, 14 May 2022 11:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Wed, 11 May 2022 23:53:40 GMT\",\r\n - \ \"modifiedDate\": \"Wed, 11 May 2022 23:53:40 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 18:45:21 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 18:45:21 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -603,7 +603,7 @@ interactions: content-type: - application/json date: - - Wed, 11 May 2022 23:53:39 GMT + - Fri, 13 May 2022 18:45:20 GMT pragma: - no-cache server: @@ -614,7 +614,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-powered-by: - ASP.NET - ASP.NET @@ -641,16 +641,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"922410f0-99b0-4f77-b9d6-52eb45b6d6b7\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"7373acfc-3118-47e2-b0e4-5c3274950f16\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Wed, 11 May 2022 23:53:40 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 18:45:21 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Thu, 12 May 2022 20:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Sat, 14 May 2022 11:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Wed, 11 May 2022 23:53:40 GMT\",\r\n - \ \"modifiedDate\": \"Wed, 11 May 2022 23:53:41 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 18:45:21 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 18:45:22 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -662,7 +662,7 @@ interactions: content-type: - application/json date: - - Wed, 11 May 2022 23:54:11 GMT + - Fri, 13 May 2022 18:45:51 GMT pragma: - no-cache server: @@ -703,8 +703,8 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 response: body: - string: "{\r\n \"primarySharedKey\": \"czGGvkRaEwmvBOnEsVe+waLYs6j2flr1Cwd7g5EKDffSLHgambYYONgBkAFJSGE5QmO6eKrc4wY+9HjZNHuwnw==\",\r\n - \ \"secondarySharedKey\": \"vRxQ5i2WTljFrQpFbES9DgSdVPjSSvGArtpgMK+CuwIJ2D7OSlKrWH2jK4dKGFUsu9bl1HqDTu8kPXUuF2OinA==\"\r\n}" + string: "{\r\n \"primarySharedKey\": \"cuRBTFzw6IqlW3uVpHhIwtBAoCA+4O+YkvYDicpbolTFHFfapdpl5whI15fE9LGEwM0oZC7+7+9mLDcgMSkJyw==\",\r\n + \ \"secondarySharedKey\": \"P7vnGQnHssd//zjcUvQv/h0a64LHqy6BzBuG962pHqDnNmpS14d4X+NEZ31ujaHKqgbsIZXaROuhokmJ3DiiiQ==\"\r\n}" headers: cache-control: - no-cache @@ -715,7 +715,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:54:11 GMT + - Fri, 13 May 2022 18:45:52 GMT expires: - '-1' pragma: @@ -734,7 +734,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET - ASP.NET @@ -745,7 +745,7 @@ interactions: body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": - "922410f0-99b0-4f77-b9d6-52eb45b6d6b7", "sharedKey": "czGGvkRaEwmvBOnEsVe+waLYs6j2flr1Cwd7g5EKDffSLHgambYYONgBkAFJSGE5QmO6eKrc4wY+9HjZNHuwnw=="}}}}' + "7373acfc-3118-47e2-b0e4-5c3274950f16", "sharedKey": "cuRBTFzw6IqlW3uVpHhIwtBAoCA+4O+YkvYDicpbolTFHFfapdpl5whI15fE9LGEwM0oZC7+7+9mLDcgMSkJyw=="}}}}' headers: Accept: - '*/*' @@ -764,23 +764,23 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/a7c62a43-3089-4347-901d-6c0a48244249?api-version=2022-01-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/839478cb-3e9c-43c0-8a06-00fd5f7b0006?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '790' + - '818' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:54:13 GMT + - Fri, 13 May 2022 18:45:52 GMT expires: - '-1' pragma: @@ -794,7 +794,7 @@ interactions: x-ms-async-operation-timeout: - PT15M x-ms-ratelimit-remaining-subscription-resource-requests: - - '99' + - '98' x-powered-by: - ASP.NET status: @@ -816,21 +816,371 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '816' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:45:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '816' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:45: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '816' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:45:57 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '816' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:45:59 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '816' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:46: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '816' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:46:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '816' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:46:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '816' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:54:13 GMT + - Fri, 13 May 2022 18:46:07 GMT expires: - '-1' pragma: @@ -866,21 +1216,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '816' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:54:16 GMT + - Fri, 13 May 2022 18:46:09 GMT expires: - '-1' pragma: @@ -916,21 +1266,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '816' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:54:19 GMT + - Fri, 13 May 2022 18:46:11 GMT expires: - '-1' pragma: @@ -966,21 +1316,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '816' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:54:22 GMT + - Fri, 13 May 2022 18:46:14 GMT expires: - '-1' pragma: @@ -1016,21 +1366,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '816' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:54:24 GMT + - Fri, 13 May 2022 18:46:16 GMT expires: - '-1' pragma: @@ -1066,21 +1416,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '816' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:54:27 GMT + - Fri, 13 May 2022 18:46:18 GMT expires: - '-1' pragma: @@ -1116,21 +1466,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '816' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:54:29 GMT + - Fri, 13 May 2022 18:46:20 GMT expires: - '-1' pragma: @@ -1166,21 +1516,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '816' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:54:32 GMT + - Fri, 13 May 2022 18:46:22 GMT expires: - '-1' pragma: @@ -1216,21 +1566,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '816' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:54:34 GMT + - Fri, 13 May 2022 18:46:24 GMT expires: - '-1' pragma: @@ -1266,21 +1616,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '816' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:54:39 GMT + - Fri, 13 May 2022 18:46:27 GMT expires: - '-1' pragma: @@ -1316,21 +1666,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '816' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:54:41 GMT + - Fri, 13 May 2022 18:46:29 GMT expires: - '-1' pragma: @@ -1366,21 +1716,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '816' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:54:44 GMT + - Fri, 13 May 2022 18:46:31 GMT expires: - '-1' pragma: @@ -1416,21 +1766,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '788' + - '816' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:54:46 GMT + - Fri, 13 May 2022 18:46:33 GMT expires: - '-1' pragma: @@ -1466,21 +1816,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242"},"properties":{"provisioningState":"Succeeded","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Succeeded","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '818' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:54:49 GMT + - Fri, 13 May 2022 18:46:35 GMT expires: - '-1' pragma: @@ -1548,7 +1898,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:54:49 GMT + - Fri, 13 May 2022 18:46:35 GMT expires: - '-1' pragma: @@ -1578,21 +1928,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-11T23:54:12.9882242","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-11T23:54:12.9882242"},"properties":{"provisioningState":"Succeeded","defaultDomain":"grayglacier-6bbfe6e6.eastus.azurecontainerapps.io","staticIp":"20.85.165.171","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"922410f0-99b0-4f77-b9d6-52eb45b6d6b7"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Succeeded","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '790' + - '818' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:54:49 GMT + - Fri, 13 May 2022 18:46:35 GMT expires: - '-1' pragma: @@ -1660,7 +2010,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 23:54:49 GMT + - Fri, 13 May 2022 18:46:35 GMT expires: - '-1' pragma: diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_transport_arg.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_transport_arg.yaml index 42136f4741a..cb512e1eee5 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_transport_arg.yaml +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_transport_arg.yaml @@ -19,7 +19,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T23:19:00Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T18:46:37Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:19:01 GMT + - Fri, 13 May 2022 18:46:37 GMT expires: - '-1' pragma: @@ -59,7 +59,7 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' @@ -73,7 +73,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:19:01 GMT + - Fri, 13 May 2022 18:46:37 GMT expires: - '-1' pragma: @@ -107,7 +107,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T23:19:00Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T18:46:37Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -116,7 +116,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:19:02 GMT + - Fri, 13 May 2022 18:46:37 GMT expires: - '-1' pragma: @@ -179,7 +179,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:19:02 GMT + - Fri, 13 May 2022 18:46:37 GMT expires: - '-1' pragma: @@ -242,7 +242,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:19:02 GMT + - Fri, 13 May 2022 18:46:37 GMT expires: - '-1' pragma: @@ -396,7 +396,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:19:02 GMT + - Fri, 13 May 2022 18:46:37 GMT expires: - '-1' pragma: @@ -550,7 +550,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:19:02 GMT + - Fri, 13 May 2022 18:46:37 GMT expires: - '-1' pragma: @@ -590,16 +590,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"047f7071-783c-4d68-908b-7210afbf1d0e\",\r\n \"provisioningState\": \"Creating\",\r\n + \"8dc927f8-4bfe-4dee-b908-f59f6b285fd7\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 23:19:06 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 18:46:40 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Sat, 07 May 2022 23:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Sat, 14 May 2022 09:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 23:19:06 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 23:19:06 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 18:46:40 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 18:46:40 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -611,7 +611,7 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 23:19:06 GMT + - Fri, 13 May 2022 18:46:40 GMT pragma: - no-cache server: @@ -622,7 +622,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-powered-by: - ASP.NET - ASP.NET @@ -650,16 +650,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"047f7071-783c-4d68-908b-7210afbf1d0e\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"8dc927f8-4bfe-4dee-b908-f59f6b285fd7\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 23:19:06 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 18:46:40 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Sat, 07 May 2022 23:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Sat, 14 May 2022 09:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 23:19:06 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 23:19:08 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 18:46:40 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 18:46:41 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -671,7 +671,7 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 23:19:37 GMT + - Fri, 13 May 2022 18:47:10 GMT pragma: - no-cache server: @@ -713,8 +713,8 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 response: body: - string: "{\r\n \"primarySharedKey\": \"WfrqLJJAydThmT2lz/qjR8o5AHGv1lpiUxIn4cxp7u+9c3ptJ3gKQhFNP6V6wiRrIjRJmnz+/u87exjQlPrMmQ==\",\r\n - \ \"secondarySharedKey\": \"aLPRTgS6zomTAeUEecwl1CRzjyZfYil8+1+W8ZalKXZGqhfbUSLdkIaleJDwzSg2FRyZ/zsyUvfTSHnwbvPhAw==\"\r\n}" + string: "{\r\n \"primarySharedKey\": \"otWbHEFVeYsZnzucmsgXGS9awwwSLpSY1fUsjWtH7egSJfQRSJhGhxvZywjm5f6mLAKFMi8YWdMrauJ0zVrTOQ==\",\r\n + \ \"secondarySharedKey\": \"chusBN1uf95QsuTnR9JPqVlR5NWu9qB426PWqowdtQ4FSZ00kkkN5AiXS4mUGahnx2SgjUg16e290Jq9DlaonQ==\"\r\n}" headers: cache-control: - no-cache @@ -725,7 +725,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:19:37 GMT + - Fri, 13 May 2022 18:47:10 GMT expires: - '-1' pragma: @@ -744,7 +744,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1195' x-powered-by: - ASP.NET - ASP.NET @@ -755,7 +755,7 @@ interactions: body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": - "047f7071-783c-4d68-908b-7210afbf1d0e", "sharedKey": "WfrqLJJAydThmT2lz/qjR8o5AHGv1lpiUxIn4cxp7u+9c3ptJ3gKQhFNP6V6wiRrIjRJmnz+/u87exjQlPrMmQ=="}}}}' + "8dc927f8-4bfe-4dee-b908-f59f6b285fd7", "sharedKey": "otWbHEFVeYsZnzucmsgXGS9awwwSLpSY1fUsjWtH7egSJfQRSJhGhxvZywjm5f6mLAKFMi8YWdMrauJ0zVrTOQ=="}}}}' headers: Accept: - '*/*' @@ -775,23 +775,23 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/61a44bc6-2633-4e74-a226-e557f6bf0647?api-version=2022-01-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/9bf1a7bb-8444-4d52-8a4e-7c75fe88e2bb?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '787' + - '821' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:19:40 GMT + - Fri, 13 May 2022 18:47:11 GMT expires: - '-1' pragma: @@ -804,8 +804,8 @@ interactions: - nosniff x-ms-async-operation-timeout: - PT15M - x-ms-ratelimit-remaining-subscription-writes: - - '1198' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '96' x-powered-by: - ASP.NET status: @@ -828,21 +828,72 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '819' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:47:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '819' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:19:41 GMT + - Fri, 13 May 2022 18:47:14 GMT expires: - '-1' pragma: @@ -879,21 +930,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '819' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:19:44 GMT + - Fri, 13 May 2022 18:47:15 GMT expires: - '-1' pragma: @@ -930,21 +981,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '819' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:19:47 GMT + - Fri, 13 May 2022 18:47:18 GMT expires: - '-1' pragma: @@ -981,21 +1032,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '819' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:19:48 GMT + - Fri, 13 May 2022 18:47:20 GMT expires: - '-1' pragma: @@ -1032,21 +1083,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '819' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:19:51 GMT + - Fri, 13 May 2022 18:47:22 GMT expires: - '-1' pragma: @@ -1083,21 +1134,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '819' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:19:54 GMT + - Fri, 13 May 2022 18:47:24 GMT expires: - '-1' pragma: @@ -1134,21 +1185,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '819' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:19:57 GMT + - Fri, 13 May 2022 18:47:26 GMT expires: - '-1' pragma: @@ -1185,21 +1236,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '819' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:20:00 GMT + - Fri, 13 May 2022 18:47:29 GMT expires: - '-1' pragma: @@ -1236,21 +1287,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '819' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:20:03 GMT + - Fri, 13 May 2022 18:47:31 GMT expires: - '-1' pragma: @@ -1287,21 +1338,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '819' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:20:05 GMT + - Fri, 13 May 2022 18:47:32 GMT expires: - '-1' pragma: @@ -1338,21 +1389,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '819' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:20:07 GMT + - Fri, 13 May 2022 18:47:35 GMT expires: - '-1' pragma: @@ -1389,21 +1440,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '819' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:20:10 GMT + - Fri, 13 May 2022 18:47:38 GMT expires: - '-1' pragma: @@ -1440,21 +1491,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '819' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:20:13 GMT + - Fri, 13 May 2022 18:47:39 GMT expires: - '-1' pragma: @@ -1491,21 +1542,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '819' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:20:16 GMT + - Fri, 13 May 2022 18:47:41 GMT expires: - '-1' pragma: @@ -1542,21 +1593,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '819' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:20:18 GMT + - Fri, 13 May 2022 18:47:43 GMT expires: - '-1' pragma: @@ -1593,21 +1644,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Waiting","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '785' + - '819' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:20:21 GMT + - Fri, 13 May 2022 18:47:45 GMT expires: - '-1' pragma: @@ -1644,21 +1695,123 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Succeeded","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '819' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:20:23 GMT + - Fri, 13 May 2022 18:47:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '819' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:47:50 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace --transport + --transport + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Succeeded","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '821' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 18:47:52 GMT expires: - '-1' pragma: @@ -1727,7 +1880,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:20:24 GMT + - Fri, 13 May 2022 18:47:52 GMT expires: - '-1' pragma: @@ -1758,21 +1911,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:19:39.6161644","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:19:39.6161644"},"properties":{"provisioningState":"Succeeded","defaultDomain":"blackdune-90599fdc.eastus.azurecontainerapps.io","staticIp":"20.121.91.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"047f7071-783c-4d68-908b-7210afbf1d0e"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Succeeded","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '821' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:20:25 GMT + - Fri, 13 May 2022 18:47:52 GMT expires: - '-1' pragma: @@ -1841,7 +1994,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:20:24 GMT + - Fri, 13 May 2022 18:47:52 GMT expires: - '-1' pragma: @@ -1883,24 +2036,24 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:20:27.40552Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:20:27.40552Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.85.206.230","20.85.206.246","20.85.207.153"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.blackdune-90599fdc.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Http2","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:53.9534491Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:53.9534491Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.231.236.172","20.231.236.190","20.231.236.203"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ambitiousflower-489d882a.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Http2","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/ed4ef739-a425-405e-a861-fa51ef362f6a?api-version=2022-01-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d34005ed-c43f-4cc6-a77d-69a27672f962?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '1352' + - '1369' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:20:29 GMT + - Fri, 13 May 2022 18:47:54 GMT expires: - '-1' pragma: @@ -1913,8 +2066,8 @@ interactions: - nosniff x-ms-async-operation-timeout: - PT15M - x-ms-ratelimit-remaining-subscription-writes: - - '1197' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '499' x-powered-by: - ASP.NET status: @@ -1937,74 +2090,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:20:27.40552","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:20:27.40552"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.85.206.230","20.85.206.246","20.85.207.153"],"latestRevisionName":"foo--d6k94tv","latestRevisionFqdn":"foo--d6k94tv.blackdune-90599fdc.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.blackdune-90599fdc.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Http2","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1422' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 23:20:31 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace --transport - --transport - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:20:27.40552","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:20:27.40552"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.85.206.230","20.85.206.246","20.85.207.153"],"latestRevisionName":"foo--d6k94tv","latestRevisionFqdn":"foo--d6k94tv.blackdune-90599fdc.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.blackdune-90599fdc.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Http2","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:53.9534491","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:53.9534491"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.231.236.172","20.231.236.190","20.231.236.203"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ambitiousflower-489d882a.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Http2","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1422' + - '1367' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:20:33 GMT + - Fri, 13 May 2022 18:47:55 GMT expires: - '-1' pragma: @@ -2041,22 +2142,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:20:27.40552","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:20:27.40552"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.85.206.230","20.85.206.246","20.85.207.153"],"latestRevisionName":"foo--d6k94tv","latestRevisionFqdn":"foo--d6k94tv.blackdune-90599fdc.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.blackdune-90599fdc.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Http2","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:53.9534491","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:53.9534491"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.231.236.172","20.231.236.190","20.231.236.203"],"latestRevisionName":"foo--uwqdne5","latestRevisionFqdn":"foo--uwqdne5.ambitiousflower-489d882a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ambitiousflower-489d882a.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Http2","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1422' + - '1445' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:20:37 GMT + - Fri, 13 May 2022 18:47:57 GMT expires: - '-1' pragma: @@ -2093,22 +2194,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:20:27.40552","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:20:27.40552"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.85.206.230","20.85.206.246","20.85.207.153"],"latestRevisionName":"foo--d6k94tv","latestRevisionFqdn":"foo--d6k94tv.blackdune-90599fdc.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.blackdune-90599fdc.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Http2","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:53.9534491","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:53.9534491"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.231.236.172","20.231.236.190","20.231.236.203"],"latestRevisionName":"foo--uwqdne5","latestRevisionFqdn":"foo--uwqdne5.ambitiousflower-489d882a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ambitiousflower-489d882a.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Http2","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1422' + - '1445' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:20:39 GMT + - Fri, 13 May 2022 18:48:00 GMT expires: - '-1' pragma: @@ -2145,22 +2246,22 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T23:20:27.40552","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T23:20:27.40552"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.85.206.230","20.85.206.246","20.85.207.153"],"latestRevisionName":"foo--d6k94tv","latestRevisionFqdn":"foo--d6k94tv.blackdune-90599fdc.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.blackdune-90599fdc.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Http2","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:53.9534491","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:53.9534491"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.231.236.172","20.231.236.190","20.231.236.203"],"latestRevisionName":"foo--uwqdne5","latestRevisionFqdn":"foo--uwqdne5.ambitiousflower-489d882a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ambitiousflower-489d882a.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Http2","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '1421' + - '1444' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 23:20:42 GMT + - Fri, 13 May 2022 18:48:02 GMT expires: - '-1' pragma: diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_command_list.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_command_list.yaml index 524f0c4c96d..fc6b75fed51 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_command_list.yaml +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_command_list.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:37:32Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T16:43:21Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:37:32 GMT + - Fri, 13 May 2022 16:43:22 GMT expires: - '-1' pragma: @@ -57,7 +57,7 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' @@ -71,7 +71,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:37:33 GMT + - Fri, 13 May 2022 16:43:22 GMT expires: - '-1' pragma: @@ -104,7 +104,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:37:32Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T16:43:21Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -113,7 +113,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:37:33 GMT + - Fri, 13 May 2022 16:43:21 GMT expires: - '-1' pragma: @@ -175,7 +175,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:37:33 GMT + - Fri, 13 May 2022 16:43:21 GMT expires: - '-1' pragma: @@ -237,7 +237,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:37:33 GMT + - Fri, 13 May 2022 16:43:21 GMT expires: - '-1' pragma: @@ -390,7 +390,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:37:33 GMT + - Fri, 13 May 2022 16:43:22 GMT expires: - '-1' pragma: @@ -543,7 +543,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:37:34 GMT + - Fri, 13 May 2022 16:43:22 GMT expires: - '-1' pragma: @@ -582,16 +582,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"76e7108e-b979-4314-952b-3d17b5a984dc\",\r\n \"provisioningState\": \"Creating\",\r\n + \"067a596a-522e-4992-b2f3-2daa5b5e81c6\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 22:37:37 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 16:43:24 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Sat, 07 May 2022 07:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Sat, 14 May 2022 02:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:37:37 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 22:37:37 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:43:24 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 16:43:24 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -603,7 +603,7 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 22:37:37 GMT + - Fri, 13 May 2022 16:43:24 GMT pragma: - no-cache server: @@ -614,7 +614,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' x-powered-by: - ASP.NET - ASP.NET @@ -641,16 +641,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"76e7108e-b979-4314-952b-3d17b5a984dc\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"067a596a-522e-4992-b2f3-2daa5b5e81c6\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 22:37:37 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 16:43:24 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Sat, 07 May 2022 07:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Sat, 14 May 2022 02:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:37:37 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 22:37:38 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:43:24 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 16:43:26 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -662,7 +662,7 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 22:38:08 GMT + - Fri, 13 May 2022 16:43:54 GMT pragma: - no-cache server: @@ -703,8 +703,8 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 response: body: - string: "{\r\n \"primarySharedKey\": \"jcmgYMi+602wzJfGfzKQHvDFQeh0h0LR5/xqat/o88hFu6yO1im0ej5wuGRCyFWdL5mgNhugjzyKhXC7Vki70Q==\",\r\n - \ \"secondarySharedKey\": \"IkScLQONXURqp+h9egafzjGtk/Vd4qSNbjF13npT/oU5R4mgTfDI+jBdCSmc5wPucUVCb5n2Aapeq4NDhCK4kQ==\"\r\n}" + string: "{\r\n \"primarySharedKey\": \"sS3LDU4kmVQD0Zd4dQkgySTmKTD9exjFmNC5nqbP4oPu7w8gW66hfabGPqNNlTJh7gTs9zYvU2Xk2Fkx8FN1Yw==\",\r\n + \ \"secondarySharedKey\": \"HmCto2HSS8+9g6mb9W6anXZRj9UNiaOj7F3woyeVDfwne/8lZdYHkfnKMN+FqV+dhbBJFgFSmjtIrj969OxPkA==\"\r\n}" headers: cache-control: - no-cache @@ -715,7 +715,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:38:10 GMT + - Fri, 13 May 2022 16:43:55 GMT expires: - '-1' pragma: @@ -734,7 +734,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1188' x-powered-by: - ASP.NET - ASP.NET @@ -745,7 +745,7 @@ interactions: body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": - "76e7108e-b979-4314-952b-3d17b5a984dc", "sharedKey": "jcmgYMi+602wzJfGfzKQHvDFQeh0h0LR5/xqat/o88hFu6yO1im0ej5wuGRCyFWdL5mgNhugjzyKhXC7Vki70Q=="}}}}' + "067a596a-522e-4992-b2f3-2daa5b5e81c6", "sharedKey": "sS3LDU4kmVQD0Zd4dQkgySTmKTD9exjFmNC5nqbP4oPu7w8gW66hfabGPqNNlTJh7gTs9zYvU2Xk2Fkx8FN1Yw=="}}}}' headers: Accept: - '*/*' @@ -764,23 +764,23 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/393162a7-1083-439e-937c-a0e75e2a2ec4?api-version=2022-01-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/b8ce0e9f-baa5-480b-8812-e65a65e6e68c?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '793' + - '817' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:38:13 GMT + - Fri, 13 May 2022 16:43:56 GMT expires: - '-1' pragma: @@ -793,8 +793,8 @@ interactions: - nosniff x-ms-async-operation-timeout: - PT15M - x-ms-ratelimit-remaining-subscription-writes: - - '1199' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '89' x-powered-by: - ASP.NET status: @@ -816,21 +816,121 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:43: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:43:58 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '815' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:38:14 GMT + - Fri, 13 May 2022 16:44:00 GMT expires: - '-1' pragma: @@ -866,21 +966,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '815' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:38:17 GMT + - Fri, 13 May 2022 16:44:01 GMT expires: - '-1' pragma: @@ -916,21 +1016,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '815' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:38:20 GMT + - Fri, 13 May 2022 16:44:04 GMT expires: - '-1' pragma: @@ -966,21 +1066,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '815' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:38:22 GMT + - Fri, 13 May 2022 16:44:06 GMT expires: - '-1' pragma: @@ -1016,21 +1116,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '815' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:38:26 GMT + - Fri, 13 May 2022 16:44:08 GMT expires: - '-1' pragma: @@ -1066,21 +1166,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '815' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:38:27 GMT + - Fri, 13 May 2022 16:44:11 GMT expires: - '-1' pragma: @@ -1116,21 +1216,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '815' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:38:31 GMT + - Fri, 13 May 2022 16:44:13 GMT expires: - '-1' pragma: @@ -1166,21 +1266,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '815' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:38:33 GMT + - Fri, 13 May 2022 16:44:15 GMT expires: - '-1' pragma: @@ -1216,21 +1316,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '815' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:38:36 GMT + - Fri, 13 May 2022 16:44:17 GMT expires: - '-1' pragma: @@ -1266,21 +1366,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '815' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:38:39 GMT + - Fri, 13 May 2022 16:44:19 GMT expires: - '-1' pragma: @@ -1316,21 +1416,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '815' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:38:42 GMT + - Fri, 13 May 2022 16:44:21 GMT expires: - '-1' pragma: @@ -1366,21 +1466,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '815' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:38:44 GMT + - Fri, 13 May 2022 16:44:24 GMT expires: - '-1' pragma: @@ -1416,21 +1516,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '815' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:38:47 GMT + - Fri, 13 May 2022 16:44:25 GMT expires: - '-1' pragma: @@ -1466,21 +1566,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '815' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:38:50 GMT + - Fri, 13 May 2022 16:44:28 GMT expires: - '-1' pragma: @@ -1516,21 +1616,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '791' + - '815' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:38:52 GMT + - Fri, 13 May 2022 16:44:30 GMT expires: - '-1' pragma: @@ -1566,21 +1666,71 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '793' + - '815' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:38:56 GMT + - Fri, 13 May 2022 16:44:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Succeeded","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '817' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:44:34 GMT expires: - '-1' pragma: @@ -1648,7 +1798,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:38:56 GMT + - Fri, 13 May 2022 16:44:34 GMT expires: - '-1' pragma: @@ -1678,21 +1828,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:12.5885172","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:12.5885172"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wonderfultree-97333ab3.eastus.azurecontainerapps.io","staticIp":"20.121.255.178","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"76e7108e-b979-4314-952b-3d17b5a984dc"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Succeeded","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '793' + - '817' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:38:56 GMT + - Fri, 13 May 2022 16:44:34 GMT expires: - '-1' pragma: @@ -1760,7 +1910,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:38:57 GMT + - Fri, 13 May 2022 16:44:35 GMT expires: - '-1' pragma: @@ -1802,25 +1952,25 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:59.7530917Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:59.7530917Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.254.210","20.121.254.194","20.121.254.223"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.wonderfultree-97333ab3.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:44:35.8263768Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:44:35.8263768Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.241","52.226.193.234","52.226.193.246"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/0275dbca-c867-4ab0-9976-6af94e72461b?api-version=2022-01-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/bdbbe647-ac5d-4f08-8eaa-5a4c811fe146?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '1409' + - '1412' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:39:01 GMT + - Fri, 13 May 2022 16:44:37 GMT expires: - '-1' pragma: @@ -1833,8 +1983,8 @@ interactions: - nosniff x-ms-async-operation-timeout: - PT15M - x-ms-ratelimit-remaining-subscription-writes: - - '1199' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '499' x-powered-by: - ASP.NET status: @@ -1856,11 +2006,219 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:44:35.8263768","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:44:35.8263768"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.241","52.226.193.234","52.226.193.246"],"latestRevisionName":"foo--85wle4i","latestRevisionFqdn":"foo--85wle4i.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1494' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:44:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:44:35.8263768","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:44:35.8263768"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.241","52.226.193.234","52.226.193.246"],"latestRevisionName":"foo--85wle4i","latestRevisionFqdn":"foo--85wle4i.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1494' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:44:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:44:35.8263768","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:44:35.8263768"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.241","52.226.193.234","52.226.193.246"],"latestRevisionName":"foo--85wle4i","latestRevisionFqdn":"foo--85wle4i.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1494' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:44: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:44:35.8263768","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:44:35.8263768"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.241","52.226.193.234","52.226.193.246"],"latestRevisionName":"foo--85wle4i","latestRevisionFqdn":"foo--85wle4i.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1494' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:44:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:59.7530917","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:59.7530917"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.254.210","20.121.254.194","20.121.254.223"],"latestRevisionName":"foo--lfnqc3k","latestRevisionFqdn":"foo--lfnqc3k.internal.wonderfultree-97333ab3.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.wonderfultree-97333ab3.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:44:35.8263768","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:44:35.8263768"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.241","52.226.193.234","52.226.193.246"],"latestRevisionName":"foo--85wle4i","latestRevisionFqdn":"foo--85wle4i.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -1868,11 +2226,11 @@ interactions: cache-control: - no-cache content-length: - - '1492' + - '1494' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:39:03 GMT + - Fri, 13 May 2022 16:44:47 GMT expires: - '-1' pragma: @@ -1908,11 +2266,11 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:59.7530917","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:59.7530917"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.254.210","20.121.254.194","20.121.254.223"],"latestRevisionName":"foo--lfnqc3k","latestRevisionFqdn":"foo--lfnqc3k.internal.wonderfultree-97333ab3.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.wonderfultree-97333ab3.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:44:35.8263768","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:44:35.8263768"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.241","52.226.193.234","52.226.193.246"],"latestRevisionName":"foo--85wle4i","latestRevisionFqdn":"foo--85wle4i.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -1920,11 +2278,11 @@ interactions: cache-control: - no-cache content-length: - - '1492' + - '1494' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:39:06 GMT + - Fri, 13 May 2022 16:44:49 GMT expires: - '-1' pragma: @@ -1960,11 +2318,11 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:38:59.7530917","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:38:59.7530917"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.254.210","20.121.254.194","20.121.254.223"],"latestRevisionName":"foo--lfnqc3k","latestRevisionFqdn":"foo--lfnqc3k.internal.wonderfultree-97333ab3.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.wonderfultree-97333ab3.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:44:35.8263768","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:44:35.8263768"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.241","52.226.193.234","52.226.193.246"],"latestRevisionName":"foo--85wle4i","latestRevisionFqdn":"foo--85wle4i.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -1972,11 +2330,11 @@ interactions: cache-control: - no-cache content-length: - - '1491' + - '1493' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:39:09 GMT + - Fri, 13 May 2022 16:44:51 GMT expires: - '-1' pragma: diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_command_list_and_entrypoint.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_command_list_and_entrypoint.yaml new file mode 100644 index 00000000000..dc8f7bef3e6 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_command_list_and_entrypoint.yaml @@ -0,0 +1,3081 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T16:44:52Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:44:52 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + under resource group ''cli_test_containerapp_preview000001'' was not found. + For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '267' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:44:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T16:44:52Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '348' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:44:52 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:44:52 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:44: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:44:52 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West + Central US","East US","South Central US","North Europe","West Europe","Southeast + Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia + East","Korea Central","France Central","Central US","East US 2","East Asia","West + US","South Africa North","North Central US","Brazil South","Switzerland North","Norway + East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland + West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia + Central","France South","South India","Jio India Central","Jio India West","Canada + East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia East","Australia + Central","France Central","Korea Central","North Europe","Central US","East + Asia","East US 2","South Central US","North Central US","West US","UK West","South + Africa North","Brazil South","Switzerland North","Switzerland West","Germany + West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway + East","Norway West","France South","South India","Jio India Central","Jio + India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West","Germany West + Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil + Southeast","Norway East","Norway West","France South","South India","Jio India + Central","Jio India West","Canada East","West US 3","Sweden Central","Korea + South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12146' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:44: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: '{"location": "eastus", "properties": {"publicNetworkAccessForIngestion": + "Enabled", "publicNetworkAccessForQuery": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '126' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"373eb1c6-3e16-4da0-a6c2-d02bb9250a17\",\r\n \"provisioningState\": \"Creating\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 13 May 2022 16:44:54 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 14 May 2022 06:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:44:54 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 16:44:54 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1105' + content-type: + - application/json + date: + - Fri, 13 May 2022 16:44:54 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"373eb1c6-3e16-4da0-a6c2-d02bb9250a17\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Fri, 13 May 2022 16:44:54 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n + \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n + \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": + \"Sat, 14 May 2022 06:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:44:54 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 16:44:56 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n + \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1106' + content-type: + - application/json + date: + - Fri, 13 May 2022 16:45:24 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + response: + body: + string: "{\r\n \"primarySharedKey\": \"RzTD4Q2oONC3Mhe/ysN6Gu1B0iC9TD2e8aYkYyHhvcEAYkXycIzmj6buuFUHuxSWC+TOaG45jZM8YlJl1eim4A==\",\r\n + \ \"secondarySharedKey\": \"7mHPbyJlOH/0VdJt2DInuziqNxiIVCHIGSL6qFOlGSoD4F3/w5uxPnz5opJjJMo5Nh54fXJlzU5wcjJyZPM2gQ==\"\r\n}" + headers: + cache-control: + - no-cache + cachecontrol: + - no-cache + content-length: + - '235' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:45:24 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ams-apiversion: + - WebAPI1.0 + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1187' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": + {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": + "373eb1c6-3e16-4da0-a6c2-d02bb9250a17", "sharedKey": "RzTD4Q2oONC3Mhe/ysN6Gu1B0iC9TD2e8aYkYyHhvcEAYkXycIzmj6buuFUHuxSWC+TOaG45jZM8YlJl1eim4A=="}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '399' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/93436f70-03fd-4cd5-a153-f7a278b71809?api-version=2022-03-01&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '817' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:45:25 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: + - '88' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:45:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:45:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:45:30 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:45:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:45:34 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:45: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:45:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:45:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:45:43 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:45: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:45:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:45:49 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:45: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:45:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:45: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:45:58 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:46:00 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:46: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:46: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '815' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:46:06 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Succeeded","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '817' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:46: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:46:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Succeeded","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '817' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:46: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + Central US (Stage)","Canada Central","West Europe","North Europe","East US","East + US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","Canada Central","West Europe","North + Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2737' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:46:08 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", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": + {"fqdn": null, "external": false, "targetPort": 5000, "transport": "auto", "traffic": + null, "customDomains": null}, "dapr": null, "registries": null}, "template": + {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", + "name": "foo", "command": ["/code/entrypoint.sh"], "args": ["echo \"hello world\""], + "env": null, "resources": null, "volumeMounts": null}], "scale": null, "volumes": + null}}, "tags": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + Content-Length: + - '830' + Content-Type: + - application/json + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/400a6b81-faab-45dd-9f91-c8848c5bc8dc?api-version=2022-03-01&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1524' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:46:11 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: + - '498' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1522' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:46: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1522' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:46:15 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1522' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:46:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1522' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:46:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1522' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:46:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1522' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:46:24 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1522' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:46:25 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1522' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:46:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1522' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:46:30 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1522' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:46: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1522' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:46:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1522' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:46:37 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1522' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:46:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1522' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:46: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1522' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:46:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1522' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:46:46 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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1522' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:46:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1522' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:46:50 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1521' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:46:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_command_string.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_command_string.yaml index 29e8f112039..9570678f9dc 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_command_string.yaml +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_command_string.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:39:11Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T16:46:54Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:39:11 GMT + - Fri, 13 May 2022 16:46:54 GMT expires: - '-1' pragma: @@ -57,7 +57,7 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' @@ -71,7 +71,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:39:11 GMT + - Fri, 13 May 2022 16:46:54 GMT expires: - '-1' pragma: @@ -104,7 +104,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:39:11Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-13T16:46:54Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -113,7 +113,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:39:12 GMT + - Fri, 13 May 2022 16:46:54 GMT expires: - '-1' pragma: @@ -175,7 +175,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:39:12 GMT + - Fri, 13 May 2022 16:46:55 GMT expires: - '-1' pragma: @@ -237,7 +237,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:39:12 GMT + - Fri, 13 May 2022 16:46:55 GMT expires: - '-1' pragma: @@ -390,7 +390,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:39:12 GMT + - Fri, 13 May 2022 16:46:55 GMT expires: - '-1' pragma: @@ -543,7 +543,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:39:12 GMT + - Fri, 13 May 2022 16:46:54 GMT expires: - '-1' pragma: @@ -582,16 +582,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"64d023fa-468f-474f-bbcc-c4a27f9ac700\",\r\n \"provisioningState\": \"Creating\",\r\n + \"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 22:39:16 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 16:46:57 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Sat, 07 May 2022 08:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Sat, 14 May 2022 09:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:39:16 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 22:39:16 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:46:57 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 16:46:57 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -603,7 +603,7 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 22:39:16 GMT + - Fri, 13 May 2022 16:46:56 GMT pragma: - no-cache server: @@ -614,7 +614,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET - ASP.NET @@ -641,16 +641,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"64d023fa-468f-474f-bbcc-c4a27f9ac700\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 22:39:16 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 May 2022 16:46:57 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Sat, 07 May 2022 08:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Sat, 14 May 2022 09:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:39:16 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 22:39:17 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:46:57 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 May 2022 16:46:58 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -662,7 +662,7 @@ interactions: content-type: - application/json date: - - Fri, 06 May 2022 22:39:46 GMT + - Fri, 13 May 2022 16:47:26 GMT pragma: - no-cache server: @@ -703,8 +703,8 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 response: body: - string: "{\r\n \"primarySharedKey\": \"xqiuwQgS4lpawdJ9EuNC/1MbBAedn5cJ36hxMgCqk6WG9hRh3kkFzBCA5HaPYQy7F2EMxCtTg+Bhik+zhqTOJw==\",\r\n - \ \"secondarySharedKey\": \"W3sR7zWDKRfHt40znCImPVkB/YKvhldqtdR0SvXO+IRYXU8dKjrLA8XJazjknIAMQotU+0oNoIqVOiCJetahEA==\"\r\n}" + string: "{\r\n \"primarySharedKey\": \"9zUoAfrRVEHfEQG9H/iP4NmhdUFzlGknh82DD0JwgomHb0nQ3wuRbTB+Hmve8J4Wnd+WklHpRqXRI81RgIGT+A==\",\r\n + \ \"secondarySharedKey\": \"J1mu1jCl5c59rKNiC5ZYF1CIvPy1NwXC7JnfGLVWgv9SIj7Vy7oBkOr2u/VYijmtht+Y1bxjTuAC3p2vxobFAA==\"\r\n}" headers: cache-control: - no-cache @@ -715,7 +715,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:39:49 GMT + - Fri, 13 May 2022 16:47:27 GMT expires: - '-1' pragma: @@ -734,7 +734,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1186' x-powered-by: - ASP.NET - ASP.NET @@ -745,7 +745,7 @@ interactions: body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": - "64d023fa-468f-474f-bbcc-c4a27f9ac700", "sharedKey": "xqiuwQgS4lpawdJ9EuNC/1MbBAedn5cJ36hxMgCqk6WG9hRh3kkFzBCA5HaPYQy7F2EMxCtTg+Bhik+zhqTOJw=="}}}}' + "07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee", "sharedKey": "9zUoAfrRVEHfEQG9H/iP4NmhdUFzlGknh82DD0JwgomHb0nQ3wuRbTB+Hmve8J4Wnd+WklHpRqXRI81RgIGT+A=="}}}}' headers: Accept: - '*/*' @@ -764,23 +764,23 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/e4bab52f-1bb0-473c-b3e8-40d1d62d8a08?api-version=2022-01-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/b7f757f9-5a45-461b-849c-30ca94e4e512?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '789' + - '820' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:39:51 GMT + - Fri, 13 May 2022 16:47:27 GMT expires: - '-1' pragma: @@ -793,8 +793,8 @@ interactions: - nosniff x-ms-async-operation-timeout: - PT15M - x-ms-ratelimit-remaining-subscription-writes: - - '1199' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '87' x-powered-by: - ASP.NET status: @@ -816,21 +816,121 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '818' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:47:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '818' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:47:30 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '818' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:39:52 GMT + - Fri, 13 May 2022 16:47:32 GMT expires: - '-1' pragma: @@ -866,21 +966,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '818' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:39:55 GMT + - Fri, 13 May 2022 16:47:33 GMT expires: - '-1' pragma: @@ -916,21 +1016,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '818' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:39:58 GMT + - Fri, 13 May 2022 16:47:37 GMT expires: - '-1' pragma: @@ -966,21 +1066,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '818' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:40:01 GMT + - Fri, 13 May 2022 16:47:38 GMT expires: - '-1' pragma: @@ -1016,21 +1116,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '818' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:40:03 GMT + - Fri, 13 May 2022 16:47:41 GMT expires: - '-1' pragma: @@ -1066,21 +1166,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '818' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:40:05 GMT + - Fri, 13 May 2022 16:47:43 GMT expires: - '-1' pragma: @@ -1116,21 +1216,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '818' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:40:08 GMT + - Fri, 13 May 2022 16:47:45 GMT expires: - '-1' pragma: @@ -1166,21 +1266,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '818' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:40:11 GMT + - Fri, 13 May 2022 16:47:47 GMT expires: - '-1' pragma: @@ -1216,21 +1316,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '818' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:40:14 GMT + - Fri, 13 May 2022 16:47:49 GMT expires: - '-1' pragma: @@ -1266,21 +1366,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '818' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:40:17 GMT + - Fri, 13 May 2022 16:47:51 GMT expires: - '-1' pragma: @@ -1316,21 +1416,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '818' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:40:20 GMT + - Fri, 13 May 2022 16:47:53 GMT expires: - '-1' pragma: @@ -1366,21 +1466,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '818' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:40:24 GMT + - Fri, 13 May 2022 16:47:55 GMT expires: - '-1' pragma: @@ -1416,21 +1516,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '818' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:40:27 GMT + - Fri, 13 May 2022 16:47:58 GMT expires: - '-1' pragma: @@ -1466,21 +1566,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '818' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:40:29 GMT + - Fri, 13 May 2022 16:48:00 GMT expires: - '-1' pragma: @@ -1516,21 +1616,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '818' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:40:31 GMT + - Fri, 13 May 2022 16:48:02 GMT expires: - '-1' pragma: @@ -1566,21 +1666,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '818' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:40:35 GMT + - Fri, 13 May 2022 16:48:04 GMT expires: - '-1' pragma: @@ -1616,21 +1716,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Waiting","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '787' + - '818' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:40:38 GMT + - Fri, 13 May 2022 16:48:06 GMT expires: - '-1' pragma: @@ -1666,21 +1766,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Succeeded","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Succeeded","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '789' + - '820' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:40:40 GMT + - Fri, 13 May 2022 16:48:08 GMT expires: - '-1' pragma: @@ -1748,7 +1848,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:40:41 GMT + - Fri, 13 May 2022 16:48:08 GMT expires: - '-1' pragma: @@ -1778,21 +1878,21 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:39:51.0263585","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:39:51.0263585"},"properties":{"provisioningState":"Succeeded","defaultDomain":"purplecoast-86f7a36e.eastus.azurecontainerapps.io","staticIp":"20.81.58.245","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"64d023fa-468f-474f-bbcc-c4a27f9ac700"}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Succeeded","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 cache-control: - no-cache content-length: - - '789' + - '820' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:40:42 GMT + - Fri, 13 May 2022 16:48:08 GMT expires: - '-1' pragma: @@ -1860,7 +1960,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:40:42 GMT + - Fri, 13 May 2022 16:48:09 GMT expires: - '-1' pragma: @@ -1902,25 +2002,25 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:40:45.845126Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:40:45.845126Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.22.1","20.102.20.126","20.102.21.61"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.purplecoast-86f7a36e.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/0c921b45-1a43-4887-9e71-e674901aa256?api-version=2022-01-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/1ca46ce9-369a-42ee-9248-6401e05e35ef?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '1399' + - '1388' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:40:47 GMT + - Fri, 13 May 2022 16:48:11 GMT expires: - '-1' pragma: @@ -1933,8 +2033,8 @@ interactions: - nosniff x-ms-async-operation-timeout: - PT15M - x-ms-ratelimit-remaining-subscription-writes: - - '1199' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '499' x-powered-by: - ASP.NET status: @@ -1956,11 +2056,531 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1497' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:48: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-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1497' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:48: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1497' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:48: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 compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1497' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:48:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1497' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:48:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1497' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:48:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1497' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:48:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1497' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:48:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1497' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:48:30 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01 + cache-control: + - no-cache + content-length: + - '1497' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 May 2022 16:48:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp compose create + Connection: + - keep-alive + ParameterSetName: + - --compose-file-path --resource-group --environment --logs-workspace + User-Agent: + - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:40:45.845126","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:40:45.845126"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.22.1","20.102.20.126","20.102.21.61"],"latestRevisionName":"foo--386kaln","latestRevisionFqdn":"foo--386kaln.internal.purplecoast-86f7a36e.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.purplecoast-86f7a36e.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -1968,11 +2588,11 @@ interactions: cache-control: - no-cache content-length: - - '1480' + - '1497' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:40:48 GMT + - Fri, 13 May 2022 16:48:34 GMT expires: - '-1' pragma: @@ -2008,11 +2628,11 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:40:45.845126","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:40:45.845126"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.22.1","20.102.20.126","20.102.21.61"],"latestRevisionName":"foo--386kaln","latestRevisionFqdn":"foo--386kaln.internal.purplecoast-86f7a36e.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.purplecoast-86f7a36e.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2020,11 +2640,11 @@ interactions: cache-control: - no-cache content-length: - - '1480' + - '1497' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:40:51 GMT + - Fri, 13 May 2022 16:48:37 GMT expires: - '-1' pragma: @@ -2060,11 +2680,11 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:40:45.845126","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:40:45.845126"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.102.22.1","20.102.20.126","20.102.21.61"],"latestRevisionName":"foo--386kaln","latestRevisionFqdn":"foo--386kaln.internal.purplecoast-86f7a36e.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.purplecoast-86f7a36e.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2072,11 +2692,11 @@ interactions: cache-control: - no-cache content-length: - - '1479' + - '1496' content-type: - application/json; charset=utf-8 date: - - Fri, 06 May 2022 22:40:54 GMT + - Fri, 13 May 2022 16:48:39 GMT expires: - '-1' pragma: diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_entrypoint_and_command_list.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_entrypoint_and_command_list.yaml deleted file mode 100644 index 1ee318833b4..00000000000 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_entrypoint_and_command_list.yaml +++ /dev/null @@ -1,2053 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:40:57Z"},"properties":{"provisioningState":"Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '348' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:40:57 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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' - under resource group ''cli_test_containerapp_preview000001'' was not found. - For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' - headers: - cache-control: - - no-cache - content-length: - - '267' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:40:59 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-failure-cause: - - gateway - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001?api-version=2021-04-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001","name":"cli_test_containerapp_preview000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-06T22:40:57Z"},"properties":{"provisioningState":"Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '348' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:40:58 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","Canada Central","West Europe","North - Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '2737' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:40:58 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","Canada Central","West Europe","North - Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '2737' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:40:59 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West - Central US","East US","South Central US","North Europe","West Europe","Southeast - Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia - East","Korea Central","France Central","Central US","East US 2","East Asia","West - US","South Africa North","North Central US","Brazil South","Switzerland North","Norway - East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland - West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia - Central","France South","South India","Jio India Central","Jio India West","Canada - East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia East","Australia - Central","France Central","Korea Central","North Europe","Central US","East - Asia","East US 2","South Central US","North Central US","West US","UK West","South - Africa North","Brazil South","Switzerland North","Switzerland West","Germany - West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia East","Australia - Central","France Central","Korea Central","North Europe","Central US","East - Asia","East US 2","South Central US","North Central US","West US","UK West","South - Africa North","Brazil South","Switzerland North","Switzerland West","Germany - West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East - US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Switzerland North","Switzerland West","Germany West Central","Australia - Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway - East","Norway West","France South","South India","Jio India Central","Jio - India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '12146' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:40:59 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights?api-version=2021-04-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2021-12-01-preview","2021-06-01","2021-03-01-privatepreview","2020-10-01","2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"querypacks","locations":["West - Central US","East US","South Central US","North Europe","West Europe","Southeast - Asia","West US 2","UK South","Canada Central","Central India","Japan East","Australia - East","Korea Central","France Central","Central US","East US 2","East Asia","West - US","South Africa North","North Central US","Brazil South","Switzerland North","Norway - East","Australia Southeast","Australia Central 2","Germany West Central","Switzerland - West","UAE Central","UK West","Brazil Southeast","Japan West","UAE North","Australia - Central","France South","South India","Jio India Central","Jio India West","Canada - East","West US 3","Sweden Central","Korea South"],"apiVersions":["2019-09-01-preview","2019-09-01"],"capabilities":"SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/tables","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia East","Australia - Central","France Central","Korea Central","North Europe","Central US","East - Asia","East US 2","South Central US","North Central US","West US","UK West","South - Africa North","Brazil South","Switzerland North","Switzerland West","Germany - West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2021-12-01-preview","2020-08-01","2020-03-01-preview","2017-04-26-preview"],"capabilities":"None"},{"resourceType":"workspaces/storageInsightConfigs","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia East","Australia - Central","France Central","Korea Central","North Europe","Central US","East - Asia","East US 2","South Central US","North Central US","West US","UK West","South - Africa North","Brazil South","Switzerland North","Switzerland West","Germany - West Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East - US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-12-01-preview","2020-10-01","2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Switzerland North","Switzerland West","Germany West Central","Australia - Central 2","UAE Central","Brazil South","UAE North","Japan West","Brazil Southeast","Norway - East","Norway West","France South","South India","Jio India Central","Jio - India West","Canada East","West US 3","Sweden Central","Korea South"],"apiVersions":["2021-06-01","2020-10-01","2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2021-06-01","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"workspaces/dataExports","locations":["East - US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan - East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia - East","France Central","Korea Central","North Europe","Central US","East Asia","East - US 2","South Central US","North Central US","West US","UK West","South Africa - North","Brazil South","Switzerland North","Switzerland West","Germany West - Central","Australia Central 2","UAE Central","UAE North","Japan West","Brazil - Southeast","Norway East","Norway West","France South","South India","Jio India - Central","Jio India West","Canada East","West US 3","Sweden Central","Korea - South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '12146' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:40:59 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "properties": {"publicNetworkAccessForIngestion": - "Enabled", "publicNetworkAccessForQuery": "Enabled"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - Content-Length: - - '126' - Content-Type: - - application/json - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview - response: - body: - string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"aa87a3dc-d9f1-46b3-849d-9b3a979aec75\",\r\n \"provisioningState\": \"Creating\",\r\n - \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 22:41:03 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n - \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n - \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n - \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Fri, 06 May 2022 23:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n - \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:41:03 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 22:41:03 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n - \ \"location\": \"eastus\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '1105' - content-type: - - application/json - date: - - Fri, 06 May 2022 22:41:03 GMT - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - x-powered-by: - - ASP.NET - - ASP.NET - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview - response: - body: - string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"aa87a3dc-d9f1-46b3-849d-9b3a979aec75\",\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Fri, 06 May 2022 22:41:03 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n - \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n - \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n - \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Fri, 06 May 2022 23:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n - \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Fri, 06 May 2022 22:41:03 GMT\",\r\n - \ \"modifiedDate\": \"Fri, 06 May 2022 22:41:04 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n - \ \"location\": \"eastus\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '1106' - content-type: - - application/json - date: - - Fri, 06 May 2022 22:41:33 GMT - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 - response: - body: - string: "{\r\n \"primarySharedKey\": \"SN6HImwNCpUMjRWp6N//utZgiUBbB4hIECK3dt+CMbGQN60vU1J6Zt1vNFgmeuiJ6Hvogq4eP11kD1awyikX8Q==\",\r\n - \ \"secondarySharedKey\": \"0nUUgf8urNcGUc1D+2dZRucG2eHyNkUk/8fEmBWJiyyDrI98aEoRLmilsZiZyAUZXQq7y0VIsAESBjRVE/etjA==\"\r\n}" - headers: - cache-control: - - no-cache - cachecontrol: - - no-cache - content-length: - - '235' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:41:35 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-ams-apiversion: - - WebAPI1.0 - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - x-powered-by: - - ASP.NET - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": - null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": - {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": - "aa87a3dc-d9f1-46b3-849d-9b3a979aec75", "sharedKey": "SN6HImwNCpUMjRWp6N//utZgiUBbB4hIECK3dt+CMbGQN60vU1J6Zt1vNFgmeuiJ6Hvogq4eP11kD1awyikX8Q=="}}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - Content-Length: - - '399' - Content-Type: - - application/json - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/fb3890cd-e650-48c2-8f63-530a4c7d8985?api-version=2022-01-01-preview&azureAsyncOperation=true - cache-control: - - no-cache - content-length: - - '787' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:41:38 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-writes: - - '1199' - x-powered-by: - - ASP.NET - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Waiting","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:41:38 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Waiting","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:41: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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Waiting","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:41:44 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Waiting","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:41:47 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Waiting","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:41:49 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Waiting","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:41:52 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Waiting","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:41: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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Waiting","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:41:58 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Waiting","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:42: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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Waiting","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:42: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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Waiting","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:42:06 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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Waiting","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:42: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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Waiting","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:42: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-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Waiting","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '785' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:42: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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Succeeded","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '787' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:42: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","Canada Central","West Europe","North - Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '2737' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:42:17 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:41:37.5412938","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:41:37.5412938"},"properties":{"provisioningState":"Succeeded","defaultDomain":"blacksky-37d55882.eastus.azurecontainerapps.io","staticIp":"20.232.85.122","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa87a3dc-d9f1-46b3-849d-9b3a979aec75"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '787' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:42: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2021-04-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"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North - Central US (Stage)","Canada Central","West Europe","North Europe","East US","East - US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","Canada Central","West Europe","North - Europe","East US","East US 2"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '2737' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:42:17 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": - null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", - "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": - {"fqdn": null, "external": false, "targetPort": 5000, "transport": "auto", "traffic": - null, "customDomains": null}, "dapr": null, "registries": null}, "template": - {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", - "name": "foo", "command": ["/code/entrypoint.sh"], "args": ["echo \"hello world\""], - "env": null, "resources": null, "volumeMounts": null}], "scale": null, "volumes": - null}}, "tags": null}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - Content-Length: - - '830' - Content-Type: - - application/json - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:42:22.3766318Z","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:42:22.3766318Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.80.70","20.121.255.217","20.232.80.43"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.blacksky-37d55882.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/5c5ca5e5-405f-4d07-a414-f46d57450e3e?api-version=2022-01-01-preview&azureAsyncOperation=true - cache-control: - - no-cache - content-length: - - '1431' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:42:24 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-writes: - - '1199' - x-powered-by: - - ASP.NET - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:42:22.3766318","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:42:22.3766318"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.80.70","20.121.255.217","20.232.80.43"],"latestRevisionName":"foo--ftlv4ju","latestRevisionFqdn":"foo--ftlv4ju.internal.blacksky-37d55882.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.blacksky-37d55882.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1509' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:42:25 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:42:22.3766318","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:42:22.3766318"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.80.70","20.121.255.217","20.232.80.43"],"latestRevisionName":"foo--ftlv4ju","latestRevisionFqdn":"foo--ftlv4ju.internal.blacksky-37d55882.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.blacksky-37d55882.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1509' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:42:28 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:42:22.3766318","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:42:22.3766318"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.80.70","20.121.255.217","20.232.80.43"],"latestRevisionName":"foo--ftlv4ju","latestRevisionFqdn":"foo--ftlv4ju.internal.blacksky-37d55882.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.blacksky-37d55882.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1509' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:42:31 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:42:22.3766318","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:42:22.3766318"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.80.70","20.121.255.217","20.232.80.43"],"latestRevisionName":"foo--ftlv4ju","latestRevisionFqdn":"foo--ftlv4ju.internal.blacksky-37d55882.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.blacksky-37d55882.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1509' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:42: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 compose create - Connection: - - keep-alive - ParameterSetName: - - --compose-file-path --resource-group --environment --logs-workspace - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo?api-version=2022-01-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"jessde@microsoft.com","createdByType":"User","createdAt":"2022-05-06T22:42:22.3766318","lastModifiedBy":"jessde@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-06T22:42:22.3766318"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.80.70","20.121.255.217","20.232.80.43"],"latestRevisionName":"foo--ftlv4ju","latestRevisionFqdn":"foo--ftlv4ju.internal.blacksky-37d55882.eastus.azurecontainerapps.io","customDomainVerificationId":"86F242A74521463B9CF98C58C12BAD5CAE2436448CB921C0AA5494951CA7AA53","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.blacksky-37d55882.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo - \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1508' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 May 2022 22:42:37 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -version: 1 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_basic.py b/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_basic.py new file mode 100644 index 00000000000..662f680b068 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_basic.py @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +import os +import unittest # pylint: disable=unused-import + +from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) + + +TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) + + +class ContainerappComposePreviewScenarioTest(ScenarioTest): + + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_basic_no_existing_resources(self, resource_group): + compose_text = """ +services: + foo: + image: smurawski/printenv:latest +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + self.cmd(command_string, checks=[ + self.check('[].name', ['foo']), + self.check('[] | length(@)', 1), + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_command.py b/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_command.py new file mode 100644 index 00000000000..edc98a28afa --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_command.py @@ -0,0 +1,115 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +import os +import unittest # pylint: disable=unused-import + +from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) + + +TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) + + +class ContainerappComposePreviewCommandScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_with_command_string(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + command: echo "hello world" + expose: + - "5000" +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + self.cmd(command_string, checks=[ + self.check('[?name==`foo`].properties.template.containers[0].command[0]', "['echo \"hello world\"']"), + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_with_command_list(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + command: ["echo", "hello world"] + expose: + - "5000" +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + self.cmd(command_string, checks=[ + self.check('[?name==`foo`].properties.template.containers[0].command[0]', "['echo \"hello world\"']"), + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_with_command_list_and_entrypoint(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + command: ["echo", "hello world"] + entrypoint: /code/entrypoint.sh + expose: + - "5000" +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + self.cmd(command_string, checks=[ + self.check('[?name==`foo`].properties.template.containers[0].command[0]', "['/code/entrypoint.sh']"), + self.check('[?name==`foo`].properties.template.containers[0].args[0]', "['echo \"hello world\"']"), + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_environment.py b/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_environment.py new file mode 100644 index 00000000000..8b5bf6f44ca --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_environment.py @@ -0,0 +1,87 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +import os +import unittest # pylint: disable=unused-import + +from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) + + +TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) + + +class ContainerappComposePreviewEnvironmentSettingsScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_environment(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + environment: + - RACK_ENV=development + - SHOW=true + - BAZ="snafu" +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + self.cmd(command_string, checks=[ + self.check('[?name==`foo`].properties.template.containers[0].env[0].name', ["RACK_ENV"]), + self.check('[?name==`foo`].properties.template.containers[0].env[0].value', ["development"]), + self.check('[?name==`foo`].properties.template.containers[0].env[1].name', ["SHOW"]), + self.check('[?name==`foo`].properties.template.containers[0].env[1].value', ["true"]), + self.check('[?name==`foo`].properties.template.containers[0].env[2].name', ["BAZ"]), + self.check('[?name==`foo`].properties.template.containers[0].env[2].value', ['"snafu"']) + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + +class ContainerappComposePreviewEnvironmentSettingsExpectedExceptionScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_environment_prompt(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + environment: + - LOREM= +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + + # This test fails because prompts are not supported in NoTTY environments + self.cmd(command_string, expect_failure=True) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_ingress.py b/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_ingress.py new file mode 100644 index 00000000000..8b13f86e3d9 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_ingress.py @@ -0,0 +1,157 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +import os +import unittest # pylint: disable=unused-import + +from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) + + +TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) + + +class ContainerappComposePreviewIngressScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_ingress_external(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + ports: 8080:80 +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + self.cmd(command_string, checks=[ + self.check('[?name==`foo`].properties.configuration.ingress.targetPort', [80]), + self.check('[?name==`foo`].properties.configuration.ingress.external', [True]), + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + +class ContainerappComposePreviewIngressInternalScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_ingress_internal(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + expose: + - "3000" +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + self.cmd(command_string, checks=[ + self.check('[?name==`foo`].properties.configuration.ingress.targetPort', [3000]), + self.check('[?name==`foo`].properties.configuration.ingress.external', [False]), + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + +class ContainerappComposePreviewIngressBothScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_ingress_both(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + ports: 4000:3000 + expose: + - "5000" +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + self.cmd(command_string, checks=[ + self.check('[?name==`foo`].properties.configuration.ingress.targetPort', [3000]), + self.check('[?name==`foo`].properties.configuration.ingress.external', [True]), + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + +class ContainerappComposePreviewIngressPromptScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_ingress_prompt(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + ports: + - 4000:3000 + - 443:443 + - 80:80 + expose: + - "5000" + - "3000" + - "443" +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + + # This test fails because prompts are not supported in NoTTY environments + self.cmd(command_string, expect_failure=True) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_registries.py b/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_registries.py new file mode 100644 index 00000000000..328e55c9e69 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_registries.py @@ -0,0 +1,89 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +import os +import unittest # pylint: disable=unused-import + +from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) + + +TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) + + +class ContainerappComposePreviewRegistryAllArgsScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_registry_all_args(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + ports: 8080:80 +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + 'registry_server': "foobar.azurecr.io", + 'registry_user': "foobar", + 'registry_pass': "snafu", + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + command_string += ' --registry-server {registry_server}' + command_string += ' --registry-username {registry_user}' + command_string += ' --registry-password {registry_pass}' + + self.cmd(command_string, checks=[ + self.check('[?name==`foo`].properties.configuration.registries[0].server', ["foobar.azurecr.io"]), + self.check('[?name==`foo`].properties.configuration.registries[0].username', ["foobar"]), + self.check('[?name==`foo`].properties.configuration.registries[0].passwordSecretRef', ["foobarazurecrio-foobar"]), # pylint: disable=C0301 + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + +class ContainerappComposePreviewRegistryServerArgOnlyScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_registry_server_arg_only(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + ports: 8080:80 +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + 'registry_server': "foobar.azurecr.io", + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + command_string += ' --registry-server {registry_server}' + + # This test fails because prompts are not supported in NoTTY environments + self.cmd(command_string, expect_failure=True) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_resources.py b/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_resources.py new file mode 100644 index 00000000000..28696541dc9 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_resources.py @@ -0,0 +1,120 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +import os +import unittest # pylint: disable=unused-import + +from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) + + +TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) + + +class ContainerappComposePreviewResourceSettingsScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_resources_from_service_cpus(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + cpus: 1.25 + expose: + - "3000" +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + self.cmd(command_string, checks=[ + self.check('[?name==`foo`].properties.template.containers[0].resources.cpu', [1.25]), + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_resources_from_deploy_cpu(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + deploy: + resources: + reservations: + cpus: 1.25 + expose: + - "3000" +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + self.cmd(command_string, checks=[ + self.check('[?name==`foo`].properties.template.containers[0].resources.cpu', [1.25]), + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_resources_from_both_cpus_and_deploy_cpu(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + cpus: 0.75 + deploy: + resources: + reservations: + cpus: 1.25 + expose: + - "3000" +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + self.cmd(command_string, checks=[ + self.check('[?name==`foo`].properties.template.containers[0].resources.cpu', [1.25]), + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scale.py b/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scale.py new file mode 100644 index 00000000000..2bdd53d5409 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scale.py @@ -0,0 +1,87 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +import os +import unittest # pylint: disable=unused-import + +from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) + + +TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) + + +class ContainerappComposePreviewReplicasScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_replicas_global_scale(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + ports: 8080:80 + scale: 4 + deploy: + mode: global + replicas: 6 +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + + self.cmd(command_string, checks=[ + self.check('[?name==`foo`].properties.template.scale.minReplicas', [1]), + self.check('[?name==`foo`].properties.template.scale.maxReplicas', [1]), + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_replicas_replicated_mode(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + ports: 8080:80 + deploy: + mode: replicated + replicas: 6 +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + + self.cmd(command_string, checks=[ + self.check('[?name==`foo`].properties.template.scale.minReplicas', [6]), + self.check('[?name==`foo`].properties.template.scale.maxReplicas', [6]), + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scenario.py b/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scenario.py deleted file mode 100644 index 7f32e67128c..00000000000 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scenario.py +++ /dev/null @@ -1,821 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - -import os -import unittest # pylint: disable=unused-import - -from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) - - -TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) - - -class ContainerappComposePreviewScenarioTest(ScenarioTest): - - @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') - def test_containerapp_compose_create_no_existing_resources(self, resource_group): - compose_text = """ -services: - foo: - image: smurawski/printenv:latest -""" - compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() - - self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), - 'compose': compose_file_name, - }) - - command_string = 'containerapp compose create' - command_string += ' --compose-file-path {compose}' - command_string += ' --resource-group {rg}' - command_string += ' --environment {environment}' - command_string += ' --logs-workspace {workspace}' - self.cmd(command_string, checks=[ - self.check('[].name', ['foo']), - self.check('[] | length(@)', 1), - ]) - - if os.path.exists(compose_file_name): - os.remove(compose_file_name) - - -class ContainerappComposePreviewIngressScenarioTest(ScenarioTest): - @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') - def test_containerapp_compose_create_with_external_ingress(self, resource_group): - compose_text = """ -services: - foo: - image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 - ports: 8080:80 -""" - compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() - - self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), - 'compose': compose_file_name, - }) - - command_string = 'containerapp compose create' - command_string += ' --compose-file-path {compose}' - command_string += ' --resource-group {rg}' - command_string += ' --environment {environment}' - command_string += ' --logs-workspace {workspace}' - self.cmd(command_string, checks=[ - self.check('[?name==`foo`].properties.configuration.ingress.targetPort', [80]), - self.check('[?name==`foo`].properties.configuration.ingress.external', [True]), - ]) - - if os.path.exists(compose_file_name): - os.remove(compose_file_name) - - -class ContainerappComposePreviewIngressInternalScenarioTest(ScenarioTest): - @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') - def test_containerapp_compose_create_with_internal_ingress(self, resource_group): - compose_text = """ -services: - foo: - image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 - expose: - - "3000" -""" - compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() - - self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), - 'compose': compose_file_name, - }) - - command_string = 'containerapp compose create' - command_string += ' --compose-file-path {compose}' - command_string += ' --resource-group {rg}' - command_string += ' --environment {environment}' - command_string += ' --logs-workspace {workspace}' - self.cmd(command_string, checks=[ - self.check('[?name==`foo`].properties.configuration.ingress.targetPort', [3000]), - self.check('[?name==`foo`].properties.configuration.ingress.external', [False]), - ]) - - if os.path.exists(compose_file_name): - os.remove(compose_file_name) - - -class ContainerappComposePreviewIngressBothScenarioTest(ScenarioTest): - @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') - def test_containerapp_compose_create_with_both_ingress(self, resource_group): - compose_text = """ -services: - foo: - image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 - ports: 4000:3000 - expose: - - "5000" -""" - compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() - - self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), - 'compose': compose_file_name, - }) - - command_string = 'containerapp compose create' - command_string += ' --compose-file-path {compose}' - command_string += ' --resource-group {rg}' - command_string += ' --environment {environment}' - command_string += ' --logs-workspace {workspace}' - self.cmd(command_string, checks=[ - self.check('[?name==`foo`].properties.configuration.ingress.targetPort', [3000]), - self.check('[?name==`foo`].properties.configuration.ingress.external', [True]), - ]) - - if os.path.exists(compose_file_name): - os.remove(compose_file_name) - - -class ContainerappComposePreviewIngressPromptScenarioTest(ScenarioTest): - @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') - def test_containerapp_compose_create_with_prompt_ingress(self, resource_group): - compose_text = """ -services: - foo: - image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 - ports: - - 4000:3000 - - 443:443 - - 80:80 - expose: - - "5000" - - "3000" - - "443" -""" - compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() - - self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), - 'compose': compose_file_name, - }) - - command_string = 'containerapp compose create' - command_string += ' --compose-file-path {compose}' - command_string += ' --resource-group {rg}' - command_string += ' --environment {environment}' - command_string += ' --logs-workspace {workspace}' - - # This test fails because prompts are not supported in NoTTY environments - self.cmd(command_string, expect_failure=True) - - if os.path.exists(compose_file_name): - os.remove(compose_file_name) - - -class ContainerappComposePreviewCommandScenarioTest(ScenarioTest): - @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') - def test_containerapp_compose_with_command_string(self, resource_group): - compose_text = """ -services: - foo: - image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 - command: echo "hello world" - expose: - - "5000" -""" - compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() - - self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), - 'compose': compose_file_name, - }) - - command_string = 'containerapp compose create' - command_string += ' --compose-file-path {compose}' - command_string += ' --resource-group {rg}' - command_string += ' --environment {environment}' - command_string += ' --logs-workspace {workspace}' - self.cmd(command_string, checks=[ - self.check('[?name==`foo`].properties.template.containers[0].command[0]', "['echo \"hello world\"']"), - ]) - - if os.path.exists(compose_file_name): - os.remove(compose_file_name) - - @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') - def test_containerapp_compose_with_command_list(self, resource_group): - compose_text = """ -services: - foo: - image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 - command: ["echo", "hello world"] - expose: - - "5000" -""" - compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() - - self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), - 'compose': compose_file_name, - }) - - command_string = 'containerapp compose create' - command_string += ' --compose-file-path {compose}' - command_string += ' --resource-group {rg}' - command_string += ' --environment {environment}' - command_string += ' --logs-workspace {workspace}' - self.cmd(command_string, checks=[ - self.check('[?name==`foo`].properties.template.containers[0].command[0]', "['echo \"hello world\"']"), - ]) - - if os.path.exists(compose_file_name): - os.remove(compose_file_name) - - @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') - def test_containerapp_compose_with_entrypoint_and_command_list(self, resource_group): - compose_text = """ -services: - foo: - image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 - command: ["echo", "hello world"] - entrypoint: /code/entrypoint.sh - expose: - - "5000" -""" - compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() - - self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), - 'compose': compose_file_name, - }) - - command_string = 'containerapp compose create' - command_string += ' --compose-file-path {compose}' - command_string += ' --resource-group {rg}' - command_string += ' --environment {environment}' - command_string += ' --logs-workspace {workspace}' - self.cmd(command_string, checks=[ - self.check('[?name==`foo`].properties.template.containers[0].command[0]', "['/code/entrypoint.sh']"), - self.check('[?name==`foo`].properties.template.containers[0].args[0]', "['echo \"hello world\"']"), - ]) - - if os.path.exists(compose_file_name): - os.remove(compose_file_name) - - -class ContainerappComposePreviewResourceSettingsScenarioTest(ScenarioTest): - @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') - def test_containerapp_compose_create_with_cpus(self, resource_group): - compose_text = """ -services: - foo: - image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 - cpus: 1.25 - expose: - - "3000" -""" - compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() - - self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), - 'compose': compose_file_name, - }) - - command_string = 'containerapp compose create' - command_string += ' --compose-file-path {compose}' - command_string += ' --resource-group {rg}' - command_string += ' --environment {environment}' - command_string += ' --logs-workspace {workspace}' - self.cmd(command_string, checks=[ - self.check('[?name==`foo`].properties.template.containers[0].resources.cpu', [1.25]), - ]) - - if os.path.exists(compose_file_name): - os.remove(compose_file_name) - - @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') - def test_containerapp_compose_create_with_deploy_cpu(self, resource_group): - compose_text = """ -services: - foo: - image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 - deploy: - resources: - reservations: - cpus: 1.25 - expose: - - "3000" -""" - compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() - - self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), - 'compose': compose_file_name, - }) - - command_string = 'containerapp compose create' - command_string += ' --compose-file-path {compose}' - command_string += ' --resource-group {rg}' - command_string += ' --environment {environment}' - command_string += ' --logs-workspace {workspace}' - self.cmd(command_string, checks=[ - self.check('[?name==`foo`].properties.template.containers[0].resources.cpu', [1.25]), - ]) - - if os.path.exists(compose_file_name): - os.remove(compose_file_name) - - @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') - def test_containerapp_compose_create_with_cpus_and_deploy_cpu(self, resource_group): - compose_text = """ -services: - foo: - image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 - cpus: 0.75 - deploy: - resources: - reservations: - cpus: 1.25 - expose: - - "3000" -""" - compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() - - self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), - 'compose': compose_file_name, - }) - - command_string = 'containerapp compose create' - command_string += ' --compose-file-path {compose}' - command_string += ' --resource-group {rg}' - command_string += ' --environment {environment}' - command_string += ' --logs-workspace {workspace}' - self.cmd(command_string, checks=[ - self.check('[?name==`foo`].properties.template.containers[0].resources.cpu', [1.25]), - ]) - - if os.path.exists(compose_file_name): - os.remove(compose_file_name) - - -class ContainerappComposePreviewEnvironmentSettingsScenarioTest(ScenarioTest): - @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') - def test_containerapp_compose_create_with_environment(self, resource_group): - compose_text = """ -services: - foo: - image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 - environment: - - RACK_ENV=development - - SHOW=true - - BAZ="snafu" -""" - compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() - - self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), - 'compose': compose_file_name, - }) - - command_string = 'containerapp compose create' - command_string += ' --compose-file-path {compose}' - command_string += ' --resource-group {rg}' - command_string += ' --environment {environment}' - command_string += ' --logs-workspace {workspace}' - self.cmd(command_string, checks=[ - self.check('[?name==`foo`].properties.template.containers[0].env[0].name', ["RACK_ENV"]), - self.check('[?name==`foo`].properties.template.containers[0].env[0].value', ["development"]), - self.check('[?name==`foo`].properties.template.containers[0].env[1].name', ["SHOW"]), - self.check('[?name==`foo`].properties.template.containers[0].env[1].value', ["true"]), - self.check('[?name==`foo`].properties.template.containers[0].env[2].name', ["BAZ"]), - self.check('[?name==`foo`].properties.template.containers[0].env[2].value', ['"snafu"']) - ]) - - if os.path.exists(compose_file_name): - os.remove(compose_file_name) - - -class ContainerappComposePreviewEnvironmentSettingsExpectedExceptionScenarioTest(ScenarioTest): - @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') - def test_containerapp_compose_create_with_environment_prompt(self, resource_group): - compose_text = """ -services: - foo: - image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 - environment: - - LOREM= -""" - compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() - - self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), - 'compose': compose_file_name, - }) - - command_string = 'containerapp compose create' - command_string += ' --compose-file-path {compose}' - command_string += ' --resource-group {rg}' - command_string += ' --environment {environment}' - command_string += ' --logs-workspace {workspace}' - - # This test fails because prompts are not supported in NoTTY environments - self.cmd(command_string, expect_failure=True) - - if os.path.exists(compose_file_name): - os.remove(compose_file_name) - - -class ContainerappComposePreviewTransportOverridesScenarioTest(ScenarioTest): - @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') - def test_containerapp_compose_create_with_transport_arg(self, resource_group): - compose_text = """ -services: - foo: - image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 - ports: 8080:80 -""" - compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() - - self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), - 'compose': compose_file_name, - 'transport': "foo=http2 bar=auto", - 'second_transport': "baz=http", - }) - - command_string = 'containerapp compose create' - command_string += ' --compose-file-path {compose}' - command_string += ' --resource-group {rg}' - command_string += ' --environment {environment}' - command_string += ' --logs-workspace {workspace}' - command_string += ' --transport {transport}' - command_string += ' --transport {second_transport}' - self.cmd(command_string, checks=[ - self.check('[?name==`foo`].properties.configuration.ingress.transport', ["Http2"]), - ]) - - if os.path.exists(compose_file_name): - os.remove(compose_file_name) - - -class ContainerappComposePreviewRegistryAllArgsScenarioTest(ScenarioTest): - @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') - def test_containerapp_compose_create_with_all_registry_args(self, resource_group): - compose_text = """ -services: - foo: - image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 - ports: 8080:80 -""" - compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() - - self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), - 'compose': compose_file_name, - 'registry_server': "foobar.azurecr.io", - 'registry_user': "foobar", - 'registry_pass': "snafu", - }) - - command_string = 'containerapp compose create' - command_string += ' --compose-file-path {compose}' - command_string += ' --resource-group {rg}' - command_string += ' --environment {environment}' - command_string += ' --logs-workspace {workspace}' - command_string += ' --registry-server {registry_server}' - command_string += ' --registry-username {registry_user}' - command_string += ' --registry-password {registry_pass}' - - self.cmd(command_string, checks=[ - self.check('[?name==`foo`].properties.configuration.registries[0].server', ["foobar.azurecr.io"]), - self.check('[?name==`foo`].properties.configuration.registries[0].username', ["foobar"]), - self.check('[?name==`foo`].properties.configuration.registries[0].passwordSecretRef', ["foobarazurecrio-foobar"]), # pylint: disable=C0301 - ]) - - if os.path.exists(compose_file_name): - os.remove(compose_file_name) - - -class ContainerappComposePreviewRegistryServerArgOnlyScenarioTest(ScenarioTest): - @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') - def test_containerapp_compose_create_with_registry_server_arg_only(self, resource_group): - compose_text = """ -services: - foo: - image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 - ports: 8080:80 -""" - compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() - - self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), - 'compose': compose_file_name, - 'registry_server': "foobar.azurecr.io", - }) - - command_string = 'containerapp compose create' - command_string += ' --compose-file-path {compose}' - command_string += ' --resource-group {rg}' - command_string += ' --environment {environment}' - command_string += ' --logs-workspace {workspace}' - command_string += ' --registry-server {registry_server}' - - # This test fails because prompts are not supported in NoTTY environments - self.cmd(command_string, expect_failure=True) - - if os.path.exists(compose_file_name): - os.remove(compose_file_name) - - -class ContainerappComposePreviewSecretsScenarioTest(ScenarioTest): - @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') - def test_containerapp_compose_create_with_secrets(self, resource_group): - compose_text = """ -services: - foo: - image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 - secrets: - - source: my_secret - target: redis_secret - uid: '103' - gid: '103' - mode: 0440 -secrets: - my_secret: - file: ./my_secret.txt - my_other_secret: - external: true -""" - compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() - - secrets_file_name = "./my_secret.txt" - docker_secrets_file = open(secrets_file_name, "w", encoding='utf-8') - _ = docker_secrets_file.write("Lorem Ipsum\n") - docker_secrets_file.close() - - self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), - 'compose': compose_file_name, - }) - - command_string = 'containerapp compose create' - command_string += ' --compose-file-path {compose}' - command_string += ' --resource-group {rg}' - command_string += ' --environment {environment}' - command_string += ' --logs-workspace {workspace}' - - self.cmd(command_string, checks=[ - self.check('[?name==`foo`].properties.configuration.secrets[0].name', ["redis-secret"]), - self.check('[?name==`foo`].properties.template.containers[0].env[0].name', ["redis-secret"]), - self.check('[?name==`foo`].properties.template.containers[0].env[0].secretRef', ["redis-secret"]) # pylint: disable=C0301 - ]) - - if os.path.exists(compose_file_name): - os.remove(compose_file_name) - - if os.path.exists(secrets_file_name): - os.remove(secrets_file_name) - - @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') - def test_containerapp_compose_create_with_secrets_and_existing_environment(self, resource_group): - compose_text = """ -services: - foo: - image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 - environment: - database__client: mysql - database__connection__host: db - database__connection__user: root - database__connection__password: example - database__connection__database: snafu - secrets: - - source: my_secret - target: redis_secret - uid: '103' - gid: '103' - mode: 0440 -secrets: - my_secret: - file: ./snafu.txt - my_other_secret: - external: true -""" - compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() - - secrets_file_name = "./snafu.txt" - docker_secrets_file = open(secrets_file_name, "w", encoding='utf-8') - _ = docker_secrets_file.write("Lorem Ipsum\n") - docker_secrets_file.close() - - self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), - 'compose': compose_file_name, - }) - - command_string = 'containerapp compose create' - command_string += ' --compose-file-path {compose}' - command_string += ' --resource-group {rg}' - command_string += ' --environment {environment}' - command_string += ' --logs-workspace {workspace}' - - self.cmd(command_string, checks=[ - self.check('length([?name==`foo`].properties.template.containers[0].env[].name)', 6), - ]) - - if os.path.exists(compose_file_name): - os.remove(compose_file_name) - - if os.path.exists(secrets_file_name): - os.remove(secrets_file_name) - - @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') - def test_containerapp_compose_create_with_secrets_and_existing_environment_conflict(self, resource_group): - compose_text = """ -services: - foo: - image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 - environment: - database--client: mysql - secrets: - - database__client -secrets: - database__client: - file: ./database__client.txt -""" - compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() - - secrets_file_name = "./database__client.txt" - docker_secrets_file = open(secrets_file_name, "w", encoding='utf-8') - _ = docker_secrets_file.write("Lorem Ipsum\n") - docker_secrets_file.close() - - self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), - 'compose': compose_file_name, - }) - - command_string = 'containerapp compose create' - command_string += ' --compose-file-path {compose}' - command_string += ' --resource-group {rg}' - command_string += ' --environment {environment}' - command_string += ' --logs-workspace {workspace}' - - # This test fails with duplicate environment variable names - self.cmd(command_string, expect_failure=True) - - if os.path.exists(compose_file_name): - os.remove(compose_file_name) - - if os.path.exists(secrets_file_name): - os.remove(secrets_file_name) - - -class ContainerappComposePreviewReplicasScenarioTest(ScenarioTest): - @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') - def test_containerapp_compose_create_with_replicas_global_scale(self, resource_group): - compose_text = """ -services: - foo: - image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 - ports: 8080:80 - scale: 4 - deploy: - mode: global - replicas: 6 -""" - compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() - - self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), - 'compose': compose_file_name, - }) - - command_string = 'containerapp compose create' - command_string += ' --compose-file-path {compose}' - command_string += ' --resource-group {rg}' - command_string += ' --environment {environment}' - command_string += ' --logs-workspace {workspace}' - - self.cmd(command_string, checks=[ - self.check('[?name==`foo`].properties.template.scale.minReplicas', [1]), - self.check('[?name==`foo`].properties.template.scale.maxReplicas', [1]), - ]) - - if os.path.exists(compose_file_name): - os.remove(compose_file_name) - - @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') - def test_containerapp_compose_create_with_replicas_replicated_mode(self, resource_group): - compose_text = """ -services: - foo: - image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 - ports: 8080:80 - deploy: - mode: replicated - replicas: 6 -""" - compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() - - self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), - 'compose': compose_file_name, - }) - - command_string = 'containerapp compose create' - command_string += ' --compose-file-path {compose}' - command_string += ' --resource-group {rg}' - command_string += ' --environment {environment}' - command_string += ' --logs-workspace {workspace}' - - self.cmd(command_string, checks=[ - self.check('[?name==`foo`].properties.template.scale.minReplicas', [6]), - self.check('[?name==`foo`].properties.template.scale.maxReplicas', [6]), - ]) - - if os.path.exists(compose_file_name): - os.remove(compose_file_name) diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_secrets.py b/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_secrets.py new file mode 100644 index 00000000000..82ddf45b269 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_secrets.py @@ -0,0 +1,167 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +import os +import unittest # pylint: disable=unused-import + +from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) + + +TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) + + +class ContainerappComposePreviewSecretsScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_secrets(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + secrets: + - source: my_secret + target: redis_secret + uid: '103' + gid: '103' + mode: 0440 +secrets: + my_secret: + file: ./my_secret.txt + my_other_secret: + external: true +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + secrets_file_name = "./my_secret.txt" + docker_secrets_file = open(secrets_file_name, "w", encoding='utf-8') + _ = docker_secrets_file.write("Lorem Ipsum\n") + docker_secrets_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + + self.cmd(command_string, checks=[ + self.check('[?name==`foo`].properties.configuration.secrets[0].name', ["redis-secret"]), + self.check('[?name==`foo`].properties.template.containers[0].env[0].name', ["redis-secret"]), + self.check('[?name==`foo`].properties.template.containers[0].env[0].secretRef', ["redis-secret"]) # pylint: disable=C0301 + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + if os.path.exists(secrets_file_name): + os.remove(secrets_file_name) + + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_secrets_and_existing_environment(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + environment: + database__client: mysql + database__connection__host: db + database__connection__user: root + database__connection__password: example + database__connection__database: snafu + secrets: + - source: my_secret + target: redis_secret + uid: '103' + gid: '103' + mode: 0440 +secrets: + my_secret: + file: ./snafu.txt + my_other_secret: + external: true +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + secrets_file_name = "./snafu.txt" + docker_secrets_file = open(secrets_file_name, "w", encoding='utf-8') + _ = docker_secrets_file.write("Lorem Ipsum\n") + docker_secrets_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + + self.cmd(command_string, checks=[ + self.check('length([?name==`foo`].properties.template.containers[0].env[].name)', 6), + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + if os.path.exists(secrets_file_name): + os.remove(secrets_file_name) + + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_secrets_and_existing_environment_conflict(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + environment: + database--client: mysql + secrets: + - database__client +secrets: + database__client: + file: ./database__client.txt +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + secrets_file_name = "./database__client.txt" + docker_secrets_file = open(secrets_file_name, "w", encoding='utf-8') + _ = docker_secrets_file.write("Lorem Ipsum\n") + docker_secrets_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + + # This test fails with duplicate environment variable names + self.cmd(command_string, expect_failure=True) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) + + if os.path.exists(secrets_file_name): + os.remove(secrets_file_name) diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_transport_overrides.py b/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_transport_overrides.py new file mode 100644 index 00000000000..3b28d1f5b10 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_transport_overrides.py @@ -0,0 +1,49 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +import os +import unittest # pylint: disable=unused-import + +from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) + + +TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) + + +class ContainerappComposePreviewTransportOverridesScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') + def test_containerapp_compose_create_with_transport_arg(self, resource_group): + compose_text = """ +services: + foo: + image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 + ports: 8080:80 +""" + compose_file_name = f"{self._testMethodName}_compose.yml" + docker_compose_file = open(compose_file_name, "w", encoding='utf-8') + _ = docker_compose_file.write(compose_text) + docker_compose_file.close() + + self.kwargs.update({ + 'environment': self.create_random_name(prefix='containerapp-preview', length=24), + 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'compose': compose_file_name, + 'transport': "foo=http2 bar=auto", + 'second_transport': "baz=http", + }) + + command_string = 'containerapp compose create' + command_string += ' --compose-file-path {compose}' + command_string += ' --resource-group {rg}' + command_string += ' --environment {environment}' + command_string += ' --logs-workspace {workspace}' + command_string += ' --transport {transport}' + command_string += ' --transport {second_transport}' + self.cmd(command_string, checks=[ + self.check('[?name==`foo`].properties.configuration.ingress.transport', ["Http2"]), + ]) + + if os.path.exists(compose_file_name): + os.remove(compose_file_name) From 7116f96ae0d06aefe846ad819c7c5c71530e9a90 Mon Sep 17 00:00:00 2001 From: Steven Murawski Date: Fri, 13 May 2022 18:53:40 +0000 Subject: [PATCH 07/17] update the vendored containerapp extension --- .../azext_containerapp/_clients.py | 176 +++++++++++--- .../azext_containerapp/_constants.py | 4 + .../azext_containerapp/_github_oauth.py | 48 +++- .../vendored_sdks/azext_containerapp/_help.py | 80 +++++- .../azext_containerapp/_models.py | 7 + .../azext_containerapp/_params.py | 24 +- .../azext_containerapp/_ssh_utils.py | 14 +- .../azext_containerapp/_up_utils.py | 110 ++++++++- .../azext_containerapp/_utils.py | 189 +++++++++++--- .../azext_containerapp/commands.py | 14 +- .../azext_containerapp/custom.py | 230 +++++++++++++++--- 11 files changed, 778 insertions(+), 118 deletions(-) diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_clients.py b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_clients.py index 6ad9ae78581..0b250ec51e8 100644 --- a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_clients.py +++ b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_clients.py @@ -14,8 +14,6 @@ logger = get_logger(__name__) -API_VERSION = "2021-03-01" -PREVIEW_API_VERSION = "2022-01-01-preview" STABLE_API_VERSION = "2022-03-01" POLLING_TIMEOUT = 60 # how many seconds before exiting POLLING_SECONDS = 2 # how many seconds between requests @@ -27,17 +25,16 @@ def __init__(self): self.currTicker = 0 def tick(self): - # sys.stdout.write('\r') - # sys.stdout.write(self.tickers[self.currTicker] + " Running ..") - # sys.stdout.flush() + sys.stdout.write('\r') + sys.stdout.write(self.tickers[self.currTicker] + " Running ..") + sys.stdout.flush() self.currTicker += 1 self.currTicker = self.currTicker % len(self.tickers) def flush(self): - pass - # sys.stdout.flush() - # sys.stdout.write('\r') - # sys.stdout.write("\033[K") + sys.stdout.flush() + sys.stdout.write('\r') + sys.stdout.write("\033[K") def poll(cmd, request_url, poll_if_status): # pylint: disable=inconsistent-return-statements @@ -75,7 +72,7 @@ class ContainerAppClient(): @classmethod def create_or_update(cls, cmd, resource_group_name, name, container_app_envelope, no_wait=False): management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = PREVIEW_API_VERSION + api_version = STABLE_API_VERSION sub_id = get_subscription_id(cmd.cli_ctx) url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}?api-version={}" request_url = url_fmt.format( @@ -135,7 +132,7 @@ def update(cls, cmd, resource_group_name, name, container_app_envelope, no_wait= @classmethod def delete(cls, cmd, resource_group_name, name, no_wait=False): management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = PREVIEW_API_VERSION + api_version = STABLE_API_VERSION sub_id = get_subscription_id(cmd.cli_ctx) url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}?api-version={}" request_url = url_fmt.format( @@ -169,7 +166,7 @@ def delete(cls, cmd, resource_group_name, name, no_wait=False): @classmethod def show(cls, cmd, resource_group_name, name): management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = PREVIEW_API_VERSION + api_version = STABLE_API_VERSION sub_id = get_subscription_id(cmd.cli_ctx) url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}?api-version={}" request_url = url_fmt.format( @@ -187,7 +184,7 @@ def list_by_subscription(cls, cmd, formatter=lambda x: x): app_list = [] management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = PREVIEW_API_VERSION + api_version = STABLE_API_VERSION sub_id = get_subscription_id(cmd.cli_ctx) request_url = "{}/subscriptions/{}/providers/Microsoft.App/containerApps?api-version={}".format( management_hostname.strip('/'), @@ -215,7 +212,7 @@ def list_by_resource_group(cls, cmd, resource_group_name, formatter=lambda x: x) app_list = [] management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = PREVIEW_API_VERSION + api_version = STABLE_API_VERSION sub_id = get_subscription_id(cmd.cli_ctx) url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps?api-version={}" request_url = url_fmt.format( @@ -244,7 +241,7 @@ def list_by_resource_group(cls, cmd, resource_group_name, formatter=lambda x: x) def list_secrets(cls, cmd, resource_group_name, name): management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = PREVIEW_API_VERSION + api_version = STABLE_API_VERSION sub_id = get_subscription_id(cmd.cli_ctx) url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/listSecrets?api-version={}" request_url = url_fmt.format( @@ -263,7 +260,7 @@ def list_revisions(cls, cmd, resource_group_name, name, formatter=lambda x: x): revisions_list = [] management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = PREVIEW_API_VERSION + api_version = STABLE_API_VERSION sub_id = get_subscription_id(cmd.cli_ctx) url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/revisions?api-version={}" request_url = url_fmt.format( @@ -292,7 +289,7 @@ def list_revisions(cls, cmd, resource_group_name, name, formatter=lambda x: x): @classmethod def show_revision(cls, cmd, resource_group_name, container_app_name, name): management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = PREVIEW_API_VERSION + api_version = STABLE_API_VERSION sub_id = get_subscription_id(cmd.cli_ctx) url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/revisions/{}?api-version={}" request_url = url_fmt.format( @@ -309,7 +306,7 @@ def show_revision(cls, cmd, resource_group_name, container_app_name, name): @classmethod def restart_revision(cls, cmd, resource_group_name, container_app_name, name): management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = PREVIEW_API_VERSION + api_version = STABLE_API_VERSION sub_id = get_subscription_id(cmd.cli_ctx) url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/revisions/{}/restart?api-version={}" request_url = url_fmt.format( @@ -326,7 +323,7 @@ def restart_revision(cls, cmd, resource_group_name, container_app_name, name): @classmethod def activate_revision(cls, cmd, resource_group_name, container_app_name, name): management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = PREVIEW_API_VERSION + api_version = STABLE_API_VERSION sub_id = get_subscription_id(cmd.cli_ctx) url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/revisions/{}/activate?api-version={}" request_url = url_fmt.format( @@ -343,7 +340,7 @@ def activate_revision(cls, cmd, resource_group_name, container_app_name, name): @classmethod def deactivate_revision(cls, cmd, resource_group_name, container_app_name, name): management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = PREVIEW_API_VERSION + api_version = STABLE_API_VERSION sub_id = get_subscription_id(cmd.cli_ctx) url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/revisions/{}/deactivate?api-version={}" request_url = url_fmt.format( @@ -423,7 +420,7 @@ class ManagedEnvironmentClient(): @classmethod def create(cls, cmd, resource_group_name, name, managed_environment_envelope, no_wait=False): management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = PREVIEW_API_VERSION + api_version = STABLE_API_VERSION sub_id = get_subscription_id(cmd.cli_ctx) url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}?api-version={}" request_url = url_fmt.format( @@ -452,7 +449,7 @@ def create(cls, cmd, resource_group_name, name, managed_environment_envelope, no @classmethod def update(cls, cmd, resource_group_name, name, managed_environment_envelope, no_wait=False): management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = PREVIEW_API_VERSION + api_version = STABLE_API_VERSION sub_id = get_subscription_id(cmd.cli_ctx) url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}?api-version={}" request_url = url_fmt.format( @@ -481,7 +478,7 @@ def update(cls, cmd, resource_group_name, name, managed_environment_envelope, no @classmethod def delete(cls, cmd, resource_group_name, name, no_wait=False): management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = PREVIEW_API_VERSION + api_version = STABLE_API_VERSION sub_id = get_subscription_id(cmd.cli_ctx) url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}?api-version={}" request_url = url_fmt.format( @@ -516,7 +513,7 @@ def delete(cls, cmd, resource_group_name, name, no_wait=False): @classmethod def show(cls, cmd, resource_group_name, name): management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = PREVIEW_API_VERSION + api_version = STABLE_API_VERSION sub_id = get_subscription_id(cmd.cli_ctx) url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}?api-version={}" request_url = url_fmt.format( @@ -534,7 +531,7 @@ def list_by_subscription(cls, cmd, formatter=lambda x: x): env_list = [] management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = PREVIEW_API_VERSION + api_version = STABLE_API_VERSION sub_id = get_subscription_id(cmd.cli_ctx) request_url = "{}/subscriptions/{}/providers/Microsoft.App/managedEnvironments?api-version={}".format( management_hostname.strip('/'), @@ -562,7 +559,7 @@ def list_by_resource_group(cls, cmd, resource_group_name, formatter=lambda x: x) env_list = [] management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = PREVIEW_API_VERSION + api_version = STABLE_API_VERSION sub_id = get_subscription_id(cmd.cli_ctx) url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments?api-version={}" request_url = url_fmt.format( @@ -637,7 +634,7 @@ def show(cls, cmd, resource_group_name, name): @classmethod def delete(cls, cmd, resource_group_name, name, headers, no_wait=False): management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = PREVIEW_API_VERSION + api_version = STABLE_API_VERSION sub_id = get_subscription_id(cmd.cli_ctx) url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/sourcecontrols/current?api-version={}" request_url = url_fmt.format( @@ -675,7 +672,7 @@ class DaprComponentClient(): def create_or_update(cls, cmd, resource_group_name, environment_name, name, dapr_component_envelope, no_wait=False): management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = PREVIEW_API_VERSION + api_version = STABLE_API_VERSION sub_id = get_subscription_id(cmd.cli_ctx) url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}/daprComponents/{}?api-version={}" request_url = url_fmt.format( @@ -706,7 +703,7 @@ def create_or_update(cls, cmd, resource_group_name, environment_name, name, dapr @classmethod def delete(cls, cmd, resource_group_name, environment_name, name, no_wait=False): management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = PREVIEW_API_VERSION + api_version = STABLE_API_VERSION sub_id = get_subscription_id(cmd.cli_ctx) url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}/daprComponents/{}?api-version={}" request_url = url_fmt.format( @@ -743,7 +740,7 @@ def delete(cls, cmd, resource_group_name, environment_name, name, no_wait=False) @classmethod def show(cls, cmd, resource_group_name, environment_name, name): management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = PREVIEW_API_VERSION + api_version = STABLE_API_VERSION sub_id = get_subscription_id(cmd.cli_ctx) url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}/daprComponents/{}?api-version={}" request_url = url_fmt.format( @@ -762,7 +759,7 @@ def list(cls, cmd, resource_group_name, environment_name, formatter=lambda x: x) app_list = [] management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = PREVIEW_API_VERSION + api_version = STABLE_API_VERSION sub_id = get_subscription_id(cmd.cli_ctx) request_url = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}/daprComponents?api-version={}".format( management_hostname.strip('/'), @@ -786,3 +783,120 @@ def list(cls, cmd, resource_group_name, environment_name, formatter=lambda x: x) app_list.append(formatted) return app_list + + +class StorageClient(): + @classmethod + def create_or_update(cls, cmd, resource_group_name, env_name, name, storage_envelope, no_wait=False): + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + api_version = STABLE_API_VERSION + sub_id = get_subscription_id(cmd.cli_ctx) + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}/storages/{}?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + env_name, + name, + api_version) + + r = send_raw_request(cmd.cli_ctx, "PUT", request_url, body=json.dumps(storage_envelope)) + + if no_wait: + return r.json() + elif r.status_code == 201: + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}/storages/{}?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + env_name, + name, + api_version) + return poll(cmd, request_url, "waiting") + + return r.json() + + @classmethod + def delete(cls, cmd, resource_group_name, env_name, name, no_wait=False): + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + api_version = STABLE_API_VERSION + sub_id = get_subscription_id(cmd.cli_ctx) + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}/storages/{}?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + env_name, + name, + api_version) + + r = send_raw_request(cmd.cli_ctx, "DELETE", request_url) + + if no_wait: + return # API doesn't return JSON (it returns no content) + elif r.status_code in [200, 201, 202, 204]: + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}/storages/{}?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + env_name, + name, + api_version) + if r.status_code == 200: # 200 successful delete, 204 means storage not found + from azure.cli.core.azclierror import ResourceNotFoundError + try: + poll(cmd, request_url, "scheduledfordelete") + except ResourceNotFoundError: + pass + logger.warning('Containerapp environment storage successfully deleted') + return + + @classmethod + def show(cls, cmd, resource_group_name, env_name, name): + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + api_version = STABLE_API_VERSION + sub_id = get_subscription_id(cmd.cli_ctx) + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}/storages/{}?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + env_name, + name, + api_version) + + r = send_raw_request(cmd.cli_ctx, "GET", request_url) + return r.json() + + @classmethod + def list(cls, cmd, resource_group_name, env_name, formatter=lambda x: x): + env_list = [] + + management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager + api_version = STABLE_API_VERSION + sub_id = get_subscription_id(cmd.cli_ctx) + url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}/storages?api-version={}" + request_url = url_fmt.format( + management_hostname.strip('/'), + sub_id, + resource_group_name, + env_name, + api_version) + + r = send_raw_request(cmd.cli_ctx, "GET", request_url) + j = r.json() + for env in j["value"]: + formatted = formatter(env) + env_list.append(formatted) + + while j.get("nextLink") is not None: + request_url = j["nextLink"] + r = send_raw_request(cmd.cli_ctx, "GET", request_url) + j = r.json() + for env in j["value"]: + formatted = formatter(env) + env_list.append(formatted) + + return env_list diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_constants.py b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_constants.py index d6852056fce..62e655754b0 100644 --- a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_constants.py +++ b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_constants.py @@ -8,3 +8,7 @@ SHORT_POLLING_INTERVAL_SECS = 3 LONG_POLLING_INTERVAL_SECS = 10 + +LOG_ANALYTICS_RP = "Microsoft.OperationalInsights" + +MAX_ENV_PER_LOCATION = 2 diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_github_oauth.py b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_github_oauth.py index 96144b2d929..ce1ac41d337 100644 --- a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_github_oauth.py +++ b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_github_oauth.py @@ -4,9 +4,16 @@ # -------------------------------------------------------------------------------------------- # pylint: disable=consider-using-f-string +import os +import sys +from datetime import datetime + +from knack.log import get_logger from azure.cli.core.util import open_page_in_browser +from azure.cli.core.auth.persistence import SecretStore, build_persistence from azure.cli.core.azclierror import (ValidationError, CLIInternalError, UnclassifiedUserFault) -from knack.log import get_logger + +from ._utils import repo_url_to_name logger = get_logger(__name__) @@ -25,6 +32,45 @@ ] +def _get_github_token_secret_store(cmd): + location = os.path.join(cmd.cli_ctx.config.config_dir, "github_token_cache") + # TODO use core CLI util to take care of this once it's merged and released + encrypt = sys.platform.startswith('win32') # encryption not supported on non-windows platforms + file_persistence = build_persistence(location, encrypt) + return SecretStore(file_persistence) + + +def cache_github_token(cmd, token, repo): + repo = repo_url_to_name(repo) + secret_store = _get_github_token_secret_store(cmd) + cache = secret_store.load() + + for entry in cache: + if isinstance(entry, dict) and entry.get("value") == token: + if repo not in entry.get("repos", []): + entry["repos"] = [*entry.get("repos", []), repo] + entry["last_modified_timestamp"] = datetime.utcnow().timestamp() + break + else: + cache_entry = {"last_modified_timestamp": datetime.utcnow().timestamp(), "value": token, "repos": [repo]} + cache = [cache_entry, *cache] + + secret_store.save(cache) + + +def load_github_token_from_cache(cmd, repo): + repo = repo_url_to_name(repo) + secret_store = _get_github_token_secret_store(cmd) + cache = secret_store.load() + + if isinstance(cache, list): + for entry in cache: + if isinstance(entry, dict) and repo in entry.get("repos", []): + return entry.get("value") + + return None + + def get_github_access_token(cmd, scope_list=None, token=None): # pylint: disable=unused-argument if token: return token diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_help.py b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_help.py index ab4cde705eb..d5db7171bdf 100644 --- a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_help.py +++ b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_help.py @@ -263,6 +263,32 @@ az containerapp revision copy -n MyContainerapp -g MyResourceGroup --cpu 0.75 --memory 1.5Gi """ +helps['containerapp revision label'] = """ + type: group + short-summary: Manage revision labels assigned to traffic weights. +""" + +helps['containerapp revision label add'] = """ + type: command + short-summary: Set a revision label to a revision with an associated traffic weight. + examples: + - name: Add a label to the latest revision. + text: | + az containerapp revision label add -n MyContainerapp -g MyResourceGroup --label myLabel --revision latest + - name: Add a label to a previous revision. + text: | + az containerapp revision label add -g MyResourceGroup --label myLabel --revision revisionName +""" + +helps['containerapp revision label remove'] = """ + type: command + short-summary: Remove a revision label from a revision with an associated traffic weight. + examples: + - name: Remove a label. + text: | + az containerapp revision label remove -n MyContainerapp -g MyResourceGroup --label myLabel +""" + # Environment Commands helps['containerapp env'] = """ type: group @@ -356,6 +382,48 @@ az containerapp env dapr-component remove -g MyResourceGroup --dapr-component-name MyDaprComponentName --name MyEnvironment """ +helps['containerapp env storage'] = """ + type: group + short-summary: Commands to manage storage for the Container Apps environment. +""" + +helps['containerapp env storage list'] = """ + type: command + short-summary: List the storages for an environment. + examples: + - name: List the storages for an environment. + text: | + az containerapp env storage list -g MyResourceGroup -n MyEnvironment +""" + +helps['containerapp env storage show'] = """ + type: command + short-summary: Show the details of a storage. + examples: + - name: Show the details of a storage. + text: | + az containerapp env storage show -g MyResourceGroup --storage-name MyStorageName -n MyEnvironment +""" + +helps['containerapp env storage set'] = """ + type: command + short-summary: Create or update a storage. + examples: + - name: Create a storage. + text: | + az containerapp env storage set -g MyResourceGroup -n MyEnv --storage-name MyStorageName --access-mode ReadOnly --azure-file-account-key MyAccountKey --azure-file-account-name MyAccountName --azure-file-share-name MyShareName +""" + +helps['containerapp env storage remove'] = """ + type: command + short-summary: Remove a storage from an environment. + examples: + - name: Remove a storage from a Container Apps environment. + text: | + az containerapp env storage remove -g MyResourceGroup --storage-name MyStorageName -n MyEnvironment +""" + + # Identity Commands helps['containerapp identity'] = """ type: group @@ -459,12 +527,18 @@ type: command short-summary: Configure traffic-splitting for a container app. examples: - - name: Route 100%% of a container app's traffic to its latest revision. + - name: Route 100% of a container app's traffic to its latest revision. text: | - az containerapp ingress traffic set -n MyContainerapp -g MyResourceGroup --traffic-weight latest=100 + az containerapp ingress traffic set -n MyContainerapp -g MyResourceGroup --revision-weight latest=100 - name: Split a container app's traffic between two revisions. text: | - az containerapp ingress traffic set -n MyContainerapp -g MyResourceGroup --traffic-weight latest=80 MyRevisionName=20 + az containerapp ingress traffic set -n MyContainerapp -g MyResourceGroup --revision-weight latest=80 MyRevisionName=20 + - name: Split a container app's traffic between two labels. + text: | + az containerapp ingress traffic set -n MyContainerapp -g MyResourceGroup --label-weight myLabel=80 myLabel2=20 + - name: Split a container app's traffic between a label and a revision. + text: | + az containerapp ingress traffic set -n MyContainerapp -g MyResourceGroup --revision-weight latest=80 --label-weight myLabel=20 """ helps['containerapp ingress traffic show'] = """ diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_models.py b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_models.py index 6a474f89267..02e5bcb916a 100644 --- a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_models.py +++ b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_models.py @@ -231,3 +231,10 @@ "tenantId": None, # str "subscriptionId": None # str } + +AzureFileProperties = { + "accountName": None, + "accountKey": None, + "accessMode": None, + "shareName": None +} diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_params.py b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_params.py index fa33873602f..ffc21858791 100644 --- a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_params.py +++ b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_params.py @@ -135,7 +135,7 @@ def load_arguments(self, _): c.argument('docker_bridge_cidr', options_list=['--docker-bridge-cidr'], help='CIDR notation IP range assigned to the Docker bridge. It must not overlap with any Subnet IP ranges or the IP range defined in Platform Reserved CIDR, if defined') c.argument('platform_reserved_cidr', options_list=['--platform-reserved-cidr'], help='IP range in CIDR notation that can be reserved for environment infrastructure IP addresses. It must not overlap with any other Subnet IP ranges') c.argument('platform_reserved_dns_ip', options_list=['--platform-reserved-dns-ip'], help='An IP address from the IP range defined by Platform Reserved CIDR that will be reserved for the internal DNS server.') - c.argument('internal_only', arg_type=get_three_state_flag(), options_list=['--internal-only'], help='Boolean indicating the environment only has an internal load balancer. These environments do not have a public static IP resource, therefore must provide infrastructureSubnetResourceId and appSubnetResourceId if enabling this property') + c.argument('internal_only', arg_type=get_three_state_flag(), options_list=['--internal-only'], help='Boolean indicating the environment only has an internal load balancer. These environments do not have a public static IP resource, therefore must provide infrastructureSubnetResourceId if enabling this property') with self.argument_context('containerapp env update') as c: c.argument('name', name_type, help='Name of the Container Apps environment.') @@ -147,6 +147,14 @@ def load_arguments(self, _): with self.argument_context('containerapp env show') as c: c.argument('name', name_type, help='Name of the Container Apps Environment.') + with self.argument_context('containerapp env storage') as c: + c.argument('name', id_part=None) + c.argument('storage_name', help="Name of the storage.") + c.argument('access_mode', id_part=None, arg_type=get_enum_type(["ReadWrite", "ReadOnly"]), help="Access mode for the AzureFile storage.") + c.argument('azure_file_account_key', options_list=["--azure-file-account-key", "--storage-account-key", "-k"], help="Key of the AzureFile storage account.") + c.argument('azure_file_share_name', options_list=["--azure-file-share-name", "--file-share", "-f"], help="Name of the share on the AzureFile storage.") + c.argument('azure_file_account_name', options_list=["--azure-file-account-name", "--account-name", "-a"], help="Name of the AzureFile storage account.") + with self.argument_context('containerapp identity') as c: c.argument('user_assigned', nargs='+', help="Space-separated user identities.") c.argument('system_assigned', help="Boolean indicating whether to assign system-assigned identity.") @@ -157,7 +165,7 @@ def load_arguments(self, _): with self.argument_context('containerapp github-action add') as c: c.argument('repo_url', help='The GitHub repository to which the workflow file will be added. In the format: https://github.com//') c.argument('token', help='A Personal Access Token with write access to the specified repository. For more information: https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line') - c.argument('branch', options_list=['--branch', '-b'], help='The branch of the GitHub repo. Defaults to "main" if not specified.') + c.argument('branch', options_list=['--branch', '-b'], help='The branch of the Github repo. Assumed to be the Github repo\'s default branch if not specified.') c.argument('login_with_github', help='Interactively log in with Github to retrieve the Personal Access Token') c.argument('registry_url', help='The container registry server, e.g. myregistry.azurecr.io') c.argument('registry_username', help='The username of the registry. If using Azure Container Registry, we will try to infer the credentials if not supplied') @@ -179,6 +187,11 @@ def load_arguments(self, _): c.argument('from_revision', help='Revision to copy from. Default: latest revision.') c.argument('image', options_list=['--image', '-i'], help="Container image, e.g. publisher/image-name:tag.") + with self.argument_context('containerapp revision label') as c: + c.argument('name', id_part=None) + c.argument('revision', help='Name of the revision.') + c.argument('label', help='Name of the label.') + with self.argument_context('containerapp ingress') as c: c.argument('allow_insecure', help='Allow insecure connections for ingress traffic.') c.argument('type', validator=validate_ingress, arg_type=get_enum_type(['internal', 'external']), help="The ingress type.") @@ -186,7 +199,8 @@ def load_arguments(self, _): c.argument('target_port', type=int, validator=validate_target_port, help="The application port used for ingress traffic.") with self.argument_context('containerapp ingress traffic') as c: - c.argument('traffic_weights', nargs='*', options_list=['--traffic-weight'], help="A list of revision weight(s) for the container app. Space-separated values in 'revision_name=weight' format. For latest revision, use 'latest=weight'") + c.argument('revision_weights', nargs='+', options_list=['--revision-weight', c.deprecate(target='--traffic-weight', redirect='--revision-weight')], help="A list of revision weight(s) for the container app. Space-separated values in 'revision_name=weight' format. For latest revision, use 'latest=weight'") + c.argument('label_weights', nargs='+', options_list=['--label-weight'], help="A list of label weight(s) for the container app. Space-separated values in 'label_name=weight' format.") with self.argument_context('containerapp secret') as c: c.argument('secrets', nargs='+', options_list=['--secrets', '-s'], help="A list of secret(s) for the container app. Space-separated values in 'key=value' format (where 'key' cannot be longer than 20 characters).") @@ -235,8 +249,8 @@ def load_arguments(self, _): with self.argument_context('containerapp up', arg_group='Github Repo') as c: c.argument('repo', help='Create an app via Github Actions. In the format: https://github.com// or /') - c.argument('token', help='A Personal Access Token with write access to the specified repository. For more information: https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line. If missing (and using --repo), a browser page will be opened to authenticate with Github.') - c.argument('branch', options_list=['--branch', '-b'], help='The branch of the GitHub repo. Defaults to "main"') + c.argument('token', help='A Personal Access Token with write access to the specified repository. For more information: https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line. If not provided or not found in the cache (and using --repo), a browser page will be opened to authenticate with Github.') + c.argument('branch', options_list=['--branch', '-b'], help='The branch of the Github repo. Assumed to be the Github repo\'s default branch if not specified.') c.argument('context_path', help='Path in the repo from which to run the docker build. Defaults to "./". Dockerfile is assumed to be named "Dockerfile" and in this directory.') c.argument('service_principal_client_id', help='The service principal client ID. Used by Github Actions to authenticate with Azure.', options_list=["--service-principal-client-id", "--sp-cid"]) c.argument('service_principal_client_secret', help='The service principal client secret. Used by Github Actions to authenticate with Azure.', options_list=["--service-principal-client-secret", "--sp-sec"]) diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_ssh_utils.py b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_ssh_utils.py index 057216a321f..af8169afe7b 100644 --- a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_ssh_utils.py +++ b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_ssh_utils.py @@ -2,6 +2,7 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- +# pylint: disable=logging-fstring-interpolation import os import sys @@ -50,15 +51,13 @@ class WebSocketConnection: def __init__(self, cmd, resource_group_name, name, revision, replica, container, startup_command): - from websocket._exceptions import WebSocketBadStatusException - token_response = ContainerAppClient.get_auth_token(cmd, resource_group_name, name) self._token = token_response["properties"]["token"] self._logstream_endpoint = token_response["properties"]["logStreamEndpoint"] self._url = self._get_url(cmd=cmd, resource_group_name=resource_group_name, name=name, revision=revision, replica=replica, container=container, startup_command=startup_command) self._socket = websocket.WebSocket(enable_multithread=True) - logger.warning("Attempting to connect to %s", self._url) + logger.info("Attempting to connect to %s", self._url) self._socket.connect(self._url, header=[f"Authorization: Bearer {self._token}"]) self.is_connected = True @@ -160,9 +159,12 @@ def _getch_windows(): def ping_container_app(app): site = safe_get(app, "properties", "configuration", "ingress", "fqdn") if site: - resp = requests.get(f'https://{site}') - if not resp.ok: - logger.info(f"Got bad status pinging app: {resp.status_code}") + try: + resp = requests.get(f'https://{site}', timeout=30) + if not resp.ok: + logger.info(f"Got bad status pinging app: {resp.status_code}") + except requests.exceptions.ReadTimeout: + logger.info("Timed out while pinging app external URL") else: logger.info("Could not fetch site external URL") diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_up_utils.py b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_up_utils.py index 013baabc681..304ee4686d2 100644 --- a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_up_utils.py +++ b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_up_utils.py @@ -41,10 +41,13 @@ create_service_principal_for_rbac, repo_url_to_name, get_container_app_if_exists, - trigger_workflow + trigger_workflow, + _ensure_location_allowed, + _is_resource_provider_registered, + _register_resource_provider ) -from ._constants import MAXIMUM_SECRET_LENGTH +from ._constants import MAXIMUM_SECRET_LENGTH, LOG_ANALYTICS_RP from .custom import ( create_managed_environment, @@ -54,6 +57,8 @@ create_or_update_github_action, ) +from ._github_oauth import load_github_token_from_cache, get_github_access_token + logger = get_logger(__name__) @@ -62,6 +67,8 @@ def __init__(self, cmd, name: str, location: str, exists: bool = None): self.cmd = cmd self.name = name self.location = _get_default_containerapps_location(cmd, location) + if self.location.lower() == "northcentralusstage": + self.location = "eastus" self.exists = exists self.check_exists() @@ -151,7 +158,7 @@ def __init__( rg = parse_resource_id(name)["resource_group"] if resource_group.name != rg: self.resource_group = ResourceGroup(cmd, rg, location) - self.location = _get_default_containerapps_location(cmd, location) + self.location = location self.logs_key = logs_key self.logs_customer_id = logs_customer_id @@ -164,7 +171,7 @@ def set_name(self, name_or_rid): self.resource_group = ResourceGroup( self.cmd, rg, - _get_default_containerapps_location(self.cmd, self.location), + self.location, ) else: self.name = name_or_rid @@ -188,6 +195,9 @@ def create_if_needed(self, app_name): ) # TODO use .info() def create(self): + self.location = validate_environment_location(self.cmd, self.location) + if not _is_resource_provider_registered(self.cmd, LOG_ANALYTICS_RP): + _register_resource_provider(self.cmd, LOG_ANALYTICS_RP) env = create_managed_environment( self.cmd, self.name, @@ -290,8 +300,11 @@ def create_acr(self): registry_rg = self.resource_group url = self.registry_server registry_name = url[: url.rindex(".azurecr.io")] + location = "eastus" + if self.env.location and self.env.location.lower() != "northcentralusstage": + location = self.env.location registry_def = create_new_acr( - self.cmd, registry_name, registry_rg.name, self.env.location + self.cmd, registry_name, registry_rg.name, location ) self.registry_server = registry_def.login_server @@ -393,6 +406,8 @@ def _get_dockerfile_content_from_repo( repo = repo_url_to_name(repo_url) try: r = g.get_repo(repo) + if not branch: + branch = r.default_branch except Exception as e: raise ValidationError(f"Could not find repo {repo_url}") from e try: @@ -435,7 +450,13 @@ def _get_ingress_and_target_port(ingress, target_port, dockerfile_content: "list return ingress, target_port -def _validate_up_args(source, image, repo, registry_server): +def _validate_up_args(cmd, source, image, repo, registry_server): + disallowed_params = ["--only-show-errors", "--output", "-o"] + command_args = cmd.cli_ctx.data.get("safe_params", []) + for a in disallowed_params: + if a in command_args: + raise ValidationError(f"Argument {a} is not allowed for 'az containerapp up'") + if not source and not image and not repo: raise RequiredArgumentMissingError( "You must specify either --source, --repo, or --image" @@ -782,3 +803,80 @@ def find_existing_acr(cmd, app: "ContainerApp"): app.should_create_acr = False return acr.name, parse_resource_id(acr.id)["resource_group"] return None, None + + +def validate_environment_location(cmd, location): + from ._constants import MAX_ENV_PER_LOCATION + env_list = list_managed_environments(cmd) + + locations = [loc["location"] for loc in env_list] + locations = list(set(locations)) # remove duplicates + + location_count = {} + for loc in locations: + location_count[loc] = len([e for e in env_list if e["location"] == loc]) + + disallowed_locations = [] + for _, value in enumerate(location_count): + if location_count[value] > MAX_ENV_PER_LOCATION - 1: + disallowed_locations.append(value) + + res_locations = list_environment_locations(cmd) + res_locations = [loc for loc in res_locations if loc not in disallowed_locations] + + allowed_locs = ", ".join(res_locations) + + if location: + try: + _ensure_location_allowed(cmd, location, "Microsoft.App", "managedEnvironments") + except Exception as e: # pylint: disable=broad-except + raise ValidationError("You cannot create a Containerapp environment in location {}. List of eligible locations: {}.".format(location, allowed_locs)) from e + + if len(res_locations) > 0: + if not location: + logger.warning("Creating environment on location {}.".format(res_locations[0])) + return res_locations[0] + if location in disallowed_locations: + raise ValidationError("You have more than {} environments in location {}. List of eligible locations: {}.".format(MAX_ENV_PER_LOCATION, location, allowed_locs)) + return location + else: + raise ValidationError("You cannot create any more environments. Environments are limited to {} per location in a subscription. Please specify an existing environment using --environment.".format(MAX_ENV_PER_LOCATION)) + + +def list_environment_locations(cmd): + from ._utils import providers_client_factory + providers_client = providers_client_factory(cmd.cli_ctx, get_subscription_id(cmd.cli_ctx)) + resource_types = getattr(providers_client.get("Microsoft.App"), 'resource_types', []) + res_locations = [] + for res in resource_types: + if res and getattr(res, 'resource_type', "") == "managedEnvironments": + res_locations = getattr(res, 'locations', []) + + res_locations = [res_loc.lower().replace(" ", "").replace("(", "").replace(")", "") for res_loc in res_locations if res_loc.strip()] + + return res_locations + + +def check_env_name_on_rg(cmd, managed_env, resource_group_name, location): + if location: + _ensure_location_allowed(cmd, location, "Microsoft.App", "managedEnvironments") + if managed_env and resource_group_name and location: + env_def = None + try: + env_def = ManagedEnvironmentClient.show(cmd, resource_group_name, parse_resource_id(managed_env)["name"]) + except: # pylint: disable=bare-except + pass + if env_def: + if location != env_def["location"]: + raise ValidationError("Environment {} already exists in resource group {} on location {}, cannot change location of existing environment to {}.".format(parse_resource_id(managed_env)["name"], resource_group_name, env_def["location"], location)) + + +def get_token(cmd, repo, token): + if not repo: + return None + if token: + return token + token = load_github_token_from_cache(cmd, repo) + if not token: + token = get_github_access_token(cmd, ["admin:repo_hook", "repo", "workflow"], token) + return token diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_utils.py b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_utils.py index d33065a6288..93c6c79328d 100644 --- a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_utils.py +++ b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_utils.py @@ -19,7 +19,8 @@ from ._clients import ContainerAppClient from ._client_factory import handle_raw_exception, providers_client_factory, cf_resource_groups, log_analytics_client_factory, log_analytics_shared_key_client_factory -from ._constants import MAXIMUM_CONTAINER_APP_NAME_LENGTH, SHORT_POLLING_INTERVAL_SECS, LONG_POLLING_INTERVAL_SECS +from ._constants import (MAXIMUM_CONTAINER_APP_NAME_LENGTH, SHORT_POLLING_INTERVAL_SECS, LONG_POLLING_INTERVAL_SECS, + LOG_ANALYTICS_RP) logger = get_logger(__name__) @@ -172,15 +173,17 @@ def get_workflow(github_repo, name): # pylint: disable=inconsistent-return-stat workflows = list(github_repo.get_workflows()) workflows.sort(key=lambda r: r.created_at, reverse=True) # sort by latest first for wf in workflows: - if wf.path.startswith(f".github/workflows/{name}") and "Trigger auto deployment for containerapp" in wf.name: + if wf.path.startswith(f".github/workflows/{name}") and "Trigger auto deployment for" in wf.name: return wf def trigger_workflow(token, repo, name, branch): - logger.warning("Triggering Github Action") - get_workflow(get_github_repo(token, repo), name).create_dispatch(branch) + wf = get_workflow(get_github_repo(token, repo), name) + logger.warning(f"Triggering Github Action: {wf.path}") + wf.create_dispatch(branch) +# pylint:disable=unused-argument def await_github_action(cmd, token, repo, branch, name, resource_group_name, timeout_secs=1200): from .custom import show_github_action from ._clients import PollingAnimation @@ -242,7 +245,7 @@ def await_github_action(cmd, token, repo, branch, name, resource_group_name, tim def repo_url_to_name(repo_url): repo = None - repo = repo_url.split('/') + repo = [s for s in repo_url.split('/') if s] if len(repo) >= 2: repo = '/'.join(repo[-2:]) return repo @@ -254,22 +257,56 @@ def _get_location_from_resource_group(cli_ctx, resource_group_name): return group.location -def _validate_subscription_registered(cmd, resource_provider, subscription_id=None): - providers_client = None +def _register_resource_provider(cmd, resource_provider): + from azure.mgmt.resource.resources.models import ProviderRegistrationRequest, ProviderConsentDefinition + + logger.warning(f"Registering resource provider {resource_provider} ...") + properties = ProviderRegistrationRequest(third_party_provider_consent=ProviderConsentDefinition(consent_to_authorization=True)) + + client = providers_client_factory(cmd.cli_ctx) + try: + client.register(resource_provider, properties=properties) + # wait for registration to finish + timeout_secs = 120 + registration = _is_resource_provider_registered(cmd, resource_provider) + start = datetime.utcnow() + while not registration: + registration = _is_resource_provider_registered(cmd, resource_provider) + time.sleep(SHORT_POLLING_INTERVAL_SECS) + if (datetime.utcnow() - start).seconds >= timeout_secs: + raise CLIInternalError(f"Timed out while waiting for the {resource_provider} resource provider to be registered.") + + except Exception as e: + msg = ("This operation requires requires registering the resource provider {0}. " + "We were unable to perform that registration on your behalf: " + "Server responded with error message -- {1} . " + "Please check with your admin on permissions, " + "or try running registration manually with: az provider register --wait --namespace {0}") + raise ValidationError(resource_provider, msg.format(e.args)) from e + + +def _is_resource_provider_registered(cmd, resource_provider, subscription_id=None): + registered = None if not subscription_id: subscription_id = get_subscription_id(cmd.cli_ctx) - try: providers_client = providers_client_factory(cmd.cli_ctx, subscription_id) registration_state = getattr(providers_client.get(resource_provider), 'registration_state', "NotRegistered") - if not (registration_state and registration_state.lower() == 'registered'): - raise ValidationError('Subscription {} is not registered for the {} resource provider. Please run \"az provider register -n {} --wait\" to register your subscription.'.format( - subscription_id, resource_provider, resource_provider)) - except ValidationError as ex: - raise ex + registered = (registration_state and registration_state.lower() == 'registered') except Exception: # pylint: disable=broad-except pass + return registered + + +def _validate_subscription_registered(cmd, resource_provider, subscription_id=None): + if not subscription_id: + subscription_id = get_subscription_id(cmd.cli_ctx) + registered = _is_resource_provider_registered(cmd, resource_provider, subscription_id) + if registered is False: + raise ValidationError(f'Subscription {subscription_id} is not registered for the {resource_provider} ' + f'resource provider. Please run "az provider register -n {resource_provider} --wait" ' + 'to register your subscription.') def _ensure_location_allowed(cmd, location, resource_provider, resource_type): @@ -421,7 +458,7 @@ def _get_default_log_analytics_location(cmd): providers_client = None try: providers_client = providers_client_factory(cmd.cli_ctx, get_subscription_id(cmd.cli_ctx)) - resource_types = getattr(providers_client.get("Microsoft.OperationalInsights"), 'resource_types', []) + resource_types = getattr(providers_client.get(LOG_ANALYTICS_RP), 'resource_types', []) res_locations = [] for res in resource_types: if res and getattr(res, 'resource_type', "") == "workspaces": @@ -511,28 +548,24 @@ def _get_log_analytics_workspace_name(cmd, logs_customer_id, resource_group_name raise ResourceNotFoundError("Cannot find Log Analytics workspace with customer ID {}".format(logs_customer_id)) -def _generate_log_analytics_if_not_provided(cmd, logs_customer_id, logs_key, logs_workspace_name, location, resource_group_name): +def _generate_log_analytics_if_not_provided(cmd, logs_customer_id, logs_key, location, resource_group_name): if logs_customer_id is None and logs_key is None: logger.warning("No Log Analytics workspace provided.") + _validate_subscription_registered(cmd, LOG_ANALYTICS_RP) try: - _validate_subscription_registered(cmd, "Microsoft.OperationalInsights") log_analytics_client = log_analytics_client_factory(cmd.cli_ctx) log_analytics_shared_key_client = log_analytics_shared_key_client_factory(cmd.cli_ctx) log_analytics_location = location try: - _ensure_location_allowed(cmd, log_analytics_location, "Microsoft.OperationalInsights", "workspaces") + _ensure_location_allowed(cmd, log_analytics_location, LOG_ANALYTICS_RP, "workspaces") except Exception: # pylint: disable=broad-except log_analytics_location = _get_default_log_analytics_location(cmd) from azure.cli.core.commands import LongRunningOperation from azure.mgmt.loganalytics.models import Workspace - if logs_workspace_name is None: - workspace_name = _generate_log_analytics_workspace_name(resource_group_name) - else: - workspace_name = logs_workspace_name - + workspace_name = _generate_log_analytics_workspace_name(resource_group_name) workspace_instance = Workspace(location=log_analytics_location) logger.warning("Generating a Log Analytics workspace with name \"{}\"".format(workspace_name)) # pylint: disable=logging-format-interpolation @@ -797,41 +830,125 @@ def update_nested_dictionary(orig_dict, new_dict): return orig_dict -def _is_valid_weight(weight): +def _validate_weight(weight): try: n = int(weight) if 0 <= n <= 100: return True - return False - except ValueError: - return False + raise ValidationError('Traffic weights must be integers between 0 and 100') + except ValueError as ex: + raise ValidationError('Traffic weights must be integers between 0 and 100') from ex -def _update_traffic_weights(containerapp_def, list_weights): - if "traffic" not in containerapp_def["properties"]["configuration"]["ingress"] or list_weights and len(list_weights): +def _update_revision_weights(containerapp_def, list_weights): + old_weight_sum = 0 + if "traffic" not in containerapp_def["properties"]["configuration"]["ingress"]: containerapp_def["properties"]["configuration"]["ingress"]["traffic"] = [] + if not list_weights: + return 0 + for new_weight in list_weights: key_val = new_weight.split('=', 1) + if len(key_val) != 2: + raise ValidationError('Traffic weights must be in format \"= = ...\"') + revision = key_val[0] + weight = key_val[1] + _validate_weight(weight) is_existing = False + for existing_weight in containerapp_def["properties"]["configuration"]["ingress"]["traffic"]: + if "latestRevision" in existing_weight and existing_weight["latestRevision"]: + if revision.lower() == "latest": + old_weight_sum += existing_weight["weight"] + existing_weight["weight"] = weight + is_existing = True + break + elif "revisionName" in existing_weight and existing_weight["revisionName"].lower() == revision.lower(): + old_weight_sum += existing_weight["weight"] + existing_weight["weight"] = weight + is_existing = True + break + if not is_existing: + containerapp_def["properties"]["configuration"]["ingress"]["traffic"].append({ + "revisionName": revision if revision.lower() != "latest" else None, + "weight": int(weight), + "latestRevision": revision.lower() == "latest" + }) + return old_weight_sum + + +def _append_label_weights(containerapp_def, label_weights, revision_weights): + if "traffic" not in containerapp_def["properties"]["configuration"]["ingress"]: + containerapp_def["properties"]["configuration"]["ingress"]["traffic"] = [] + + if not label_weights: + return + + revision_weight_names = [w.split('=', 1)[0].lower() for w in revision_weights] # this is to check if we already have that revision weight passed + for new_weight in label_weights: + key_val = new_weight.split('=', 1) if len(key_val) != 2: - raise ValidationError('Traffic weights must be in format \"=weight = ...\"') + raise ValidationError('Traffic weights must be in format \"= = ...\"') + label = key_val[0] + weight = key_val[1] + _validate_weight(weight) + is_existing = False - if not _is_valid_weight(key_val[1]): - raise ValidationError('Traffic weights must be integers between 0 and 100') + for existing_weight in containerapp_def["properties"]["configuration"]["ingress"]["traffic"]: + if "label" in existing_weight and existing_weight["label"].lower() == label.lower(): + if "revisionName" in existing_weight and existing_weight["revisionName"] and existing_weight["revisionName"].lower() in revision_weight_names: + logger.warning("Already passed value for revision {}, will not overwrite with {}.".format(existing_weight["revisionName"], new_weight)) # pylint: disable=logging-format-interpolation + is_existing = True + break + revision_weights.append("{}={}".format(existing_weight["revisionName"] if "revisionName" in existing_weight and existing_weight["revisionName"] else "latest", weight)) + is_existing = True + break if not is_existing: - containerapp_def["properties"]["configuration"]["ingress"]["traffic"].append({ - "revisionName": key_val[0], - "weight": int(key_val[1]) - }) + raise ValidationError(f"No label {label} assigned to any traffic weight.") + + +def _update_weights(containerapp_def, revision_weights, old_weight_sum): + + new_weight_sum = sum([int(w.split('=', 1)[1]) for w in revision_weights]) + revision_weight_names = [w.split('=', 1)[0].lower() for w in revision_weights] + divisor = sum([int(w["weight"]) for w in containerapp_def["properties"]["configuration"]["ingress"]["traffic"]]) - new_weight_sum + round_up = True + # if there is no change to be made, don't even try (also can't divide by zero) + if divisor == 0: + return + + scale_factor = (old_weight_sum - new_weight_sum) / divisor + 1 + + for existing_weight in containerapp_def["properties"]["configuration"]["ingress"]["traffic"]: + if "latestRevision" in existing_weight and existing_weight["latestRevision"]: + if "latest" not in revision_weight_names: + existing_weight["weight"], round_up = _round(scale_factor * existing_weight["weight"], round_up) + elif "revisionName" in existing_weight and existing_weight["revisionName"].lower() not in revision_weight_names: + existing_weight["weight"], round_up = _round(scale_factor * existing_weight["weight"], round_up) + + +# required because what if .5, .5? We need sum to be 100, so can't round up or down both times +def _round(number, round_up): + import math + number = round(number, 2) # required because we are dealing with floats + if round_up: + return math.ceil(number), not round_up + return math.floor(number), not round_up + + +def _validate_traffic_sum(revision_weights): + weight_sum = sum([int(w.split('=', 1)[1]) for w in revision_weights if len(w.split('=', 1)) == 2 and _validate_weight(w.split('=', 1)[1])]) + if weight_sum > 100: + raise ValidationError("Traffic sums may not exceed 100.") def _get_app_from_revision(revision): if not revision: raise ValidationError('Invalid revision. Revision must not be empty') - + if revision.lower() == "latest": + raise ValidationError('Please provide a name for your containerapp. Cannot lookup name of containerapp without a full revision name.') revision = revision.split('--') revision.pop() revision = "--".join(revision) diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/commands.py b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/commands.py index c40e3c57ac6..3ef540e70bf 100644 --- a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/commands.py +++ b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/commands.py @@ -6,7 +6,7 @@ # pylint: disable=line-too-long, too-many-statements, bare-except # from azure.cli.core.commands import CliCommandType # from msrestazure.tools import is_valid_resource_id, parse_resource_id -from ._client_factory import ex_handler_factory +from azext_containerapp._client_factory import ex_handler_factory from ._validators import validate_ssh @@ -27,7 +27,7 @@ def transform_containerapp_list_output(apps): def transform_revision_output(rev): - props = ['name', 'active', 'createdTime', 'trafficWeight'] + props = ['name', 'active', 'createdTime', 'trafficWeight', 'healthState', 'provisioningState', 'replicas'] result = {k: rev['properties'][k] for k in rev['properties'] if k in props} if 'name' in rev: @@ -73,6 +73,12 @@ def load_command_table(self, _): g.custom_command('set', 'create_or_update_dapr_component') g.custom_command('remove', 'remove_dapr_component') + with self.command_group('containerapp env storage') as g: + g.custom_show_command('show', 'show_storage') + g.custom_command('list', 'list_storage') + g.custom_command('set', 'create_or_update_storage', supports_no_wait=True, exception_handler=ex_handler_factory()) + g.custom_command('remove', 'remove_storage', supports_no_wait=True, confirmation=True, exception_handler=ex_handler_factory()) + with self.command_group('containerapp identity') as g: g.custom_command('assign', 'assign_managed_identity', supports_no_wait=True, exception_handler=ex_handler_factory()) g.custom_command('remove', 'remove_managed_identity', supports_no_wait=True, exception_handler=ex_handler_factory()) @@ -92,6 +98,10 @@ def load_command_table(self, _): g.custom_command('copy', 'copy_revision', exception_handler=ex_handler_factory()) g.custom_command('set-mode', 'set_revision_mode', exception_handler=ex_handler_factory()) + with self.command_group('containerapp revision label') as g: + g.custom_command('add', 'add_revision_label') + g.custom_command('remove', 'remove_revision_label') + with self.command_group('containerapp ingress') as g: g.custom_command('enable', 'enable_ingress', exception_handler=ex_handler_factory()) g.custom_command('disable', 'disable_ingress', exception_handler=ex_handler_factory()) diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/custom.py b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/custom.py index 338d958a2b2..f4fe046f9a3 100644 --- a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/custom.py +++ b/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/custom.py @@ -25,7 +25,7 @@ from msrest.exceptions import DeserializationError from ._client_factory import handle_raw_exception -from ._clients import ManagedEnvironmentClient, ContainerAppClient, GitHubActionClient, DaprComponentClient +from ._clients import ManagedEnvironmentClient, ContainerAppClient, GitHubActionClient, DaprComponentClient, StorageClient from ._github_oauth import get_github_access_token from ._models import ( ManagedEnvironment as ManagedEnvironmentModel, @@ -45,16 +45,17 @@ RegistryInfo as RegistryInfoModel, AzureCredentials as AzureCredentialsModel, SourceControl as SourceControlModel, - ManagedServiceIdentity as ManagedServiceIdentityModel) + ManagedServiceIdentity as ManagedServiceIdentityModel, + AzureFileProperties as AzureFilePropertiesModel) from ._utils import (_validate_subscription_registered, _get_location_from_resource_group, _ensure_location_allowed, parse_secret_flags, store_as_secret_and_return_secret_ref, parse_env_var_flags, _generate_log_analytics_if_not_provided, _get_existing_secrets, _convert_object_from_snake_to_camel_case, _object_to_dict, _add_or_update_secrets, _remove_additional_attributes, _remove_readonly_attributes, - _add_or_update_env_vars, _add_or_update_tags, update_nested_dictionary, _update_traffic_weights, + _add_or_update_env_vars, _add_or_update_tags, update_nested_dictionary, _update_revision_weights, _append_label_weights, _get_app_from_revision, raise_missing_token_suggestion, _infer_acr_credentials, _remove_registry_secret, _remove_secret, - _ensure_identity_resource_id, _remove_dapr_readonly_attributes, _remove_env_vars, + _ensure_identity_resource_id, _remove_dapr_readonly_attributes, _remove_env_vars, _validate_traffic_sum, _update_revision_env_secretrefs, _get_acr_cred, safe_get, await_github_action, repo_url_to_name, - validate_container_app_name) + validate_container_app_name, _update_weights) from ._ssh_utils import (SSH_DEFAULT_ENCODING, WebSocketConnection, read_ssh, get_stdin_writer, SSH_CTRL_C_MSG, SSH_BACKUP_ENCODING) @@ -230,7 +231,7 @@ def create_containerapp_yaml(cmd, name, resource_group_name, file_name, no_wait= # Validate managed environment if not containerapp_def["properties"].get('managedEnvironmentId'): - raise RequiredArgumentMissingError('managedEnvironmentId is required. Please see https://aka.ms/azure-container-apps-yaml for a valid containerapps YAML spec.') + raise RequiredArgumentMissingError('managedEnvironmentId is required. This can be retrieved using the `az containerapp env show -g MyResourceGroup -n MyContainerappEnvironment --query id` command. Please see https://aka.ms/azure-container-apps-yaml for a valid containerapps YAML spec.') env_id = containerapp_def["properties"]['managedEnvironmentId'] env_name = None @@ -744,7 +745,6 @@ def create_managed_environment(cmd, resource_group_name, logs_customer_id=None, logs_key=None, - logs_workspace_name=None, location=None, instrumentation_key=None, infrastructure_subnet_resource_id=None, @@ -762,7 +762,7 @@ def create_managed_environment(cmd, _ensure_location_allowed(cmd, location, "Microsoft.App", "managedEnvironments") if logs_customer_id is None or logs_key is None: - logs_customer_id, logs_key = _generate_log_analytics_if_not_provided(cmd, logs_customer_id, logs_key, logs_workspace_name, location, resource_group_name) + logs_customer_id, logs_key = _generate_log_analytics_if_not_provided(cmd, logs_customer_id, logs_key, location, resource_group_name) log_analytics_config_def = LogAnalyticsConfigurationModel log_analytics_config_def["customerId"] = logs_customer_id @@ -1044,6 +1044,8 @@ def _validate_github(repo, branch, token): github_repo = None try: github_repo = g.get_repo(repo) + if not branch: + branch = github_repo.default_branch if not github_repo.permissions.push or not github_repo.permissions.maintain: raise ValidationError("The token does not have appropriate access rights to repository {}.".format(repo)) try: @@ -1063,6 +1065,7 @@ def _validate_github(repo, branch, token): if e.data and e.data['message']: error_msg += " Error: {}".format(e.data['message']) raise CLIInternalError(error_msg) from e + return branch def create_or_update_github_action(cmd, @@ -1072,7 +1075,7 @@ def create_or_update_github_action(cmd, registry_url=None, registry_username=None, registry_password=None, - branch="main", + branch=None, token=None, login_with_github=False, image=None, @@ -1092,7 +1095,7 @@ def create_or_update_github_action(cmd, repo = repo_url_to_name(repo_url) repo_url = f"https://github.com/{repo}" # allow specifying repo as / without the full github url - _validate_github(repo, branch, token) + branch = _validate_github(repo, branch, token) source_control_info = None @@ -1105,11 +1108,7 @@ def create_or_update_github_action(cmd, source_control_info = SourceControlModel source_control_info["properties"]["repoUrl"] = repo_url - - if branch: - source_control_info["properties"]["branch"] = branch - if not source_control_info["properties"]["branch"]: - source_control_info["properties"]["branch"] = "main" + source_control_info["properties"]["branch"] = branch azure_credentials = None @@ -1346,6 +1345,98 @@ def set_revision_mode(cmd, resource_group_name, name, mode, no_wait=False): handle_raw_exception(e) +def add_revision_label(cmd, resource_group_name, revision, label, name=None, no_wait=False): + _validate_subscription_registered(cmd, "Microsoft.App") + + if not name: + name = _get_app_from_revision(revision) + + containerapp_def = None + try: + containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except: + pass + + if not containerapp_def: + raise ResourceNotFoundError(f"The containerapp '{name}' does not exist in group '{resource_group_name}'") + + if "ingress" not in containerapp_def['properties']['configuration'] and "traffic" not in containerapp_def['properties']['configuration']['ingress']: + raise ValidationError("Ingress and traffic weights are required to set labels.") + + traffic_weight = containerapp_def['properties']['configuration']['ingress']['traffic'] + + label_added = False + for weight in traffic_weight: + if "latestRevision" in weight: + if revision.lower() == "latest" and weight["latestRevision"]: + label_added = True + weight["label"] = label + break + else: + if revision.lower() == weight["revisionName"].lower(): + label_added = True + weight["label"] = label + break + + if not label_added: + raise ValidationError("Please specify a revision name with an associated traffic weight.") + + containerapp_patch_def = {} + containerapp_patch_def['properties'] = {} + containerapp_patch_def['properties']['configuration'] = {} + containerapp_patch_def['properties']['configuration']['ingress'] = {} + + containerapp_patch_def['properties']['configuration']['ingress']['traffic'] = traffic_weight + + try: + r = ContainerAppClient.update( + cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_patch_def, no_wait=no_wait) + return r['properties']['configuration']['ingress']['traffic'] + except Exception as e: + handle_raw_exception(e) + + +def remove_revision_label(cmd, resource_group_name, name, label, no_wait=False): + _validate_subscription_registered(cmd, "Microsoft.App") + + containerapp_def = None + try: + containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except: + pass + + if not containerapp_def: + raise ResourceNotFoundError(f"The containerapp '{name}' does not exist in group '{resource_group_name}'") + + if "ingress" not in containerapp_def['properties']['configuration'] and "traffic" not in containerapp_def['properties']['configuration']['ingress']: + raise ValidationError("Ingress and traffic weights are required to set labels.") + + traffic_weight = containerapp_def['properties']['configuration']['ingress']['traffic'] + + label_removed = False + for weight in traffic_weight: + if "label" in weight and weight["label"].lower() == label.lower(): + label_removed = True + weight["label"] = None + break + if not label_removed: + raise ValidationError("Please specify a label name with an associated traffic weight.") + + containerapp_patch_def = {} + containerapp_patch_def['properties'] = {} + containerapp_patch_def['properties']['configuration'] = {} + containerapp_patch_def['properties']['configuration']['ingress'] = {} + + containerapp_patch_def['properties']['configuration']['ingress']['traffic'] = traffic_weight + + try: + r = ContainerAppClient.update( + cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_patch_def, no_wait=no_wait) + return r['properties']['configuration']['ingress']['traffic'] + except Exception as e: + handle_raw_exception(e) + + def show_ingress(cmd, name, resource_group_name): _validate_subscription_registered(cmd, "Microsoft.App") @@ -1429,8 +1520,10 @@ def disable_ingress(cmd, name, resource_group_name, no_wait=False): handle_raw_exception(e) -def set_ingress_traffic(cmd, name, resource_group_name, traffic_weights, no_wait=False): +def set_ingress_traffic(cmd, name, resource_group_name, label_weights=None, revision_weights=None, no_wait=False): _validate_subscription_registered(cmd, "Microsoft.App") + if not label_weights and not revision_weights: + raise ValidationError("Must specify either --label-weight or --revision-weight.") containerapp_def = None try: @@ -1439,22 +1532,38 @@ def set_ingress_traffic(cmd, name, resource_group_name, traffic_weights, no_wait pass if not containerapp_def: - raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) + raise ResourceNotFoundError(f"The containerapp '{name}' does not exist in group '{resource_group_name}'") try: containerapp_def["properties"]["configuration"]["ingress"] + containerapp_def["properties"]["configuration"]["ingress"]["traffic"] except Exception as e: raise ValidationError("Ingress must be enabled to set ingress traffic. Try running `az containerapp ingress -h` for more info.") from e - if traffic_weights is not None: - _update_traffic_weights(containerapp_def, traffic_weights) + if not revision_weights: + revision_weights = [] - _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) + # convert label weights to appropriate revision name + _append_label_weights(containerapp_def, label_weights, revision_weights) + + # validate sum is less than 100 + _validate_traffic_sum(revision_weights) + + # update revision weights to containerapp, get the old weight sum + old_weight_sum = _update_revision_weights(containerapp_def, revision_weights) + + _update_weights(containerapp_def, revision_weights, old_weight_sum) + + containerapp_patch_def = {} + containerapp_patch_def['properties'] = {} + containerapp_patch_def['properties']['configuration'] = {} + containerapp_patch_def['properties']['configuration']['ingress'] = {} + containerapp_patch_def['properties']['configuration']['ingress']['traffic'] = containerapp_def["properties"]["configuration"]["ingress"]["traffic"] try: - r = ContainerAppClient.create_or_update( - cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_def, no_wait=no_wait) - return r["properties"]["configuration"]["ingress"]["traffic"] + r = ContainerAppClient.update( + cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_patch_def, no_wait=no_wait) + return r['properties']['configuration']['ingress']['traffic'] except Exception as e: handle_raw_exception(e) @@ -1965,7 +2074,7 @@ def stream_containerapp_logs(cmd, resource_group_name, name, container=None, rev url = (f"{base_url}/subscriptions/{sub}/resourceGroups/{resource_group_name}/containerApps/{name}" f"/revisions/{revision}/replicas/{replica}/containers/{container}/logstream") - logger.warning("connecting to : %s", url) + logger.info("connecting to : %s", url) request_params = {"follow": str(follow).lower(), "output": output_format, "tailLines": tail} headers = {"Authorization": f"Bearer {token}"} resp = requests.get(url, timeout=None, stream=True, params=request_params, headers=headers) @@ -2008,7 +2117,7 @@ def containerapp_up(cmd, logs_key=None, repo=None, token=None, - branch="main", + branch=None, browse=False, context_path=None, service_principal_client_id=None, @@ -2016,15 +2125,18 @@ def containerapp_up(cmd, service_principal_tenant_id=None): from ._up_utils import (_validate_up_args, _reformat_image, _get_dockerfile_content, _get_ingress_and_target_port, ResourceGroup, ContainerAppEnvironment, ContainerApp, _get_registry_from_app, - _get_registry_details, _create_github_action, _set_up_defaults, up_output, AzureContainerRegistry) + _get_registry_details, _create_github_action, _set_up_defaults, up_output, + check_env_name_on_rg, get_token) + from ._github_oauth import cache_github_token HELLOWORLD = "mcr.microsoft.com/azuredocs/containerapps-helloworld" dockerfile = "Dockerfile" # for now the dockerfile name must be "Dockerfile" (until GH actions API is updated) - _validate_up_args(source, image, repo, registry_server) + _validate_up_args(cmd, source, image, repo, registry_server) validate_container_app_name(name) + check_env_name_on_rg(cmd, managed_env, resource_group_name, location) image = _reformat_image(source, repo, image) - token = None if not repo else get_github_access_token(cmd, ["admin:repo_hook", "repo", "workflow"], token) + token = get_token(cmd, repo, token) if image and HELLOWORLD in image.lower(): ingress = "external" if not ingress else ingress @@ -2064,6 +2176,7 @@ def containerapp_up(cmd, if repo: _create_github_action(app, env, service_principal_client_id, service_principal_client_secret, service_principal_tenant_id, branch, token, repo, context_path) + cache_github_token(cmd, token, repo) if browse: open_containerapp_in_browser(cmd, app.name, app.resource_group.name) @@ -2200,3 +2313,64 @@ def containerapp_up_logic(cmd, resource_group_name, name, managed_env, image, en return ContainerAppClient.create_or_update(cmd, resource_group_name, name, containerapp_def) except Exception as e: handle_raw_exception(e) + + +def show_storage(cmd, name, storage_name, resource_group_name): + _validate_subscription_registered(cmd, "Microsoft.App") + + try: + return StorageClient.show(cmd, resource_group_name, name, storage_name) + except CLIError as e: + handle_raw_exception(e) + + +def list_storage(cmd, name, resource_group_name): + _validate_subscription_registered(cmd, "Microsoft.App") + + try: + return StorageClient.list(cmd, resource_group_name, name) + except CLIError as e: + handle_raw_exception(e) + + +def create_or_update_storage(cmd, storage_name, resource_group_name, name, azure_file_account_name, azure_file_share_name, azure_file_account_key, access_mode, no_wait=False): # pylint: disable=redefined-builtin + _validate_subscription_registered(cmd, "Microsoft.App") + + if len(azure_file_share_name) < 3: + raise ValidationError("File share name must be longer than 2 characters.") + + if len(azure_file_account_name) < 3: + raise ValidationError("Account name must be longer than 2 characters.") + + r = None + + try: + r = StorageClient.show(cmd, resource_group_name, name, storage_name) + except: + pass + + if r: + logger.warning("Only AzureFile account keys can be updated. In order to change the AzureFile share name or account name, please delete this storage and create a new one.") + + storage_def = AzureFilePropertiesModel + storage_def["accountKey"] = azure_file_account_key + storage_def["accountName"] = azure_file_account_name + storage_def["shareName"] = azure_file_share_name + storage_def["accessMode"] = access_mode + storage_envelope = {} + storage_envelope["properties"] = {} + storage_envelope["properties"]["azureFile"] = storage_def + + try: + return StorageClient.create_or_update(cmd, resource_group_name, name, storage_name, storage_envelope, no_wait) + except CLIError as e: + handle_raw_exception(e) + + +def remove_storage(cmd, storage_name, name, resource_group_name, no_wait=False): + _validate_subscription_registered(cmd, "Microsoft.App") + + try: + return StorageClient.delete(cmd, resource_group_name, name, storage_name, no_wait) + except CLIError as e: + handle_raw_exception(e) From 575183f8f14c30da96cc18c60b6015f5e1f562ef Mon Sep 17 00:00:00 2001 From: Steven Murawski Date: Fri, 13 May 2022 18:55:46 +0000 Subject: [PATCH 08/17] monkey patch the log analytics workspace random name generation when provided to support recordable tests --- .../_monkey_patch.py | 98 +++++++++++++++++++ .../azext_containerapp_preview/custom.py | 60 ++++++------ 2 files changed, 128 insertions(+), 30 deletions(-) create mode 100644 src/containerapp-preview/azext_containerapp_preview/_monkey_patch.py diff --git a/src/containerapp-preview/azext_containerapp_preview/_monkey_patch.py b/src/containerapp-preview/azext_containerapp_preview/_monkey_patch.py new file mode 100644 index 00000000000..875bbdcd6d8 --- /dev/null +++ b/src/containerapp-preview/azext_containerapp_preview/_monkey_patch.py @@ -0,0 +1,98 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +import sys + + +def uncache(exclude): + pkgs = [] + for mod in exclude: + pkg = mod.split('.', 1)[0] + pkgs.append(pkg) + to_uncache = [] + for mod in sys.modules: + if mod in exclude: + continue + if mod in pkgs: + to_uncache.append(mod) + continue + for pkg in pkgs: + if mod.startswith(pkg + '.'): + to_uncache.append(mod) + break + for mod in to_uncache: + del sys.modules[mod] + + +# Monkey patch for the PollingAnimation +# removes the spinner and message written to standard out +# which breaks the ability to re-use output from the +# the containerapp compose create command +# example: +# `URL=$(az containerapp compose create -e myenv -g myrg --query [0].properties.configuration.ingress.fqdn -o tsv)` +# In that example, the URL variable would include a number of lines with the polling animation, +# making it difficult to reusue the output from the CLI command. +def tick(self): + self.currTicker += 1 + self.currTicker = self.currTicker % len(self.tickers) + + +# Monkey patch for the PollingAnimation (see above) +def flush(self): # noqa: W0613 pylint: disable=unused-argument + pass + + +try: + from azext_containerapp import custom # pylint: disable=unused-import + from azext_containerapp import _utils # pylint: disable=unused-import + from azext_containerapp import _clients # pylint: disable=unused-import + _clients.PollingAnimation.tick = tick + _clients.PollingAnimation.flush = flush + uncache("azext_containerapp._clients") + from azext_containerapp import _clients # pylint: disable=unused-import + from azext_containerapp._clients import ManagedEnvironmentClient # pylint: disable=unused-import +except ModuleNotFoundError: + from .vendored_sdks.azext_containerapp import custom # pylint: disable=unused-import + from .vendored_sdks.azext_containerapp import _utils # pylint: disable=unused-import + from .vendored_sdks.azext_containerapp import _clients # pylint: disable=unused-import + _clients.PollingAnimation.tick = tick + _clients.PollingAnimation.flush = flush + uncache("azext_containerapp_preview.vendored_sdks.azext_containerapp") + from .vendored_sdks.azext_containerapp import _clients # pylint: disable=unused-import + from .vendored_sdks.azext_containerapp._clients import ManagedEnvironmentClient # pylint: disable=unused-import +except ImportError: + from .vendored_sdks.azext_containerapp import custom # pylint: disable=unused-import + from .vendored_sdks.azext_containerapp import _utils # pylint: disable=unused-import + from .vendored_sdks.azext_containerapp import _clients # pylint: disable=unused-import + _clients.PollingAnimation.tick = tick + _clients.PollingAnimation.flush = flush + uncache("azext_containerapp_preview.vendored_sdks.azext_containerapp") + from .vendored_sdks.azext_containerapp._clients import ManagedEnvironmentClient # pylint: disable=unused-import + + +# Monkey patch for log analytics workspace name +# this allows the test framework to pass down a specific +# name to support playback of recorded tests. +def override_random_log_analytics_name(resource_group_name): # pylint: disable=unused-argument + return _utils.logs_workspace_name # noqa: F821 pylint: disable=undefined-variable + + +def create_containerapps_compose_environment(cmd, + name, + resource_group_name, + logs_workspace_name=None, + tags=None): + if logs_workspace_name is not None: + monkey_patch = override_random_log_analytics_name + _utils._generate_log_analytics_workspace_name = monkey_patch # pylint: disable=protected-access + _utils.logs_workspace_name = logs_workspace_name + return custom.create_managed_environment(cmd, + name, + resource_group_name, + tags=tags) + + +def create_containerapp_from_service(*args, **kwargs): + return custom.create_containerapp(*args, **kwargs) diff --git a/src/containerapp-preview/azext_containerapp_preview/custom.py b/src/containerapp-preview/azext_containerapp_preview/custom.py index 4ca9ecc9047..867e5ec075d 100644 --- a/src/containerapp-preview/azext_containerapp_preview/custom.py +++ b/src/containerapp-preview/azext_containerapp_preview/custom.py @@ -13,9 +13,10 @@ from knack.prompting import prompt_choice_list from pycomposefile import ComposeFile -from .vendored_sdks.azext_containerapp.custom import ( - create_containerapp, create_managed_environment) -from .vendored_sdks.azext_containerapp._clients import ManagedEnvironmentClient +from ._monkey_patch import ( + create_containerapp_from_service, + create_containerapps_compose_environment) +from ._monkey_patch import ManagedEnvironmentClient logger = get_logger(__name__) @@ -40,11 +41,11 @@ def create_containerapps_from_compose(cmd, # pylint: disable=R0914 resource_group_name=resource_group_name, name=managed_env) except: # pylint: disable=W0702 - managed_environment = create_managed_environment(cmd, - managed_env, - resource_group_name, - logs_workspace_name=logs_workspace_name, - tags=tags) + managed_environment = create_containerapps_compose_environment(cmd, + managed_env, + resource_group_name, + logs_workspace_name=logs_workspace_name, + tags=tags) os.environ["AZURE_CONTAINERAPPS_ENV_DEFAULT_DOMAIN"] = managed_environment["properties"]["defaultDomain"] os.environ["AZURE_CONTAINERAPPS_ENV_STATIC_IP"] = managed_environment["properties"]["staticIp"] @@ -76,28 +77,27 @@ def create_containerapps_from_compose(cmd, # pylint: disable=R0914 environment = secret_env_ref containerapps_from_compose.append( - create_containerapp(cmd, - service_name, - resource_group_name, - image=service.image, - container_name=service.container_name, - managed_env=managed_environment["id"], - ingress=ingress_type, - target_port=target_port, - registry_server=registry, - registry_user=registry_username, - registry_pass=registry_password, - transport=transport_setting, - startup_command=startup_command, - args=startup_args, - cpu=cpu, - memory=memory, - env_vars=environment, - secrets=secret_vars, - min_replicas=replicas, - max_replicas=replicas, - )) - + create_containerapp_from_service(cmd, + service_name, + resource_group_name, + image=service.image, + container_name=service.container_name, + managed_env=managed_environment["id"], + ingress=ingress_type, + target_port=target_port, + registry_server=registry, + registry_user=registry_username, + registry_pass=registry_password, + transport=transport_setting, + startup_command=startup_command, + args=startup_args, + cpu=cpu, + memory=memory, + env_vars=environment, + secrets=secret_vars, + min_replicas=replicas, + max_replicas=replicas,) + ) return containerapps_from_compose From d0a56d3972ae9fdcad186360f84645aee598c41b Mon Sep 17 00:00:00 2001 From: Steven Murawski Date: Fri, 13 May 2022 20:19:39 +0000 Subject: [PATCH 09/17] update CredScanSuppressions with new test recordings --- scripts/ci/credscan/CredScanSuppressions.json | 29 +++++++++---------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/scripts/ci/credscan/CredScanSuppressions.json b/scripts/ci/credscan/CredScanSuppressions.json index ab5d803ab41..32539d5342b 100644 --- a/scripts/ci/credscan/CredScanSuppressions.json +++ b/scripts/ci/credscan/CredScanSuppressions.json @@ -148,28 +148,27 @@ }, { "file": [ - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_no_existing_resources.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_basic_no_existing_resources.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_resources_from_both_cpus_and_deploy_cpu.yaml", "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_environment.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_transport_arg.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_all_registry_args.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_resources_from_deploy_cpu.yaml", "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_environment_prompt.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_with_command_list.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_both_ingress.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_external_ingress.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_with_command_string.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_cpus.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_internal_ingress.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_with_entrypoint_and_command_list.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_cpus_and_deploy_cpu.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_prompt_ingress.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_deploy_cpu.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_registry_server_arg_only.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_resources_from_service_cpus.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_ingress_both.yaml", "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_secrets.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_ingress_external.yaml", "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_secrets_and_existing_environment.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_ingress_internal.yaml", "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_secrets_and_existing_environment_conflict.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_ingress_prompt.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_transport_arg.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_registry_all_args.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_with_command_list.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_registry_server_arg_only.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_with_command_list_and_entrypoint.yaml", "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_replicas_global_scale.yaml", + "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_with_command_string.yaml", "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_replicas_replicated_mode.yaml" - ], "_justification": "Dummy resources' tokens left during testing." } From 3e85d76e03c63fb782b6ed51f37dd1d368c7c288 Mon Sep 17 00:00:00 2001 From: Steven Murawski Date: Wed, 18 May 2022 00:07:03 +0000 Subject: [PATCH 10/17] package rename to containerapp-compose --- .github/CODEOWNERS | 2 +- scripts/ci/credscan/CredScanSuppressions.json | 42 ++--- .../HISTORY.rst | 0 src/containerapp-compose/README.rst | 7 + .../azext_containerapp_compose}/__init__.py | 6 +- .../azext_containerapp_compose}/_help.py | 0 .../_monkey_patch.py | 4 +- .../azext_containerapp_compose}/_params.py | 0 .../_validators.py | 0 .../azext_metadata.json | 0 .../azext_containerapp_compose}/commands.py | 0 .../azext_containerapp_compose}/custom.py | 0 .../tests/__init__.py | 0 .../tests/latest/__init__.py | 0 ...se_create_basic_no_existing_resources.yaml | 124 +++++++------- ...erapp_compose_create_with_environment.yaml | 154 +++++++++--------- ...ompose_create_with_environment_prompt.yaml | 98 +++++------ ...rapp_compose_create_with_ingress_both.yaml | 130 +++++++-------- ..._compose_create_with_ingress_external.yaml | 122 +++++++------- ..._compose_create_with_ingress_internal.yaml | 120 +++++++------- ...pp_compose_create_with_ingress_prompt.yaml | 110 ++++++------- ...compose_create_with_registry_all_args.yaml | 92 +++++------ ..._create_with_registry_server_arg_only.yaml | 110 ++++++------- ...ose_create_with_replicas_global_scale.yaml | 114 ++++++------- ..._create_with_replicas_replicated_mode.yaml | 126 +++++++------- ...sources_from_both_cpus_and_deploy_cpu.yaml | 130 +++++++-------- ...create_with_resources_from_deploy_cpu.yaml | 130 +++++++-------- ...eate_with_resources_from_service_cpus.yaml | 124 +++++++------- ...tainerapp_compose_create_with_secrets.yaml | 136 ++++++++-------- ...with_secrets_and_existing_environment.yaml | 118 +++++++------- ...ets_and_existing_environment_conflict.yaml | 110 ++++++------- ...app_compose_create_with_transport_arg.yaml | 118 +++++++------- ...ontainerapp_compose_with_command_list.yaml | 120 +++++++------- ...pose_with_command_list_and_entrypoint.yaml | 152 ++++++++--------- ...tainerapp_compose_with_command_string.yaml | 136 ++++++++-------- .../latest/test_containerapp_preview_basic.py | 4 +- .../test_containerapp_preview_command.py | 12 +- .../test_containerapp_preview_environment.py | 8 +- .../test_containerapp_preview_ingress.py | 16 +- .../test_containerapp_preview_registries.py | 8 +- .../test_containerapp_preview_resources.py | 12 +- .../latest/test_containerapp_preview_scale.py | 8 +- .../test_containerapp_preview_secrets.py | 12 +- ...ontainerapp_preview_transport_overrides.py | 4 +- .../vendored_sdks/__init__.py | 0 .../azext_containerapp/__init__.py | 0 .../azext_containerapp/_acr_run_polling.py | 0 .../azext_containerapp/_archive_utils.py | 0 .../azext_containerapp/_client_factory.py | 0 .../azext_containerapp/_clients.py | 0 .../azext_containerapp/_constants.py | 0 .../azext_containerapp/_github_oauth.py | 0 .../vendored_sdks/azext_containerapp/_help.py | 0 .../azext_containerapp/_models.py | 0 .../azext_containerapp/_params.py | 0 .../azext_containerapp/_sdk_models.py | 0 .../azext_containerapp/_ssh_utils.py | 0 .../azext_containerapp/_up_utils.py | 0 .../azext_containerapp/_utils.py | 0 .../azext_containerapp/_validators.py | 0 .../azext_containerapp/azext_metadata.json | 0 .../azext_containerapp/commands.py | 0 .../azext_containerapp/custom.py | 0 .../setup.cfg | 0 .../setup.py | 11 +- src/containerapp-preview/README.md | 92 ----------- src/containerapp-preview/README.rst | 5 - 67 files changed, 1368 insertions(+), 1459 deletions(-) rename src/{containerapp-preview => containerapp-compose}/HISTORY.rst (100%) create mode 100644 src/containerapp-compose/README.rst rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/__init__.py (85%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/_help.py (100%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/_monkey_patch.py (97%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/_params.py (100%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/_validators.py (100%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/azext_metadata.json (100%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/commands.py (100%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/custom.py (100%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/__init__.py (100%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/__init__.py (100%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/recordings/test_containerapp_compose_create_basic_no_existing_resources.yaml (96%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/recordings/test_containerapp_compose_create_with_environment.yaml (96%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/recordings/test_containerapp_compose_create_with_environment_prompt.yaml (95%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/recordings/test_containerapp_compose_create_with_ingress_both.yaml (96%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/recordings/test_containerapp_compose_create_with_ingress_external.yaml (96%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/recordings/test_containerapp_compose_create_with_ingress_internal.yaml (96%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/recordings/test_containerapp_compose_create_with_ingress_prompt.yaml (95%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/recordings/test_containerapp_compose_create_with_registry_all_args.yaml (96%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/recordings/test_containerapp_compose_create_with_registry_server_arg_only.yaml (95%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/recordings/test_containerapp_compose_create_with_replicas_global_scale.yaml (96%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/recordings/test_containerapp_compose_create_with_replicas_replicated_mode.yaml (96%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/recordings/test_containerapp_compose_create_with_resources_from_both_cpus_and_deploy_cpu.yaml (96%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/recordings/test_containerapp_compose_create_with_resources_from_deploy_cpu.yaml (96%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/recordings/test_containerapp_compose_create_with_resources_from_service_cpus.yaml (96%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/recordings/test_containerapp_compose_create_with_secrets.yaml (96%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/recordings/test_containerapp_compose_create_with_secrets_and_existing_environment.yaml (96%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/recordings/test_containerapp_compose_create_with_secrets_and_existing_environment_conflict.yaml (95%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/recordings/test_containerapp_compose_create_with_transport_arg.yaml (96%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/recordings/test_containerapp_compose_with_command_list.yaml (96%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/recordings/test_containerapp_compose_with_command_list_and_entrypoint.yaml (96%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/recordings/test_containerapp_compose_with_command_string.yaml (96%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/test_containerapp_preview_basic.py (96%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/test_containerapp_preview_command.py (96%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/test_containerapp_preview_environment.py (97%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/test_containerapp_preview_ingress.py (96%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/test_containerapp_preview_registries.py (97%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/test_containerapp_preview_resources.py (96%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/test_containerapp_preview_scale.py (96%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/test_containerapp_preview_secrets.py (97%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/tests/latest/test_containerapp_preview_transport_overrides.py (97%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/vendored_sdks/__init__.py (100%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/vendored_sdks/azext_containerapp/__init__.py (100%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/vendored_sdks/azext_containerapp/_acr_run_polling.py (100%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/vendored_sdks/azext_containerapp/_archive_utils.py (100%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/vendored_sdks/azext_containerapp/_client_factory.py (100%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/vendored_sdks/azext_containerapp/_clients.py (100%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/vendored_sdks/azext_containerapp/_constants.py (100%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/vendored_sdks/azext_containerapp/_github_oauth.py (100%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/vendored_sdks/azext_containerapp/_help.py (100%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/vendored_sdks/azext_containerapp/_models.py (100%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/vendored_sdks/azext_containerapp/_params.py (100%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/vendored_sdks/azext_containerapp/_sdk_models.py (100%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/vendored_sdks/azext_containerapp/_ssh_utils.py (100%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/vendored_sdks/azext_containerapp/_up_utils.py (100%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/vendored_sdks/azext_containerapp/_utils.py (100%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/vendored_sdks/azext_containerapp/_validators.py (100%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/vendored_sdks/azext_containerapp/azext_metadata.json (100%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/vendored_sdks/azext_containerapp/commands.py (100%) rename src/{containerapp-preview/azext_containerapp_preview => containerapp-compose/azext_containerapp_compose}/vendored_sdks/azext_containerapp/custom.py (100%) rename src/{containerapp-preview => containerapp-compose}/setup.cfg (100%) rename src/{containerapp-preview => containerapp-compose}/setup.py (86%) delete mode 100644 src/containerapp-preview/README.md delete mode 100644 src/containerapp-preview/README.rst diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 083e79f2e78..fad22f067f4 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -236,4 +236,4 @@ /src/spring/ @yuwzho -/src/containerapp-preview/ @smurawski @jldeen +/src/containerapp-compose/ @smurawski @jldeen diff --git a/scripts/ci/credscan/CredScanSuppressions.json b/scripts/ci/credscan/CredScanSuppressions.json index 32539d5342b..fd10962fc74 100644 --- a/scripts/ci/credscan/CredScanSuppressions.json +++ b/scripts/ci/credscan/CredScanSuppressions.json @@ -148,27 +148,27 @@ }, { "file": [ - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_basic_no_existing_resources.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_resources_from_both_cpus_and_deploy_cpu.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_environment.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_resources_from_deploy_cpu.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_environment_prompt.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_resources_from_service_cpus.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_ingress_both.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_secrets.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_ingress_external.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_secrets_and_existing_environment.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_ingress_internal.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_secrets_and_existing_environment_conflict.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_ingress_prompt.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_transport_arg.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_registry_all_args.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_with_command_list.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_registry_server_arg_only.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_with_command_list_and_entrypoint.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_replicas_global_scale.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_with_command_string.yaml", - "src\\containerapp-preview\\azext_containerapp_preview\\tests\\latest\\recordings\\test_containerapp_compose_create_with_replicas_replicated_mode.yaml" + "src\\containerapp-compose\\azext_containerapp_compose\\tests\\latest\\recordings\\test_containerapp_compose_create_basic_no_existing_resources.yaml", + "src\\containerapp-compose\\azext_containerapp_compose\\tests\\latest\\recordings\\test_containerapp_compose_create_with_resources_from_both_cpus_and_deploy_cpu.yaml", + "src\\containerapp-compose\\azext_containerapp_compose\\tests\\latest\\recordings\\test_containerapp_compose_create_with_environment.yaml", + "src\\containerapp-compose\\azext_containerapp_compose\\tests\\latest\\recordings\\test_containerapp_compose_create_with_resources_from_deploy_cpu.yaml", + "src\\containerapp-compose\\azext_containerapp_compose\\tests\\latest\\recordings\\test_containerapp_compose_create_with_environment_prompt.yaml", + "src\\containerapp-compose\\azext_containerapp_compose\\tests\\latest\\recordings\\test_containerapp_compose_create_with_resources_from_service_cpus.yaml", + "src\\containerapp-compose\\azext_containerapp_compose\\tests\\latest\\recordings\\test_containerapp_compose_create_with_ingress_both.yaml", + "src\\containerapp-compose\\azext_containerapp_compose\\tests\\latest\\recordings\\test_containerapp_compose_create_with_secrets.yaml", + "src\\containerapp-compose\\azext_containerapp_compose\\tests\\latest\\recordings\\test_containerapp_compose_create_with_ingress_external.yaml", + "src\\containerapp-compose\\azext_containerapp_compose\\tests\\latest\\recordings\\test_containerapp_compose_create_with_secrets_and_existing_environment.yaml", + "src\\containerapp-compose\\azext_containerapp_compose\\tests\\latest\\recordings\\test_containerapp_compose_create_with_ingress_internal.yaml", + "src\\containerapp-compose\\azext_containerapp_compose\\tests\\latest\\recordings\\test_containerapp_compose_create_with_secrets_and_existing_environment_conflict.yaml", + "src\\containerapp-compose\\azext_containerapp_compose\\tests\\latest\\recordings\\test_containerapp_compose_create_with_ingress_prompt.yaml", + "src\\containerapp-compose\\azext_containerapp_compose\\tests\\latest\\recordings\\test_containerapp_compose_create_with_transport_arg.yaml", + "src\\containerapp-compose\\azext_containerapp_compose\\tests\\latest\\recordings\\test_containerapp_compose_create_with_registry_all_args.yaml", + "src\\containerapp-compose\\azext_containerapp_compose\\tests\\latest\\recordings\\test_containerapp_compose_with_command_list.yaml", + "src\\containerapp-compose\\azext_containerapp_compose\\tests\\latest\\recordings\\test_containerapp_compose_create_with_registry_server_arg_only.yaml", + "src\\containerapp-compose\\azext_containerapp_compose\\tests\\latest\\recordings\\test_containerapp_compose_with_command_list_and_entrypoint.yaml", + "src\\containerapp-compose\\azext_containerapp_compose\\tests\\latest\\recordings\\test_containerapp_compose_create_with_replicas_global_scale.yaml", + "src\\containerapp-compose\\azext_containerapp_compose\\tests\\latest\\recordings\\test_containerapp_compose_with_command_string.yaml", + "src\\containerapp-compose\\azext_containerapp_compose\\tests\\latest\\recordings\\test_containerapp_compose_create_with_replicas_replicated_mode.yaml" ], "_justification": "Dummy resources' tokens left during testing." } diff --git a/src/containerapp-preview/HISTORY.rst b/src/containerapp-compose/HISTORY.rst similarity index 100% rename from src/containerapp-preview/HISTORY.rst rename to src/containerapp-compose/HISTORY.rst diff --git a/src/containerapp-compose/README.rst b/src/containerapp-compose/README.rst new file mode 100644 index 00000000000..0929dd27fbf --- /dev/null +++ b/src/containerapp-compose/README.rst @@ -0,0 +1,7 @@ +Microsoft Azure CLI 'containerapps' Extension +========================================== + +This package is for the 'containerapps-compose' extension. + +This preview contains the `containerapp compose` command group, enabling the creation of Azure Container Apps environments and instances from a Docker Compose file. + diff --git a/src/containerapp-preview/azext_containerapp_preview/__init__.py b/src/containerapp-compose/azext_containerapp_compose/__init__.py similarity index 85% rename from src/containerapp-preview/azext_containerapp_preview/__init__.py rename to src/containerapp-compose/azext_containerapp_compose/__init__.py index eb3c65ef2cb..05df7fb1d79 100644 --- a/src/containerapp-preview/azext_containerapp_preview/__init__.py +++ b/src/containerapp-compose/azext_containerapp_compose/__init__.py @@ -12,7 +12,7 @@ class ContainerappPreviewCommandsLoader(AzCommandsLoader): def __init__(self, cli_ctx=None): from azure.cli.core.commands import CliCommandType containerapp_preview_custom = CliCommandType( - operations_tmpl='azext_containerapp_preview.custom#{}', + operations_tmpl='azext_containerapp_compose.custom#{}', client_factory=None) # pylint: disable=R1725 super(ContainerappPreviewCommandsLoader, self).__init__( @@ -21,12 +21,12 @@ def __init__(self, cli_ctx=None): ) def load_command_table(self, args): - from azext_containerapp_preview.commands import load_command_table + from azext_containerapp_compose.commands import load_command_table load_command_table(self, args) return self.command_table def load_arguments(self, command): - from azext_containerapp_preview._params import load_arguments + from azext_containerapp_compose._params import load_arguments load_arguments(self, command) diff --git a/src/containerapp-preview/azext_containerapp_preview/_help.py b/src/containerapp-compose/azext_containerapp_compose/_help.py similarity index 100% rename from src/containerapp-preview/azext_containerapp_preview/_help.py rename to src/containerapp-compose/azext_containerapp_compose/_help.py diff --git a/src/containerapp-preview/azext_containerapp_preview/_monkey_patch.py b/src/containerapp-compose/azext_containerapp_compose/_monkey_patch.py similarity index 97% rename from src/containerapp-preview/azext_containerapp_preview/_monkey_patch.py rename to src/containerapp-compose/azext_containerapp_compose/_monkey_patch.py index 875bbdcd6d8..5ed7125388a 100644 --- a/src/containerapp-preview/azext_containerapp_preview/_monkey_patch.py +++ b/src/containerapp-compose/azext_containerapp_compose/_monkey_patch.py @@ -59,7 +59,7 @@ def flush(self): # noqa: W0613 pylint: disable=unused-argument from .vendored_sdks.azext_containerapp import _clients # pylint: disable=unused-import _clients.PollingAnimation.tick = tick _clients.PollingAnimation.flush = flush - uncache("azext_containerapp_preview.vendored_sdks.azext_containerapp") + uncache("azext_containerapp_compose.vendored_sdks.azext_containerapp") from .vendored_sdks.azext_containerapp import _clients # pylint: disable=unused-import from .vendored_sdks.azext_containerapp._clients import ManagedEnvironmentClient # pylint: disable=unused-import except ImportError: @@ -68,7 +68,7 @@ def flush(self): # noqa: W0613 pylint: disable=unused-argument from .vendored_sdks.azext_containerapp import _clients # pylint: disable=unused-import _clients.PollingAnimation.tick = tick _clients.PollingAnimation.flush = flush - uncache("azext_containerapp_preview.vendored_sdks.azext_containerapp") + uncache("azext_containerapp_compose.vendored_sdks.azext_containerapp") from .vendored_sdks.azext_containerapp._clients import ManagedEnvironmentClient # pylint: disable=unused-import diff --git a/src/containerapp-preview/azext_containerapp_preview/_params.py b/src/containerapp-compose/azext_containerapp_compose/_params.py similarity index 100% rename from src/containerapp-preview/azext_containerapp_preview/_params.py rename to src/containerapp-compose/azext_containerapp_compose/_params.py diff --git a/src/containerapp-preview/azext_containerapp_preview/_validators.py b/src/containerapp-compose/azext_containerapp_compose/_validators.py similarity index 100% rename from src/containerapp-preview/azext_containerapp_preview/_validators.py rename to src/containerapp-compose/azext_containerapp_compose/_validators.py diff --git a/src/containerapp-preview/azext_containerapp_preview/azext_metadata.json b/src/containerapp-compose/azext_containerapp_compose/azext_metadata.json similarity index 100% rename from src/containerapp-preview/azext_containerapp_preview/azext_metadata.json rename to src/containerapp-compose/azext_containerapp_compose/azext_metadata.json diff --git a/src/containerapp-preview/azext_containerapp_preview/commands.py b/src/containerapp-compose/azext_containerapp_compose/commands.py similarity index 100% rename from src/containerapp-preview/azext_containerapp_preview/commands.py rename to src/containerapp-compose/azext_containerapp_compose/commands.py diff --git a/src/containerapp-preview/azext_containerapp_preview/custom.py b/src/containerapp-compose/azext_containerapp_compose/custom.py similarity index 100% rename from src/containerapp-preview/azext_containerapp_preview/custom.py rename to src/containerapp-compose/azext_containerapp_compose/custom.py diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/__init__.py b/src/containerapp-compose/azext_containerapp_compose/tests/__init__.py similarity index 100% rename from src/containerapp-preview/azext_containerapp_preview/tests/__init__.py rename to src/containerapp-compose/azext_containerapp_compose/tests/__init__.py diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/__init__.py b/src/containerapp-compose/azext_containerapp_compose/tests/latest/__init__.py similarity index 100% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/__init__.py rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/__init__.py diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_basic_no_existing_resources.yaml b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_basic_no_existing_resources.yaml similarity index 96% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_basic_no_existing_resources.yaml rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_basic_no_existing_resources.yaml index 6994832c409..572174a082d 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_basic_no_existing_resources.yaml +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_basic_no_existing_resources.yaml @@ -57,10 +57,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-compose000002'' under resource group ''cli_test_containerapp_preview000001'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: @@ -578,7 +578,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -592,8 +592,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:41:49 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 16:41:49 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -637,7 +637,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -651,8 +651,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:41:49 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 16:41:50 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -700,7 +700,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003/sharedKeys?api-version=2020-08-01 response: body: string: "{\r\n \"primarySharedKey\": \"b//vH/7aqEbuMQx0MdKMPgwf4sorj/EnGWJriLKUvzqqxEQhfn8NJVO55tsYdwPDuXKlECJzd79qhvhSk02aYg==\",\r\n @@ -764,10 +764,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -816,10 +816,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -866,10 +866,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -916,10 +916,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -966,10 +966,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1016,10 +1016,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1066,10 +1066,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1116,10 +1116,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1166,10 +1166,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1216,10 +1216,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1266,10 +1266,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1316,10 +1316,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1366,10 +1366,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1416,10 +1416,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1466,10 +1466,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1516,10 +1516,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1566,10 +1566,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1616,10 +1616,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1666,10 +1666,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Waiting","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1716,10 +1716,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Succeeded","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Succeeded","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1828,10 +1828,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Succeeded","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:42:20.8815896","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:42:20.8815896"},"properties":{"provisioningState":"Succeeded","defaultDomain":"gentlesky-6a28d964.eastus.azurecontainerapps.io","staticIp":"52.226.194.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2e0357b7-32f0-4816-948d-757a8a625008"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1926,7 +1926,7 @@ interactions: message: OK - request: body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": - null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002", "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": null, "dapr": null, "registries": null}, "template": {"revisionSuffix": null, "containers": [{"image": "smurawski/printenv:latest", "name": "foo", "command": @@ -1954,7 +1954,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:00.9720399Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:00.9720399Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.169","52.226.193.198","52.226.193.159"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:00.9720399Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:00.9720399Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["52.226.193.169","52.226.193.198","52.226.193.159"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2007,7 +2007,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:00.9720399","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:00.9720399"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.169","52.226.193.198","52.226.193.159"],"latestRevisionName":"foo--7vbr3sy","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:00.9720399","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:00.9720399"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["52.226.193.169","52.226.193.198","52.226.193.159"],"latestRevisionName":"foo--7vbr3sy","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2058,7 +2058,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:00.9720399","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:00.9720399"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.169","52.226.193.198","52.226.193.159"],"latestRevisionName":"foo--7vbr3sy","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:00.9720399","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:00.9720399"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["52.226.193.169","52.226.193.198","52.226.193.159"],"latestRevisionName":"foo--7vbr3sy","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2109,7 +2109,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:00.9720399","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:00.9720399"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.169","52.226.193.198","52.226.193.159"],"latestRevisionName":"foo--7vbr3sy","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:00.9720399","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:00.9720399"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["52.226.193.169","52.226.193.198","52.226.193.159"],"latestRevisionName":"foo--7vbr3sy","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2160,7 +2160,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:00.9720399","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:00.9720399"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.169","52.226.193.198","52.226.193.159"],"latestRevisionName":"foo--7vbr3sy","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:00.9720399","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:00.9720399"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["52.226.193.169","52.226.193.198","52.226.193.159"],"latestRevisionName":"foo--7vbr3sy","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2211,7 +2211,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:00.9720399","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:00.9720399"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.169","52.226.193.198","52.226.193.159"],"latestRevisionName":"foo--7vbr3sy","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:00.9720399","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:00.9720399"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["52.226.193.169","52.226.193.198","52.226.193.159"],"latestRevisionName":"foo--7vbr3sy","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2262,7 +2262,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:00.9720399","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:00.9720399"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.169","52.226.193.198","52.226.193.159"],"latestRevisionName":"foo--7vbr3sy","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:00.9720399","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:00.9720399"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["52.226.193.169","52.226.193.198","52.226.193.159"],"latestRevisionName":"foo--7vbr3sy","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2313,7 +2313,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:00.9720399","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:00.9720399"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.169","52.226.193.198","52.226.193.159"],"latestRevisionName":"foo--7vbr3sy","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:00.9720399","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:00.9720399"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["52.226.193.169","52.226.193.198","52.226.193.159"],"latestRevisionName":"foo--7vbr3sy","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2364,7 +2364,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:00.9720399","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:00.9720399"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.169","52.226.193.198","52.226.193.159"],"latestRevisionName":"foo--7vbr3sy","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:00.9720399","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:00.9720399"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["52.226.193.169","52.226.193.198","52.226.193.159"],"latestRevisionName":"foo--7vbr3sy","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2415,7 +2415,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:00.9720399","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:00.9720399"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.169","52.226.193.198","52.226.193.159"],"latestRevisionName":"foo--7vbr3sy","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:00.9720399","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:00.9720399"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["52.226.193.169","52.226.193.198","52.226.193.159"],"latestRevisionName":"foo--7vbr3sy","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"smurawski/printenv:latest","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_environment.yaml b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_environment.yaml similarity index 96% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_environment.yaml rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_environment.yaml index 819dc446e39..731460a4e0c 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_environment.yaml +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_environment.yaml @@ -57,10 +57,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-compose000002'' under resource group ''cli_test_containerapp_preview000001'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: @@ -578,7 +578,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -592,8 +592,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:48:43 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 16:48:43 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -637,7 +637,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -651,8 +651,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:48:43 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 16:48:44 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -700,7 +700,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003/sharedKeys?api-version=2020-08-01 response: body: string: "{\r\n \"primarySharedKey\": \"tJ/H9MiidN6Fyt7mdFnLW0GPivFWiPYyYGDWyQS/5V76iRzYpsR/9aajHVAxPFNDE6sM2imLtz4U1rbPRwLFZA==\",\r\n @@ -764,10 +764,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -816,10 +816,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -866,10 +866,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -916,10 +916,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -966,10 +966,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1016,10 +1016,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1066,10 +1066,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1116,10 +1116,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1166,10 +1166,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1216,10 +1216,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1266,10 +1266,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1316,10 +1316,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1366,10 +1366,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1416,10 +1416,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1466,10 +1466,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1516,10 +1516,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1566,10 +1566,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1616,10 +1616,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1666,10 +1666,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1716,10 +1716,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1766,10 +1766,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1816,10 +1816,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1866,10 +1866,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1916,10 +1916,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Waiting","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1966,10 +1966,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Succeeded","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Succeeded","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2078,10 +2078,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Succeeded","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:49:14.3281271","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:49:14.3281271"},"properties":{"provisioningState":"Succeeded","defaultDomain":"blueisland-f604a6de.eastus.azurecontainerapps.io","staticIp":"20.127.179.184","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"125fe770-6c4a-45f8-89ac-957ff402dd87"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2176,7 +2176,7 @@ interactions: message: OK - request: body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": - null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002", "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": null, "dapr": null, "registries": null}, "template": {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", "name": @@ -2206,7 +2206,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2259,7 +2259,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2310,7 +2310,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2361,7 +2361,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2412,7 +2412,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2463,7 +2463,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2514,7 +2514,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2565,7 +2565,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2616,7 +2616,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2667,7 +2667,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2718,7 +2718,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2769,7 +2769,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2820,7 +2820,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2871,7 +2871,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2922,7 +2922,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:50:08.1784626","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:50:08.1784626"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.232.59.207","20.232.58.200","20.127.181.71"],"latestRevisionName":"foo--l9mukk3","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"RACK_ENV","value":"development"},{"name":"SHOW","value":"true"},{"name":"BAZ","value":"\"snafu\""}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_environment_prompt.yaml b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_environment_prompt.yaml similarity index 95% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_environment_prompt.yaml rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_environment_prompt.yaml index 8015f839847..ad2af0bf387 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_environment_prompt.yaml +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_environment_prompt.yaml @@ -57,10 +57,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-compose000002'' under resource group ''cli_test_containerapp_preview000001'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: @@ -578,7 +578,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -592,8 +592,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:50:42 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 16:50:42 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -637,7 +637,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -651,8 +651,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:50:42 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 16:50:44 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -700,7 +700,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003/sharedKeys?api-version=2020-08-01 response: body: string: "{\r\n \"primarySharedKey\": \"jgJ5GNmYas7WpSwE5y89/diY3PNaSqSHZgo4clmyNPkOu/bTJGcGDrOQGqgliqLIN2kDgYAVSanpzPwDR1+0jg==\",\r\n @@ -764,10 +764,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -816,10 +816,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -866,10 +866,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -916,10 +916,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -966,10 +966,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1016,10 +1016,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1066,10 +1066,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1116,10 +1116,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1166,10 +1166,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1216,10 +1216,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1266,10 +1266,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1316,10 +1316,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1366,10 +1366,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1416,10 +1416,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1466,10 +1466,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1516,10 +1516,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1566,10 +1566,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1616,10 +1616,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1666,10 +1666,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Waiting","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1716,10 +1716,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Succeeded","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:51:13.4843555","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:51:13.4843555"},"properties":{"provisioningState":"Succeeded","defaultDomain":"purpleplant-db2b9067.eastus.azurecontainerapps.io","staticIp":"20.85.145.145","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"3db62671-1a6c-4c9f-a2cd-57c14c36ccd1"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_ingress_both.yaml b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_ingress_both.yaml similarity index 96% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_ingress_both.yaml rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_ingress_both.yaml index d61df5c06a1..c29983e6b47 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_ingress_both.yaml +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_ingress_both.yaml @@ -57,10 +57,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-compose000002'' under resource group ''cli_test_containerapp_preview000001'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: @@ -578,7 +578,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -592,8 +592,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:55:05 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 16:55:05 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -637,7 +637,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -651,8 +651,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:55:05 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 16:55:06 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -700,7 +700,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003/sharedKeys?api-version=2020-08-01 response: body: string: "{\r\n \"primarySharedKey\": \"blenRGDk8GyaQbwUOZtxL+ThhNr0w5Rib2j70dYBtfVJh3af3r8hB2GopMW+ZvNlsiwa2yBtB4EaF0w8M0aWHw==\",\r\n @@ -764,10 +764,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -816,10 +816,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -866,10 +866,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -916,10 +916,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -966,10 +966,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1016,10 +1016,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1066,10 +1066,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1116,10 +1116,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1166,10 +1166,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1216,10 +1216,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1266,10 +1266,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1316,10 +1316,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1366,10 +1366,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1416,10 +1416,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1466,10 +1466,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1516,10 +1516,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1566,10 +1566,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1616,10 +1616,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1666,10 +1666,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Waiting","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1716,10 +1716,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Succeeded","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Succeeded","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1828,10 +1828,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Succeeded","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:55:36.3227216","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:55:36.3227216"},"properties":{"provisioningState":"Succeeded","defaultDomain":"salmonbay-d410b66a.eastus.azurecontainerapps.io","staticIp":"20.124.44.250","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"23cd1b1a-add2-4857-a813-97a1f7df85b9"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1926,7 +1926,7 @@ interactions: message: OK - request: body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": - null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002", "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": {"fqdn": null, "external": true, "targetPort": "3000", "transport": "auto", "traffic": null, "customDomains": null}, "dapr": null, "registries": null}, @@ -1955,7 +1955,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2008,7 +2008,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2059,7 +2059,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2110,7 +2110,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2161,7 +2161,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2212,7 +2212,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2263,7 +2263,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2314,7 +2314,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2365,7 +2365,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2416,7 +2416,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2467,7 +2467,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2518,7 +2518,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2569,7 +2569,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:56:16.7018211","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:56:16.7018211"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.124.42.238","20.124.45.10","20.124.45.23"],"latestRevisionName":"foo--vhj23wg","latestRevisionFqdn":"foo--vhj23wg.salmonbay-d410b66a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.salmonbay-d410b66a.eastus.azurecontainerapps.io","external":true,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_ingress_external.yaml b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_ingress_external.yaml similarity index 96% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_ingress_external.yaml rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_ingress_external.yaml index 9f712a0bcc6..a4ee6a6e677 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_ingress_external.yaml +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_ingress_external.yaml @@ -57,10 +57,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-compose000002'' under resource group ''cli_test_containerapp_preview000001'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: @@ -578,7 +578,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -592,8 +592,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:51:57 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 16:51:57 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -637,7 +637,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -651,8 +651,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:51:57 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 16:51:58 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -700,7 +700,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003/sharedKeys?api-version=2020-08-01 response: body: string: "{\r\n \"primarySharedKey\": \"SIg94ER74W7MXIjoBHgGyqMhI2DiSjHFqzdLlpDYG691PTs23B4sS7CQAbsPg7FySEc78K1EDuq5Q/s0EIbutA==\",\r\n @@ -764,10 +764,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -816,10 +816,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -866,10 +866,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -916,10 +916,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -966,10 +966,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1016,10 +1016,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1066,10 +1066,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1116,10 +1116,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1166,10 +1166,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1216,10 +1216,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1266,10 +1266,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1316,10 +1316,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1366,10 +1366,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1416,10 +1416,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1466,10 +1466,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1516,10 +1516,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1566,10 +1566,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1616,10 +1616,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1666,10 +1666,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1716,10 +1716,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Succeeded","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Succeeded","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1828,10 +1828,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Succeeded","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:52:28.7506645","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:52:28.7506645"},"properties":{"provisioningState":"Succeeded","defaultDomain":"yellowbeach-c673937d.eastus.azurecontainerapps.io","staticIp":"20.120.73.35","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8764bbc3-e1dd-49a9-89d8-0d3257d62283"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1926,7 +1926,7 @@ interactions: message: OK - request: body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": - null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002", "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": {"fqdn": null, "external": true, "targetPort": "80", "transport": "auto", "traffic": null, "customDomains": null}, "dapr": null, "registries": null}, "template": @@ -1955,7 +1955,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:08.5013952Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:08.5013952Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.120.72.234","20.120.72.246","20.120.73.1"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowbeach-c673937d.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:08.5013952Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:08.5013952Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.120.72.234","20.120.72.246","20.120.73.1"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowbeach-c673937d.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2008,7 +2008,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:08.5013952","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:08.5013952"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.120.72.234","20.120.72.246","20.120.73.1"],"latestRevisionName":"foo--a6jqg6y","latestRevisionFqdn":"foo--a6jqg6y.yellowbeach-c673937d.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowbeach-c673937d.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:08.5013952","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:08.5013952"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.120.72.234","20.120.72.246","20.120.73.1"],"latestRevisionName":"foo--a6jqg6y","latestRevisionFqdn":"foo--a6jqg6y.yellowbeach-c673937d.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowbeach-c673937d.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2059,7 +2059,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:08.5013952","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:08.5013952"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.120.72.234","20.120.72.246","20.120.73.1"],"latestRevisionName":"foo--a6jqg6y","latestRevisionFqdn":"foo--a6jqg6y.yellowbeach-c673937d.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowbeach-c673937d.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:08.5013952","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:08.5013952"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.120.72.234","20.120.72.246","20.120.73.1"],"latestRevisionName":"foo--a6jqg6y","latestRevisionFqdn":"foo--a6jqg6y.yellowbeach-c673937d.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowbeach-c673937d.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2110,7 +2110,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:08.5013952","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:08.5013952"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.120.72.234","20.120.72.246","20.120.73.1"],"latestRevisionName":"foo--a6jqg6y","latestRevisionFqdn":"foo--a6jqg6y.yellowbeach-c673937d.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowbeach-c673937d.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:08.5013952","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:08.5013952"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.120.72.234","20.120.72.246","20.120.73.1"],"latestRevisionName":"foo--a6jqg6y","latestRevisionFqdn":"foo--a6jqg6y.yellowbeach-c673937d.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowbeach-c673937d.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2161,7 +2161,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:08.5013952","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:08.5013952"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.120.72.234","20.120.72.246","20.120.73.1"],"latestRevisionName":"foo--a6jqg6y","latestRevisionFqdn":"foo--a6jqg6y.yellowbeach-c673937d.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowbeach-c673937d.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:08.5013952","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:08.5013952"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.120.72.234","20.120.72.246","20.120.73.1"],"latestRevisionName":"foo--a6jqg6y","latestRevisionFqdn":"foo--a6jqg6y.yellowbeach-c673937d.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowbeach-c673937d.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2212,7 +2212,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:08.5013952","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:08.5013952"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.120.72.234","20.120.72.246","20.120.73.1"],"latestRevisionName":"foo--a6jqg6y","latestRevisionFqdn":"foo--a6jqg6y.yellowbeach-c673937d.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowbeach-c673937d.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:08.5013952","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:08.5013952"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.120.72.234","20.120.72.246","20.120.73.1"],"latestRevisionName":"foo--a6jqg6y","latestRevisionFqdn":"foo--a6jqg6y.yellowbeach-c673937d.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowbeach-c673937d.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2263,7 +2263,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:08.5013952","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:08.5013952"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.120.72.234","20.120.72.246","20.120.73.1"],"latestRevisionName":"foo--a6jqg6y","latestRevisionFqdn":"foo--a6jqg6y.yellowbeach-c673937d.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowbeach-c673937d.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:08.5013952","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:08.5013952"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.120.72.234","20.120.72.246","20.120.73.1"],"latestRevisionName":"foo--a6jqg6y","latestRevisionFqdn":"foo--a6jqg6y.yellowbeach-c673937d.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowbeach-c673937d.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2314,7 +2314,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:08.5013952","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:08.5013952"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.120.72.234","20.120.72.246","20.120.73.1"],"latestRevisionName":"foo--a6jqg6y","latestRevisionFqdn":"foo--a6jqg6y.yellowbeach-c673937d.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowbeach-c673937d.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:08.5013952","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:08.5013952"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.120.72.234","20.120.72.246","20.120.73.1"],"latestRevisionName":"foo--a6jqg6y","latestRevisionFqdn":"foo--a6jqg6y.yellowbeach-c673937d.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowbeach-c673937d.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2365,7 +2365,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:08.5013952","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:08.5013952"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.120.72.234","20.120.72.246","20.120.73.1"],"latestRevisionName":"foo--a6jqg6y","latestRevisionFqdn":"foo--a6jqg6y.yellowbeach-c673937d.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowbeach-c673937d.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:08.5013952","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:08.5013952"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.120.72.234","20.120.72.246","20.120.73.1"],"latestRevisionName":"foo--a6jqg6y","latestRevisionFqdn":"foo--a6jqg6y.yellowbeach-c673937d.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowbeach-c673937d.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_ingress_internal.yaml b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_ingress_internal.yaml similarity index 96% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_ingress_internal.yaml rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_ingress_internal.yaml index e8e703aac49..5be796d7b86 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_ingress_internal.yaml +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_ingress_internal.yaml @@ -57,10 +57,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-compose000002'' under resource group ''cli_test_containerapp_preview000001'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: @@ -578,7 +578,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -592,8 +592,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:53:28 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 16:53:28 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -637,7 +637,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -651,8 +651,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:53:28 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 16:53:29 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -700,7 +700,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003/sharedKeys?api-version=2020-08-01 response: body: string: "{\r\n \"primarySharedKey\": \"vK1TJRcWfUqxJKxuyzj3f9j7FYENDqKAM4uVmW8vIRKpd6mPKcA9yw8xzAe5MfilnlpCq4YmwRgmJ/d0Ek0ynw==\",\r\n @@ -764,10 +764,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -816,10 +816,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -866,10 +866,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -916,10 +916,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -966,10 +966,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1016,10 +1016,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1066,10 +1066,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1116,10 +1116,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1166,10 +1166,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1216,10 +1216,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1266,10 +1266,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1316,10 +1316,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1366,10 +1366,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1416,10 +1416,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1466,10 +1466,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1516,10 +1516,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1566,10 +1566,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1616,10 +1616,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1666,10 +1666,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1716,10 +1716,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Succeeded","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Succeeded","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1828,10 +1828,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Succeeded","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:53:59.8035861","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:53:59.8035861"},"properties":{"provisioningState":"Succeeded","defaultDomain":"jollycliff-a4faeb61.eastus.azurecontainerapps.io","staticIp":"20.85.138.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa11c901-ef70-4254-af17-5630822c7475"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1926,7 +1926,7 @@ interactions: message: OK - request: body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": - null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002", "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": {"fqdn": null, "external": false, "targetPort": 3000, "transport": "auto", "traffic": null, "customDomains": null}, "dapr": null, "registries": null}, "template": @@ -1955,7 +1955,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:54:45.0101315Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:54:45.0101315Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.85.139.75","20.85.136.135","20.85.136.242"],"latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:54:45.0101315Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:54:45.0101315Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.85.139.75","20.85.136.135","20.85.136.242"],"latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2008,7 +2008,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:54:45.0101315","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:54:45.0101315"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.85.139.75","20.85.136.135","20.85.136.242"],"latestRevisionName":"foo--vfa28ih","latestRevisionFqdn":"foo--vfa28ih.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:54:45.0101315","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:54:45.0101315"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.85.139.75","20.85.136.135","20.85.136.242"],"latestRevisionName":"foo--vfa28ih","latestRevisionFqdn":"foo--vfa28ih.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2059,7 +2059,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:54:45.0101315","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:54:45.0101315"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.85.139.75","20.85.136.135","20.85.136.242"],"latestRevisionName":"foo--vfa28ih","latestRevisionFqdn":"foo--vfa28ih.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:54:45.0101315","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:54:45.0101315"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.85.139.75","20.85.136.135","20.85.136.242"],"latestRevisionName":"foo--vfa28ih","latestRevisionFqdn":"foo--vfa28ih.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2110,7 +2110,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:54:45.0101315","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:54:45.0101315"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.85.139.75","20.85.136.135","20.85.136.242"],"latestRevisionName":"foo--vfa28ih","latestRevisionFqdn":"foo--vfa28ih.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:54:45.0101315","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:54:45.0101315"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.85.139.75","20.85.136.135","20.85.136.242"],"latestRevisionName":"foo--vfa28ih","latestRevisionFqdn":"foo--vfa28ih.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2161,7 +2161,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:54:45.0101315","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:54:45.0101315"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.85.139.75","20.85.136.135","20.85.136.242"],"latestRevisionName":"foo--vfa28ih","latestRevisionFqdn":"foo--vfa28ih.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:54:45.0101315","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:54:45.0101315"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.85.139.75","20.85.136.135","20.85.136.242"],"latestRevisionName":"foo--vfa28ih","latestRevisionFqdn":"foo--vfa28ih.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2212,7 +2212,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:54:45.0101315","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:54:45.0101315"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.85.139.75","20.85.136.135","20.85.136.242"],"latestRevisionName":"foo--vfa28ih","latestRevisionFqdn":"foo--vfa28ih.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:54:45.0101315","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:54:45.0101315"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.85.139.75","20.85.136.135","20.85.136.242"],"latestRevisionName":"foo--vfa28ih","latestRevisionFqdn":"foo--vfa28ih.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2263,7 +2263,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:54:45.0101315","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:54:45.0101315"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.85.139.75","20.85.136.135","20.85.136.242"],"latestRevisionName":"foo--vfa28ih","latestRevisionFqdn":"foo--vfa28ih.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:54:45.0101315","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:54:45.0101315"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.85.139.75","20.85.136.135","20.85.136.242"],"latestRevisionName":"foo--vfa28ih","latestRevisionFqdn":"foo--vfa28ih.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2314,7 +2314,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:54:45.0101315","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:54:45.0101315"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.85.139.75","20.85.136.135","20.85.136.242"],"latestRevisionName":"foo--vfa28ih","latestRevisionFqdn":"foo--vfa28ih.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:54:45.0101315","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:54:45.0101315"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.85.139.75","20.85.136.135","20.85.136.242"],"latestRevisionName":"foo--vfa28ih","latestRevisionFqdn":"foo--vfa28ih.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.jollycliff-a4faeb61.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_ingress_prompt.yaml b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_ingress_prompt.yaml similarity index 95% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_ingress_prompt.yaml rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_ingress_prompt.yaml index 599b33872e8..3d2a5874436 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_ingress_prompt.yaml +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_ingress_prompt.yaml @@ -57,10 +57,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-compose000002'' under resource group ''cli_test_containerapp_preview000001'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: @@ -578,7 +578,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -592,8 +592,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 17:10:31 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 17:10:31 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -637,7 +637,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -651,8 +651,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 17:10:31 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 17:10:33 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -700,7 +700,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003/sharedKeys?api-version=2020-08-01 response: body: string: "{\r\n \"primarySharedKey\": \"iQ8BO+0IPSPomu/4S6D3ENAvkjcXVBLBB2BAkGs42svkJC/IiZxL2voAEiTVC4nL11gxWmKH1GJZDu66wwQGig==\",\r\n @@ -764,10 +764,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -816,10 +816,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -866,10 +866,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -916,10 +916,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -966,10 +966,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1016,10 +1016,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1066,10 +1066,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1116,10 +1116,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1166,10 +1166,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1216,10 +1216,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1266,10 +1266,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1316,10 +1316,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1366,10 +1366,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1416,10 +1416,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1466,10 +1466,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1516,10 +1516,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1566,10 +1566,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1616,10 +1616,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1666,10 +1666,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1716,10 +1716,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1766,10 +1766,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1816,10 +1816,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Waiting","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1866,10 +1866,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Succeeded","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:11:04.2377826","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:11:04.2377826"},"properties":{"provisioningState":"Succeeded","defaultDomain":"icysea-e51ad087.eastus.azurecontainerapps.io","staticIp":"20.237.100.123","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2a5a1324-2e58-42b3-b3b1-9e4c8e9e21f3"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_registry_all_args.yaml b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_registry_all_args.yaml similarity index 96% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_registry_all_args.yaml rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_registry_all_args.yaml index b17c030aeae..288a9b4dac1 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_registry_all_args.yaml +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_registry_all_args.yaml @@ -59,10 +59,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-compose000002'' under resource group ''cli_test_containerapp_preview000001'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: @@ -586,7 +586,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -600,8 +600,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 17:11:52 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 17:11:52 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -646,7 +646,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -660,8 +660,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 17:11:52 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 17:11:54 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -710,7 +710,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003/sharedKeys?api-version=2020-08-01 response: body: string: "{\r\n \"primarySharedKey\": \"0ONisBiuno2z0+xTqSdXnl+3uPkhxojLfcg00/EvyYI+FEA7owSaWg/O5FkKPDLq5vnKHcAL9XBGc729PTao8Q==\",\r\n @@ -775,10 +775,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -828,10 +828,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -879,10 +879,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -928,10 +928,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -979,10 +979,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1030,10 +1030,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1081,10 +1081,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1132,10 +1132,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1183,10 +1183,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1234,10 +1234,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1285,10 +1285,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1336,10 +1336,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1387,10 +1387,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1438,10 +1438,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Succeeded","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Succeeded","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1552,10 +1552,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Succeeded","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:23.9722966","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:23.9722966"},"properties":{"provisioningState":"Succeeded","defaultDomain":"ashyfield-a73c4c34.eastus.azurecontainerapps.io","staticIp":"20.237.101.22","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"d4bc82cc-63d2-47f6-9738-10ecbc78d869"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1651,7 +1651,7 @@ interactions: message: OK - request: body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": - null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002", "configuration": {"secrets": [{"name": "foobarazurecrio-foobar", "value": "snafu"}], "activeRevisionsMode": "single", "ingress": {"fqdn": null, "external": true, "targetPort": "80", "transport": "auto", "traffic": null, "customDomains": null}, @@ -1683,7 +1683,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:59.9555556Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:59.9555556Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.98.121","20.237.98.123","20.237.98.139"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"foobarazurecrio-foobar"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ashyfield-a73c4c34.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false},"registries":[{"server":"foobar.azurecr.io","username":"foobar","passwordSecretRef":"foobarazurecrio-foobar"}]},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:59.9555556Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:59.9555556Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.98.121","20.237.98.123","20.237.98.139"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"foobarazurecrio-foobar"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ashyfield-a73c4c34.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false},"registries":[{"server":"foobar.azurecr.io","username":"foobar","passwordSecretRef":"foobarazurecrio-foobar"}]},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1737,7 +1737,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:59.9555556","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:59.9555556"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.98.121","20.237.98.123","20.237.98.139"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"foobarazurecrio-foobar"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ashyfield-a73c4c34.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false},"registries":[{"server":"foobar.azurecr.io","username":"foobar","passwordSecretRef":"foobarazurecrio-foobar"}]},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:59.9555556","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:59.9555556"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.98.121","20.237.98.123","20.237.98.139"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"foobarazurecrio-foobar"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ashyfield-a73c4c34.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false},"registries":[{"server":"foobar.azurecr.io","username":"foobar","passwordSecretRef":"foobarazurecrio-foobar"}]},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1789,7 +1789,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:59.9555556","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:59.9555556"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.98.121","20.237.98.123","20.237.98.139"],"latestRevisionName":"foo--krf3ww7","latestRevisionFqdn":"foo--krf3ww7.ashyfield-a73c4c34.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"foobarazurecrio-foobar"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ashyfield-a73c4c34.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false},"registries":[{"server":"foobar.azurecr.io","username":"foobar","passwordSecretRef":"foobarazurecrio-foobar"}]},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:59.9555556","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:59.9555556"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.98.121","20.237.98.123","20.237.98.139"],"latestRevisionName":"foo--krf3ww7","latestRevisionFqdn":"foo--krf3ww7.ashyfield-a73c4c34.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"foobarazurecrio-foobar"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ashyfield-a73c4c34.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false},"registries":[{"server":"foobar.azurecr.io","username":"foobar","passwordSecretRef":"foobarazurecrio-foobar"}]},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1841,7 +1841,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:59.9555556","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:59.9555556"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.98.121","20.237.98.123","20.237.98.139"],"latestRevisionName":"foo--krf3ww7","latestRevisionFqdn":"foo--krf3ww7.ashyfield-a73c4c34.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"foobarazurecrio-foobar"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ashyfield-a73c4c34.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false},"registries":[{"server":"foobar.azurecr.io","username":"foobar","passwordSecretRef":"foobarazurecrio-foobar"}]},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:59.9555556","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:59.9555556"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.98.121","20.237.98.123","20.237.98.139"],"latestRevisionName":"foo--krf3ww7","latestRevisionFqdn":"foo--krf3ww7.ashyfield-a73c4c34.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"foobarazurecrio-foobar"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ashyfield-a73c4c34.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false},"registries":[{"server":"foobar.azurecr.io","username":"foobar","passwordSecretRef":"foobarazurecrio-foobar"}]},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1893,7 +1893,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:59.9555556","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:59.9555556"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.98.121","20.237.98.123","20.237.98.139"],"latestRevisionName":"foo--krf3ww7","latestRevisionFqdn":"foo--krf3ww7.ashyfield-a73c4c34.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"foobarazurecrio-foobar"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ashyfield-a73c4c34.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false},"registries":[{"server":"foobar.azurecr.io","username":"foobar","passwordSecretRef":"foobarazurecrio-foobar"}]},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:59.9555556","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:59.9555556"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.98.121","20.237.98.123","20.237.98.139"],"latestRevisionName":"foo--krf3ww7","latestRevisionFqdn":"foo--krf3ww7.ashyfield-a73c4c34.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"foobarazurecrio-foobar"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ashyfield-a73c4c34.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false},"registries":[{"server":"foobar.azurecr.io","username":"foobar","passwordSecretRef":"foobarazurecrio-foobar"}]},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1945,7 +1945,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:59.9555556","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:59.9555556"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.98.121","20.237.98.123","20.237.98.139"],"latestRevisionName":"foo--krf3ww7","latestRevisionFqdn":"foo--krf3ww7.ashyfield-a73c4c34.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"foobarazurecrio-foobar"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ashyfield-a73c4c34.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false},"registries":[{"server":"foobar.azurecr.io","username":"foobar","passwordSecretRef":"foobarazurecrio-foobar"}]},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:12:59.9555556","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:12:59.9555556"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.98.121","20.237.98.123","20.237.98.139"],"latestRevisionName":"foo--krf3ww7","latestRevisionFqdn":"foo--krf3ww7.ashyfield-a73c4c34.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"foobarazurecrio-foobar"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ashyfield-a73c4c34.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false},"registries":[{"server":"foobar.azurecr.io","username":"foobar","passwordSecretRef":"foobarazurecrio-foobar"}]},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_registry_server_arg_only.yaml b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_registry_server_arg_only.yaml similarity index 95% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_registry_server_arg_only.yaml rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_registry_server_arg_only.yaml index 4bbe8829825..1cb751763f1 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_registry_server_arg_only.yaml +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_registry_server_arg_only.yaml @@ -57,10 +57,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-compose000002'' under resource group ''cli_test_containerapp_preview000001'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: @@ -578,7 +578,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -592,8 +592,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 17:13:13 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 17:13:13 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -637,7 +637,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -651,8 +651,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 17:13:13 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 17:13:16 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -700,7 +700,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003/sharedKeys?api-version=2020-08-01 response: body: string: "{\r\n \"primarySharedKey\": \"dhNqzSFj4215p3Pdu0I7josQRrhi8pqTLd//MeDjReDhWKLM9COeMaPAGYO5YFp+gk2kBrH2sUPNdVH+8SU3xw==\",\r\n @@ -764,10 +764,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -816,10 +816,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -866,10 +866,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -916,10 +916,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -966,10 +966,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1016,10 +1016,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1066,10 +1066,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1116,10 +1116,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1166,10 +1166,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1216,10 +1216,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1266,10 +1266,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1316,10 +1316,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1366,10 +1366,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1416,10 +1416,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1466,10 +1466,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1516,10 +1516,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1566,10 +1566,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1616,10 +1616,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1666,10 +1666,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1716,10 +1716,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1766,10 +1766,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1816,10 +1816,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Waiting","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1866,10 +1866,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Succeeded","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:13:45.03184","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:13:45.03184"},"properties":{"provisioningState":"Succeeded","defaultDomain":"grayrock-69513020.eastus.azurecontainerapps.io","staticIp":"20.121.154.60","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"0b7e3777-0e84-426b-b837-781cbd5a627a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_replicas_global_scale.yaml b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_replicas_global_scale.yaml similarity index 96% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_replicas_global_scale.yaml rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_replicas_global_scale.yaml index e6678a0a4a9..38ab20a839a 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_replicas_global_scale.yaml +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_replicas_global_scale.yaml @@ -57,10 +57,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-compose000002'' under resource group ''cli_test_containerapp_preview000001'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: @@ -578,7 +578,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -592,8 +592,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 18:39:09 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 18:39:09 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -637,7 +637,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -651,8 +651,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 18:39:09 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 18:39:10 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -700,7 +700,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003/sharedKeys?api-version=2020-08-01 response: body: string: "{\r\n \"primarySharedKey\": \"4jlRQtuJn/pp8/0vpCN0j5eYr+C3R03SBza7I1Iav/HqIZNLYwiY2gpIEoAL1O3JHSDStIO4pDnrgYJ/xb3+sg==\",\r\n @@ -764,10 +764,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -816,10 +816,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -866,10 +866,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -916,10 +916,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -966,10 +966,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1016,10 +1016,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1066,10 +1066,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1116,10 +1116,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1166,10 +1166,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1216,10 +1216,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1266,10 +1266,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1316,10 +1316,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1366,10 +1366,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1416,10 +1416,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1466,10 +1466,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1516,10 +1516,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1566,10 +1566,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1616,10 +1616,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1666,10 +1666,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Waiting","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1716,10 +1716,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Succeeded","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Succeeded","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1828,10 +1828,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Succeeded","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:39:41.3247272","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:39:41.3247272"},"properties":{"provisioningState":"Succeeded","defaultDomain":"bravesky-94d3cdc2.eastus.azurecontainerapps.io","staticIp":"20.85.167.64","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b7508b70-dbf7-42b3-b1f8-e158d814403c"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1926,7 +1926,7 @@ interactions: message: OK - request: body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": - null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002", "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": {"fqdn": null, "external": true, "targetPort": "80", "transport": "auto", "traffic": null, "customDomains": null}, "dapr": null, "registries": null}, "template": @@ -1956,7 +1956,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:40:21.2330419Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:40:21.2330419Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.92.172","20.237.92.174","20.237.92.178"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.bravesky-94d3cdc2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":1,"maxReplicas":1}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:40:21.2330419Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:40:21.2330419Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.92.172","20.237.92.174","20.237.92.178"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.bravesky-94d3cdc2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":1,"maxReplicas":1}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2009,7 +2009,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:40:21.2330419","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:40:21.2330419"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.92.172","20.237.92.174","20.237.92.178"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.bravesky-94d3cdc2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":1,"maxReplicas":1}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:40:21.2330419","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:40:21.2330419"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.92.172","20.237.92.174","20.237.92.178"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.bravesky-94d3cdc2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":1,"maxReplicas":1}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2060,7 +2060,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:40:21.2330419","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:40:21.2330419"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.92.172","20.237.92.174","20.237.92.178"],"latestRevisionName":"foo--sml883x","latestRevisionFqdn":"foo--sml883x.bravesky-94d3cdc2.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.bravesky-94d3cdc2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":1,"maxReplicas":1}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:40:21.2330419","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:40:21.2330419"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.92.172","20.237.92.174","20.237.92.178"],"latestRevisionName":"foo--sml883x","latestRevisionFqdn":"foo--sml883x.bravesky-94d3cdc2.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.bravesky-94d3cdc2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":1,"maxReplicas":1}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2111,7 +2111,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:40:21.2330419","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:40:21.2330419"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.92.172","20.237.92.174","20.237.92.178"],"latestRevisionName":"foo--sml883x","latestRevisionFqdn":"foo--sml883x.bravesky-94d3cdc2.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.bravesky-94d3cdc2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":1,"maxReplicas":1}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:40:21.2330419","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:40:21.2330419"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.92.172","20.237.92.174","20.237.92.178"],"latestRevisionName":"foo--sml883x","latestRevisionFqdn":"foo--sml883x.bravesky-94d3cdc2.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.bravesky-94d3cdc2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":1,"maxReplicas":1}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2162,7 +2162,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:40:21.2330419","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:40:21.2330419"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.92.172","20.237.92.174","20.237.92.178"],"latestRevisionName":"foo--sml883x","latestRevisionFqdn":"foo--sml883x.bravesky-94d3cdc2.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.bravesky-94d3cdc2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":1,"maxReplicas":1}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:40:21.2330419","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:40:21.2330419"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.92.172","20.237.92.174","20.237.92.178"],"latestRevisionName":"foo--sml883x","latestRevisionFqdn":"foo--sml883x.bravesky-94d3cdc2.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.bravesky-94d3cdc2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":1,"maxReplicas":1}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_replicas_replicated_mode.yaml b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_replicas_replicated_mode.yaml similarity index 96% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_replicas_replicated_mode.yaml rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_replicas_replicated_mode.yaml index be23fc81780..080abc0f9da 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_replicas_replicated_mode.yaml +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_replicas_replicated_mode.yaml @@ -57,10 +57,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-compose000002'' under resource group ''cli_test_containerapp_preview000001'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: @@ -578,7 +578,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -592,8 +592,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 18:40:33 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 18:40:33 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -637,7 +637,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -651,8 +651,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 18:40:33 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 18:40:45 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -700,7 +700,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003/sharedKeys?api-version=2020-08-01 response: body: string: "{\r\n \"primarySharedKey\": \"U9WUmvfKQVoq4CP6KFab6N4OdxOIpQe2xaat9eILzD7XTNy/5XpE/uCY1tPqLym+qH8SvIzWxxpuWiZV/sD9LA==\",\r\n @@ -764,10 +764,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -816,10 +816,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -866,10 +866,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -916,10 +916,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -966,10 +966,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1016,10 +1016,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1066,10 +1066,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1116,10 +1116,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1166,10 +1166,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1216,10 +1216,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1266,10 +1266,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1316,10 +1316,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1366,10 +1366,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1416,10 +1416,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1466,10 +1466,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1516,10 +1516,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1566,10 +1566,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1616,10 +1616,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1666,10 +1666,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1716,10 +1716,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1766,10 +1766,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1816,10 +1816,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Succeeded","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Succeeded","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1928,10 +1928,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Succeeded","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:06.063521","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:06.063521"},"properties":{"provisioningState":"Succeeded","defaultDomain":"yellowmoss-962f21a2.eastus.azurecontainerapps.io","staticIp":"20.237.41.79","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9c6f3de7-5803-4b93-805a-22c72fad45cc"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2026,7 +2026,7 @@ interactions: message: OK - request: body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": - null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002", "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": {"fqdn": null, "external": true, "targetPort": "80", "transport": "auto", "traffic": null, "customDomains": null}, "dapr": null, "registries": null}, "template": @@ -2056,7 +2056,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:51.3224212Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:51.3224212Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.40.186","20.237.40.172","20.237.40.189"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowmoss-962f21a2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":6,"maxReplicas":6}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:51.3224212Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:51.3224212Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.40.186","20.237.40.172","20.237.40.189"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowmoss-962f21a2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":6,"maxReplicas":6}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2109,7 +2109,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:51.3224212","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:51.3224212"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.40.186","20.237.40.172","20.237.40.189"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowmoss-962f21a2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":6,"maxReplicas":6}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:51.3224212","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:51.3224212"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.40.186","20.237.40.172","20.237.40.189"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowmoss-962f21a2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":6,"maxReplicas":6}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2160,7 +2160,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:51.3224212","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:51.3224212"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.40.186","20.237.40.172","20.237.40.189"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowmoss-962f21a2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":6,"maxReplicas":6}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:51.3224212","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:51.3224212"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.40.186","20.237.40.172","20.237.40.189"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowmoss-962f21a2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":6,"maxReplicas":6}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2211,7 +2211,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:51.3224212","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:51.3224212"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.40.186","20.237.40.172","20.237.40.189"],"latestRevisionName":"foo--qzeghdm","latestRevisionFqdn":"foo--qzeghdm.yellowmoss-962f21a2.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowmoss-962f21a2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":6,"maxReplicas":6}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:51.3224212","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:51.3224212"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.40.186","20.237.40.172","20.237.40.189"],"latestRevisionName":"foo--qzeghdm","latestRevisionFqdn":"foo--qzeghdm.yellowmoss-962f21a2.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowmoss-962f21a2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":6,"maxReplicas":6}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2262,7 +2262,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:51.3224212","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:51.3224212"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.40.186","20.237.40.172","20.237.40.189"],"latestRevisionName":"foo--qzeghdm","latestRevisionFqdn":"foo--qzeghdm.yellowmoss-962f21a2.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowmoss-962f21a2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":6,"maxReplicas":6}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:51.3224212","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:51.3224212"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.40.186","20.237.40.172","20.237.40.189"],"latestRevisionName":"foo--qzeghdm","latestRevisionFqdn":"foo--qzeghdm.yellowmoss-962f21a2.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowmoss-962f21a2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":6,"maxReplicas":6}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2313,7 +2313,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:51.3224212","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:51.3224212"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.40.186","20.237.40.172","20.237.40.189"],"latestRevisionName":"foo--qzeghdm","latestRevisionFqdn":"foo--qzeghdm.yellowmoss-962f21a2.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowmoss-962f21a2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":6,"maxReplicas":6}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:51.3224212","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:51.3224212"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.40.186","20.237.40.172","20.237.40.189"],"latestRevisionName":"foo--qzeghdm","latestRevisionFqdn":"foo--qzeghdm.yellowmoss-962f21a2.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowmoss-962f21a2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":6,"maxReplicas":6}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2364,7 +2364,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:51.3224212","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:51.3224212"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.40.186","20.237.40.172","20.237.40.189"],"latestRevisionName":"foo--qzeghdm","latestRevisionFqdn":"foo--qzeghdm.yellowmoss-962f21a2.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowmoss-962f21a2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":6,"maxReplicas":6}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:41:51.3224212","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:41:51.3224212"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.40.186","20.237.40.172","20.237.40.189"],"latestRevisionName":"foo--qzeghdm","latestRevisionFqdn":"foo--qzeghdm.yellowmoss-962f21a2.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.yellowmoss-962f21a2.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"minReplicas":6,"maxReplicas":6}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_resources_from_both_cpus_and_deploy_cpu.yaml b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_resources_from_both_cpus_and_deploy_cpu.yaml similarity index 96% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_resources_from_both_cpus_and_deploy_cpu.yaml rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_resources_from_both_cpus_and_deploy_cpu.yaml index 1452145490d..687c79b78cd 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_resources_from_both_cpus_and_deploy_cpu.yaml +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_resources_from_both_cpus_and_deploy_cpu.yaml @@ -57,10 +57,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-compose000002'' under resource group ''cli_test_containerapp_preview000001'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: @@ -578,7 +578,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -592,8 +592,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 17:16:37 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 17:16:37 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -637,7 +637,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -651,8 +651,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 17:16:37 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 17:16:38 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -700,7 +700,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003/sharedKeys?api-version=2020-08-01 response: body: string: "{\r\n \"primarySharedKey\": \"QbL+gu+8JEFc6OWj5RvRSv05gFHv5sQIVrctGX1tSA9pkULIrvzevJqDfcCFjH/apXlRrD3zLvJN1gs/xJ0LNg==\",\r\n @@ -764,10 +764,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -816,10 +816,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -866,10 +866,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -916,10 +916,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -966,10 +966,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1016,10 +1016,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1066,10 +1066,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1116,10 +1116,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1166,10 +1166,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1216,10 +1216,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1266,10 +1266,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1316,10 +1316,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1366,10 +1366,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1416,10 +1416,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1466,10 +1466,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1516,10 +1516,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1566,10 +1566,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1616,10 +1616,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1666,10 +1666,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1716,10 +1716,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Waiting","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1766,10 +1766,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Succeeded","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Succeeded","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1878,10 +1878,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Succeeded","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:10.8131388","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:10.8131388"},"properties":{"provisioningState":"Succeeded","defaultDomain":"redfield-569c9a2b.eastus.azurecontainerapps.io","staticIp":"20.237.97.199","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"651ff391-0f66-422d-9e5d-3da4eb788e45"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1976,7 +1976,7 @@ interactions: message: OK - request: body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": - null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002", "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": {"fqdn": null, "external": false, "targetPort": 3000, "transport": "auto", "traffic": null, "customDomains": null}, "dapr": null, "registries": null}, "template": @@ -2006,7 +2006,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2059,7 +2059,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"foo--otu5fgc","latestRevisionFqdn":"foo--otu5fgc.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"foo--otu5fgc","latestRevisionFqdn":"foo--otu5fgc.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2110,7 +2110,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"foo--otu5fgc","latestRevisionFqdn":"foo--otu5fgc.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"foo--otu5fgc","latestRevisionFqdn":"foo--otu5fgc.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2161,7 +2161,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"foo--otu5fgc","latestRevisionFqdn":"foo--otu5fgc.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"foo--otu5fgc","latestRevisionFqdn":"foo--otu5fgc.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2212,7 +2212,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"foo--otu5fgc","latestRevisionFqdn":"foo--otu5fgc.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"foo--otu5fgc","latestRevisionFqdn":"foo--otu5fgc.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2263,7 +2263,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"foo--otu5fgc","latestRevisionFqdn":"foo--otu5fgc.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"foo--otu5fgc","latestRevisionFqdn":"foo--otu5fgc.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2314,7 +2314,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"foo--otu5fgc","latestRevisionFqdn":"foo--otu5fgc.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"foo--otu5fgc","latestRevisionFqdn":"foo--otu5fgc.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2365,7 +2365,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"foo--otu5fgc","latestRevisionFqdn":"foo--otu5fgc.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"foo--otu5fgc","latestRevisionFqdn":"foo--otu5fgc.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2416,7 +2416,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"foo--otu5fgc","latestRevisionFqdn":"foo--otu5fgc.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"foo--otu5fgc","latestRevisionFqdn":"foo--otu5fgc.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2467,7 +2467,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"foo--otu5fgc","latestRevisionFqdn":"foo--otu5fgc.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"foo--otu5fgc","latestRevisionFqdn":"foo--otu5fgc.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2518,7 +2518,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"foo--otu5fgc","latestRevisionFqdn":"foo--otu5fgc.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:17:53.4859533","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:17:53.4859533"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.99.82","20.237.99.87","20.237.99.84"],"latestRevisionName":"foo--otu5fgc","latestRevisionFqdn":"foo--otu5fgc.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.redfield-569c9a2b.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_resources_from_deploy_cpu.yaml b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_resources_from_deploy_cpu.yaml similarity index 96% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_resources_from_deploy_cpu.yaml rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_resources_from_deploy_cpu.yaml index b43516548d1..2a039341439 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_resources_from_deploy_cpu.yaml +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_resources_from_deploy_cpu.yaml @@ -57,10 +57,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-compose000002'' under resource group ''cli_test_containerapp_preview000001'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: @@ -578,7 +578,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -592,8 +592,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 17:18:18 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 17:18:18 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -637,7 +637,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -651,8 +651,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 17:18:18 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 17:18:19 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -700,7 +700,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003/sharedKeys?api-version=2020-08-01 response: body: string: "{\r\n \"primarySharedKey\": \"gGMtNz/VEVp1UNcUfmwjOp5gL2KarNvO+TUttluXEgGVAcbt0dPFVpKXKk8mSwATDgY6Pn6TXJr3xJa90cN8ow==\",\r\n @@ -764,10 +764,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -816,10 +816,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -866,10 +866,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -916,10 +916,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -966,10 +966,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1016,10 +1016,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1066,10 +1066,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1116,10 +1116,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1166,10 +1166,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1216,10 +1216,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1266,10 +1266,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1316,10 +1316,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1366,10 +1366,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1416,10 +1416,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1466,10 +1466,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1516,10 +1516,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1566,10 +1566,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1616,10 +1616,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1666,10 +1666,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1716,10 +1716,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1766,10 +1766,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Waiting","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1816,10 +1816,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Succeeded","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Succeeded","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1928,10 +1928,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Succeeded","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:18:49.4656152","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:18:49.4656152"},"properties":{"provisioningState":"Succeeded","defaultDomain":"politewater-56ebba7c.eastus.azurecontainerapps.io","staticIp":"20.237.33.236","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b40959ae-fa83-4df0-8ec4-57a288d94486"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2026,7 +2026,7 @@ interactions: message: OK - request: body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": - null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002", "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": {"fqdn": null, "external": false, "targetPort": 3000, "transport": "auto", "traffic": null, "customDomains": null}, "dapr": null, "registries": null}, "template": @@ -2056,7 +2056,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:19:33.7435039Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:19:33.7435039Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.36.21","20.237.36.79","20.237.36.82"],"latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:19:33.7435039Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:19:33.7435039Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.36.21","20.237.36.79","20.237.36.82"],"latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2109,7 +2109,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:19:33.7435039","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:19:33.7435039"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.36.21","20.237.36.79","20.237.36.82"],"latestRevisionName":"foo--5zhf09q","latestRevisionFqdn":"foo--5zhf09q.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:19:33.7435039","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:19:33.7435039"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.36.21","20.237.36.79","20.237.36.82"],"latestRevisionName":"foo--5zhf09q","latestRevisionFqdn":"foo--5zhf09q.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2160,7 +2160,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:19:33.7435039","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:19:33.7435039"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.36.21","20.237.36.79","20.237.36.82"],"latestRevisionName":"foo--5zhf09q","latestRevisionFqdn":"foo--5zhf09q.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:19:33.7435039","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:19:33.7435039"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.36.21","20.237.36.79","20.237.36.82"],"latestRevisionName":"foo--5zhf09q","latestRevisionFqdn":"foo--5zhf09q.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2211,7 +2211,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:19:33.7435039","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:19:33.7435039"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.36.21","20.237.36.79","20.237.36.82"],"latestRevisionName":"foo--5zhf09q","latestRevisionFqdn":"foo--5zhf09q.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:19:33.7435039","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:19:33.7435039"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.36.21","20.237.36.79","20.237.36.82"],"latestRevisionName":"foo--5zhf09q","latestRevisionFqdn":"foo--5zhf09q.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2262,7 +2262,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:19:33.7435039","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:19:33.7435039"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.36.21","20.237.36.79","20.237.36.82"],"latestRevisionName":"foo--5zhf09q","latestRevisionFqdn":"foo--5zhf09q.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:19:33.7435039","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:19:33.7435039"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.36.21","20.237.36.79","20.237.36.82"],"latestRevisionName":"foo--5zhf09q","latestRevisionFqdn":"foo--5zhf09q.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2313,7 +2313,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:19:33.7435039","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:19:33.7435039"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.36.21","20.237.36.79","20.237.36.82"],"latestRevisionName":"foo--5zhf09q","latestRevisionFqdn":"foo--5zhf09q.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:19:33.7435039","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:19:33.7435039"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.36.21","20.237.36.79","20.237.36.82"],"latestRevisionName":"foo--5zhf09q","latestRevisionFqdn":"foo--5zhf09q.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2364,7 +2364,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:19:33.7435039","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:19:33.7435039"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.36.21","20.237.36.79","20.237.36.82"],"latestRevisionName":"foo--5zhf09q","latestRevisionFqdn":"foo--5zhf09q.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:19:33.7435039","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:19:33.7435039"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.36.21","20.237.36.79","20.237.36.82"],"latestRevisionName":"foo--5zhf09q","latestRevisionFqdn":"foo--5zhf09q.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2415,7 +2415,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:19:33.7435039","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:19:33.7435039"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.36.21","20.237.36.79","20.237.36.82"],"latestRevisionName":"foo--5zhf09q","latestRevisionFqdn":"foo--5zhf09q.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:19:33.7435039","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:19:33.7435039"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.36.21","20.237.36.79","20.237.36.82"],"latestRevisionName":"foo--5zhf09q","latestRevisionFqdn":"foo--5zhf09q.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2466,7 +2466,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:19:33.7435039","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:19:33.7435039"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.36.21","20.237.36.79","20.237.36.82"],"latestRevisionName":"foo--5zhf09q","latestRevisionFqdn":"foo--5zhf09q.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T17:19:33.7435039","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T17:19:33.7435039"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.36.21","20.237.36.79","20.237.36.82"],"latestRevisionName":"foo--5zhf09q","latestRevisionFqdn":"foo--5zhf09q.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.politewater-56ebba7c.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_resources_from_service_cpus.yaml b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_resources_from_service_cpus.yaml similarity index 96% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_resources_from_service_cpus.yaml rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_resources_from_service_cpus.yaml index d98d47954a1..404ce05f471 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_resources_from_service_cpus.yaml +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_resources_from_service_cpus.yaml @@ -57,10 +57,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-compose000002'' under resource group ''cli_test_containerapp_preview000001'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: @@ -578,7 +578,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -592,8 +592,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 18:20:12 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 18:20:12 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -637,7 +637,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -651,8 +651,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 18:20:12 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 18:20:13 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -700,7 +700,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003/sharedKeys?api-version=2020-08-01 response: body: string: "{\r\n \"primarySharedKey\": \"FYPB2NeEKdsg95TRKa829bFk7aJCh5H3j7SWzS+5cnSY+nYkmAY7zslup30Ds4EnN0tkhSpO4CL2TWiJBv99jA==\",\r\n @@ -764,10 +764,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -816,10 +816,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -866,10 +866,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -916,10 +916,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -966,10 +966,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1016,10 +1016,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1066,10 +1066,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1116,10 +1116,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1166,10 +1166,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1216,10 +1216,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1266,10 +1266,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1316,10 +1316,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1366,10 +1366,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1416,10 +1416,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1466,10 +1466,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1516,10 +1516,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1566,10 +1566,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1616,10 +1616,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1666,10 +1666,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1716,10 +1716,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1766,10 +1766,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Succeeded","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Succeeded","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1878,10 +1878,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Succeeded","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:20:43.9417752","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:20:43.9417752"},"properties":{"provisioningState":"Succeeded","defaultDomain":"agreeableplant-a55d27b9.eastus.azurecontainerapps.io","staticIp":"20.102.13.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"495fd9b7-2a30-45f3-b391-7b729dfcfdd4"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1976,7 +1976,7 @@ interactions: message: OK - request: body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": - null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002", "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": {"fqdn": null, "external": false, "targetPort": 3000, "transport": "auto", "traffic": null, "customDomains": null}, "dapr": null, "registries": null}, "template": @@ -2006,7 +2006,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:21:27.0122422Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:21:27.0122422Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.84.148","20.237.84.145","20.237.84.150"],"latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:21:27.0122422Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:21:27.0122422Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.84.148","20.237.84.145","20.237.84.150"],"latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2059,7 +2059,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:21:27.0122422","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:21:27.0122422"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.84.148","20.237.84.145","20.237.84.150"],"latestRevisionName":"foo--6qmobiv","latestRevisionFqdn":"foo--6qmobiv.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:21:27.0122422","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:21:27.0122422"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.84.148","20.237.84.145","20.237.84.150"],"latestRevisionName":"foo--6qmobiv","latestRevisionFqdn":"foo--6qmobiv.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2110,7 +2110,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:21:27.0122422","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:21:27.0122422"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.84.148","20.237.84.145","20.237.84.150"],"latestRevisionName":"foo--6qmobiv","latestRevisionFqdn":"foo--6qmobiv.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:21:27.0122422","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:21:27.0122422"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.84.148","20.237.84.145","20.237.84.150"],"latestRevisionName":"foo--6qmobiv","latestRevisionFqdn":"foo--6qmobiv.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2161,7 +2161,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:21:27.0122422","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:21:27.0122422"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.84.148","20.237.84.145","20.237.84.150"],"latestRevisionName":"foo--6qmobiv","latestRevisionFqdn":"foo--6qmobiv.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:21:27.0122422","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:21:27.0122422"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.84.148","20.237.84.145","20.237.84.150"],"latestRevisionName":"foo--6qmobiv","latestRevisionFqdn":"foo--6qmobiv.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2212,7 +2212,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:21:27.0122422","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:21:27.0122422"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.84.148","20.237.84.145","20.237.84.150"],"latestRevisionName":"foo--6qmobiv","latestRevisionFqdn":"foo--6qmobiv.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:21:27.0122422","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:21:27.0122422"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.84.148","20.237.84.145","20.237.84.150"],"latestRevisionName":"foo--6qmobiv","latestRevisionFqdn":"foo--6qmobiv.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2263,7 +2263,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:21:27.0122422","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:21:27.0122422"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.84.148","20.237.84.145","20.237.84.150"],"latestRevisionName":"foo--6qmobiv","latestRevisionFqdn":"foo--6qmobiv.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:21:27.0122422","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:21:27.0122422"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.84.148","20.237.84.145","20.237.84.150"],"latestRevisionName":"foo--6qmobiv","latestRevisionFqdn":"foo--6qmobiv.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2314,7 +2314,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:21:27.0122422","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:21:27.0122422"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.84.148","20.237.84.145","20.237.84.150"],"latestRevisionName":"foo--6qmobiv","latestRevisionFqdn":"foo--6qmobiv.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:21:27.0122422","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:21:27.0122422"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.84.148","20.237.84.145","20.237.84.150"],"latestRevisionName":"foo--6qmobiv","latestRevisionFqdn":"foo--6qmobiv.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2365,7 +2365,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:21:27.0122422","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:21:27.0122422"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.84.148","20.237.84.145","20.237.84.150"],"latestRevisionName":"foo--6qmobiv","latestRevisionFqdn":"foo--6qmobiv.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:21:27.0122422","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:21:27.0122422"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.84.148","20.237.84.145","20.237.84.150"],"latestRevisionName":"foo--6qmobiv","latestRevisionFqdn":"foo--6qmobiv.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeableplant-a55d27b9.eastus.azurecontainerapps.io","external":false,"targetPort":3000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":1.25,"memory":"2.5Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets.yaml b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_secrets.yaml similarity index 96% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets.yaml rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_secrets.yaml index 7e0ef2ee240..61363779fe4 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets.yaml +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_secrets.yaml @@ -57,10 +57,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-compose000002'' under resource group ''cli_test_containerapp_preview000001'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: @@ -578,7 +578,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -592,8 +592,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 18:42:07 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 18:42:07 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -637,7 +637,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -651,8 +651,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 18:42:07 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 18:42:09 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -700,7 +700,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003/sharedKeys?api-version=2020-08-01 response: body: string: "{\r\n \"primarySharedKey\": \"G+WwK3Q3skzQH3I5Hqzv/fuXKibGlO/eWrDHHbJsb50ezsC3BlmU9QYU79+Yewb8VWePkEBDO8R4KeZiDdX5tg==\",\r\n @@ -764,10 +764,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -816,10 +816,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -866,10 +866,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -916,10 +916,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -966,10 +966,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1016,10 +1016,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1066,10 +1066,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1116,10 +1116,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1166,10 +1166,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1216,10 +1216,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1266,10 +1266,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1316,10 +1316,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1366,10 +1366,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1416,10 +1416,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1466,10 +1466,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1516,10 +1516,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1566,10 +1566,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1616,10 +1616,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1666,10 +1666,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Waiting","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1716,10 +1716,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Succeeded","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Succeeded","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1828,10 +1828,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Succeeded","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:42:38.9784684","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:42:38.9784684"},"properties":{"provisioningState":"Succeeded","defaultDomain":"lemonsmoke-443bd917.eastus.azurecontainerapps.io","staticIp":"20.237.9.238","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"dcd46b63-13ac-4ce4-90b6-538b258de258"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1926,7 +1926,7 @@ interactions: message: OK - request: body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": - null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002", "configuration": {"secrets": [{"name": "redis-secret", "value": "Lorem Ipsum\n"}], "activeRevisionsMode": "single", "ingress": null, "dapr": null, "registries": null}, "template": {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", @@ -1955,7 +1955,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2008,7 +2008,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2059,7 +2059,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2110,7 +2110,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2161,7 +2161,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2212,7 +2212,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2263,7 +2263,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2314,7 +2314,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2365,7 +2365,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2416,7 +2416,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2467,7 +2467,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2518,7 +2518,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2569,7 +2569,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2620,7 +2620,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2671,7 +2671,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2722,7 +2722,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:43:18.4503786","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:43:18.4503786"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.121.109.191","20.121.110.64","20.121.109.216"],"latestRevisionName":"foo--jq4a8jz","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets_and_existing_environment.yaml b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_secrets_and_existing_environment.yaml similarity index 96% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets_and_existing_environment.yaml rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_secrets_and_existing_environment.yaml index 00ebd2112df..04cd15536ef 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets_and_existing_environment.yaml +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_secrets_and_existing_environment.yaml @@ -57,10 +57,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-compose000002'' under resource group ''cli_test_containerapp_preview000001'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: @@ -578,7 +578,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -592,8 +592,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 18:43:55 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 18:43:55 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -637,7 +637,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -651,8 +651,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 18:43:55 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 18:43:57 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -700,7 +700,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003/sharedKeys?api-version=2020-08-01 response: body: string: "{\r\n \"primarySharedKey\": \"x/NDZm9VM+m/NZs4foGuHIR1OSmuCHuh4cS3yHJ62Q1X8ex9Lw1ovJtXJvmxSx3ArBMtKG2VOSLQH8TRMOiIYQ==\",\r\n @@ -764,10 +764,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -816,10 +816,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -866,10 +866,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -916,10 +916,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -966,10 +966,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1016,10 +1016,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1066,10 +1066,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1116,10 +1116,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1166,10 +1166,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1216,10 +1216,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1266,10 +1266,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1316,10 +1316,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1366,10 +1366,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1416,10 +1416,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1466,10 +1466,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1516,10 +1516,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1566,10 +1566,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1616,10 +1616,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1666,10 +1666,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1716,10 +1716,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Waiting","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1766,10 +1766,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1878,10 +1878,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:44:26.650625","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:44:26.650625"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wonderfulfield-1805566b.eastus.azurecontainerapps.io","staticIp":"52.226.243.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9d48098b-e940-4f4b-ba15-10a0882210bd"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1976,7 +1976,7 @@ interactions: message: OK - request: body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": - null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002", "configuration": {"secrets": [{"name": "redis-secret", "value": "Lorem Ipsum\n"}], "activeRevisionsMode": "single", "ingress": null, "dapr": null, "registries": null}, "template": {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/aks-helloworld:v1", @@ -2008,7 +2008,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:09.1752974Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:09.1752974Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.8.84","20.237.8.123","20.237.8.95"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"database__client","value":"mysql"},{"name":"database__connection__host","value":"db"},{"name":"database__connection__user","value":"root"},{"name":"database__connection__password","value":"example"},{"name":"database__connection__database","value":"snafu"},{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:09.1752974Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:09.1752974Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.8.84","20.237.8.123","20.237.8.95"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"database__client","value":"mysql"},{"name":"database__connection__host","value":"db"},{"name":"database__connection__user","value":"root"},{"name":"database__connection__password","value":"example"},{"name":"database__connection__database","value":"snafu"},{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2061,7 +2061,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:09.1752974","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:09.1752974"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.8.84","20.237.8.123","20.237.8.95"],"latestRevisionName":"foo--bc7um20","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"database__client","value":"mysql"},{"name":"database__connection__host","value":"db"},{"name":"database__connection__user","value":"root"},{"name":"database__connection__password","value":"example"},{"name":"database__connection__database","value":"snafu"},{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:09.1752974","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:09.1752974"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.8.84","20.237.8.123","20.237.8.95"],"latestRevisionName":"foo--bc7um20","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"database__client","value":"mysql"},{"name":"database__connection__host","value":"db"},{"name":"database__connection__user","value":"root"},{"name":"database__connection__password","value":"example"},{"name":"database__connection__database","value":"snafu"},{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2112,7 +2112,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:09.1752974","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:09.1752974"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.8.84","20.237.8.123","20.237.8.95"],"latestRevisionName":"foo--bc7um20","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"database__client","value":"mysql"},{"name":"database__connection__host","value":"db"},{"name":"database__connection__user","value":"root"},{"name":"database__connection__password","value":"example"},{"name":"database__connection__database","value":"snafu"},{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:09.1752974","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:09.1752974"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.8.84","20.237.8.123","20.237.8.95"],"latestRevisionName":"foo--bc7um20","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"database__client","value":"mysql"},{"name":"database__connection__host","value":"db"},{"name":"database__connection__user","value":"root"},{"name":"database__connection__password","value":"example"},{"name":"database__connection__database","value":"snafu"},{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2163,7 +2163,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:09.1752974","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:09.1752974"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.8.84","20.237.8.123","20.237.8.95"],"latestRevisionName":"foo--bc7um20","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"database__client","value":"mysql"},{"name":"database__connection__host","value":"db"},{"name":"database__connection__user","value":"root"},{"name":"database__connection__password","value":"example"},{"name":"database__connection__database","value":"snafu"},{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:09.1752974","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:09.1752974"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.8.84","20.237.8.123","20.237.8.95"],"latestRevisionName":"foo--bc7um20","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"database__client","value":"mysql"},{"name":"database__connection__host","value":"db"},{"name":"database__connection__user","value":"root"},{"name":"database__connection__password","value":"example"},{"name":"database__connection__database","value":"snafu"},{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2214,7 +2214,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:09.1752974","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:09.1752974"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.8.84","20.237.8.123","20.237.8.95"],"latestRevisionName":"foo--bc7um20","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"database__client","value":"mysql"},{"name":"database__connection__host","value":"db"},{"name":"database__connection__user","value":"root"},{"name":"database__connection__password","value":"example"},{"name":"database__connection__database","value":"snafu"},{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:09.1752974","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:09.1752974"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.8.84","20.237.8.123","20.237.8.95"],"latestRevisionName":"foo--bc7um20","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"secrets":[{"name":"redis-secret"}],"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","env":[{"name":"database__client","value":"mysql"},{"name":"database__connection__host","value":"db"},{"name":"database__connection__user","value":"root"},{"name":"database__connection__password","value":"example"},{"name":"database__connection__database","value":"snafu"},{"name":"redis-secret","secretRef":"redis-secret"}],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets_and_existing_environment_conflict.yaml b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_secrets_and_existing_environment_conflict.yaml similarity index 95% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets_and_existing_environment_conflict.yaml rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_secrets_and_existing_environment_conflict.yaml index b5de7de7d8e..c0e22ce006c 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_secrets_and_existing_environment_conflict.yaml +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_secrets_and_existing_environment_conflict.yaml @@ -57,10 +57,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-compose000002'' under resource group ''cli_test_containerapp_preview000001'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: @@ -578,7 +578,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -592,8 +592,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 18:45:21 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 18:45:21 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -637,7 +637,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -651,8 +651,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 18:45:21 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 18:45:22 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -700,7 +700,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003/sharedKeys?api-version=2020-08-01 response: body: string: "{\r\n \"primarySharedKey\": \"cuRBTFzw6IqlW3uVpHhIwtBAoCA+4O+YkvYDicpbolTFHFfapdpl5whI15fE9LGEwM0oZC7+7+9mLDcgMSkJyw==\",\r\n @@ -764,10 +764,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -816,10 +816,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -866,10 +866,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -916,10 +916,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -966,10 +966,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1016,10 +1016,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1066,10 +1066,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1116,10 +1116,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1166,10 +1166,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1216,10 +1216,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1266,10 +1266,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1316,10 +1316,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1366,10 +1366,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1416,10 +1416,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1466,10 +1466,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1516,10 +1516,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1566,10 +1566,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1616,10 +1616,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1666,10 +1666,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1716,10 +1716,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1766,10 +1766,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Waiting","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1816,10 +1816,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Succeeded","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Succeeded","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1928,10 +1928,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Succeeded","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:45:53.0345813","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:45:53.0345813"},"properties":{"provisioningState":"Succeeded","defaultDomain":"livelymushroom-94bfb5af.eastus.azurecontainerapps.io","staticIp":"20.120.76.36","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"7373acfc-3118-47e2-b0e4-5c3274950f16"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_transport_arg.yaml b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_transport_arg.yaml similarity index 96% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_transport_arg.yaml rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_transport_arg.yaml index cb512e1eee5..6ed00fd870d 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_create_with_transport_arg.yaml +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_create_with_transport_arg.yaml @@ -59,10 +59,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-compose000002'' under resource group ''cli_test_containerapp_preview000001'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: @@ -586,7 +586,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -600,8 +600,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 18:46:40 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 18:46:40 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -646,7 +646,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -660,8 +660,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 18:46:40 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 18:46:41 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -710,7 +710,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003/sharedKeys?api-version=2020-08-01 response: body: string: "{\r\n \"primarySharedKey\": \"otWbHEFVeYsZnzucmsgXGS9awwwSLpSY1fUsjWtH7egSJfQRSJhGhxvZywjm5f6mLAKFMi8YWdMrauJ0zVrTOQ==\",\r\n @@ -775,10 +775,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -828,10 +828,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -879,10 +879,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -930,10 +930,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -981,10 +981,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1032,10 +1032,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1083,10 +1083,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1134,10 +1134,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1185,10 +1185,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1236,10 +1236,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1287,10 +1287,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1338,10 +1338,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1389,10 +1389,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1440,10 +1440,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1491,10 +1491,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1542,10 +1542,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1593,10 +1593,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1644,10 +1644,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1695,10 +1695,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1746,10 +1746,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1797,10 +1797,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Succeeded","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Succeeded","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1911,10 +1911,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Succeeded","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:11.8429256","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:11.8429256"},"properties":{"provisioningState":"Succeeded","defaultDomain":"ambitiousflower-489d882a.eastus.azurecontainerapps.io","staticIp":"20.231.239.225","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"8dc927f8-4bfe-4dee-b908-f59f6b285fd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2010,7 +2010,7 @@ interactions: message: OK - request: body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": - null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002", "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": {"fqdn": null, "external": true, "targetPort": "80", "transport": "http2", "traffic": null, "customDomains": null}, "dapr": null, "registries": null}, "template": @@ -2040,7 +2040,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:53.9534491Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:53.9534491Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.231.236.172","20.231.236.190","20.231.236.203"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ambitiousflower-489d882a.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Http2","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:53.9534491Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:53.9534491Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.231.236.172","20.231.236.190","20.231.236.203"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ambitiousflower-489d882a.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Http2","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2094,7 +2094,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:53.9534491","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:53.9534491"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.231.236.172","20.231.236.190","20.231.236.203"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ambitiousflower-489d882a.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Http2","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:53.9534491","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:53.9534491"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.231.236.172","20.231.236.190","20.231.236.203"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ambitiousflower-489d882a.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Http2","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2146,7 +2146,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:53.9534491","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:53.9534491"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.231.236.172","20.231.236.190","20.231.236.203"],"latestRevisionName":"foo--uwqdne5","latestRevisionFqdn":"foo--uwqdne5.ambitiousflower-489d882a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ambitiousflower-489d882a.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Http2","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:53.9534491","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:53.9534491"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.231.236.172","20.231.236.190","20.231.236.203"],"latestRevisionName":"foo--uwqdne5","latestRevisionFqdn":"foo--uwqdne5.ambitiousflower-489d882a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ambitiousflower-489d882a.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Http2","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2198,7 +2198,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:53.9534491","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:53.9534491"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.231.236.172","20.231.236.190","20.231.236.203"],"latestRevisionName":"foo--uwqdne5","latestRevisionFqdn":"foo--uwqdne5.ambitiousflower-489d882a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ambitiousflower-489d882a.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Http2","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:53.9534491","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:53.9534491"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.231.236.172","20.231.236.190","20.231.236.203"],"latestRevisionName":"foo--uwqdne5","latestRevisionFqdn":"foo--uwqdne5.ambitiousflower-489d882a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ambitiousflower-489d882a.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Http2","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2250,7 +2250,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:53.9534491","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:53.9534491"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.231.236.172","20.231.236.190","20.231.236.203"],"latestRevisionName":"foo--uwqdne5","latestRevisionFqdn":"foo--uwqdne5.ambitiousflower-489d882a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ambitiousflower-489d882a.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Http2","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T18:47:53.9534491","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T18:47:53.9534491"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.231.236.172","20.231.236.190","20.231.236.203"],"latestRevisionName":"foo--uwqdne5","latestRevisionFqdn":"foo--uwqdne5.ambitiousflower-489d882a.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.ambitiousflower-489d882a.eastus.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Http2","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_command_list.yaml b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_with_command_list.yaml similarity index 96% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_command_list.yaml rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_with_command_list.yaml index fc6b75fed51..f0d1e99b9cd 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_command_list.yaml +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_with_command_list.yaml @@ -57,10 +57,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-compose000002'' under resource group ''cli_test_containerapp_preview000001'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: @@ -578,7 +578,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -592,8 +592,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:43:24 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 16:43:24 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -637,7 +637,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -651,8 +651,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:43:24 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 16:43:26 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -700,7 +700,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003/sharedKeys?api-version=2020-08-01 response: body: string: "{\r\n \"primarySharedKey\": \"sS3LDU4kmVQD0Zd4dQkgySTmKTD9exjFmNC5nqbP4oPu7w8gW66hfabGPqNNlTJh7gTs9zYvU2Xk2Fkx8FN1Yw==\",\r\n @@ -764,10 +764,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -816,10 +816,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -866,10 +866,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -916,10 +916,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -966,10 +966,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1016,10 +1016,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1066,10 +1066,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1116,10 +1116,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1166,10 +1166,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1216,10 +1216,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1266,10 +1266,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1316,10 +1316,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1366,10 +1366,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1416,10 +1416,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1466,10 +1466,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1516,10 +1516,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1566,10 +1566,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1616,10 +1616,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1666,10 +1666,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Waiting","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1716,10 +1716,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Succeeded","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Succeeded","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1828,10 +1828,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Succeeded","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:43:56.1019495","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:43:56.1019495"},"properties":{"provisioningState":"Succeeded","defaultDomain":"yellowflower-2a33ea02.eastus.azurecontainerapps.io","staticIp":"52.226.194.49","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"067a596a-522e-4992-b2f3-2daa5b5e81c6"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1926,7 +1926,7 @@ interactions: message: OK - request: body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": - null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002", "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": {"fqdn": null, "external": false, "targetPort": 5000, "transport": "auto", "traffic": null, "customDomains": null}, "dapr": null, "registries": null}, "template": @@ -1956,7 +1956,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:44:35.8263768Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:44:35.8263768Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.241","52.226.193.234","52.226.193.246"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:44:35.8263768Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:44:35.8263768Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["52.226.193.241","52.226.193.234","52.226.193.246"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2010,7 +2010,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:44:35.8263768","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:44:35.8263768"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.241","52.226.193.234","52.226.193.246"],"latestRevisionName":"foo--85wle4i","latestRevisionFqdn":"foo--85wle4i.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:44:35.8263768","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:44:35.8263768"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["52.226.193.241","52.226.193.234","52.226.193.246"],"latestRevisionName":"foo--85wle4i","latestRevisionFqdn":"foo--85wle4i.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2062,7 +2062,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:44:35.8263768","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:44:35.8263768"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.241","52.226.193.234","52.226.193.246"],"latestRevisionName":"foo--85wle4i","latestRevisionFqdn":"foo--85wle4i.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:44:35.8263768","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:44:35.8263768"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["52.226.193.241","52.226.193.234","52.226.193.246"],"latestRevisionName":"foo--85wle4i","latestRevisionFqdn":"foo--85wle4i.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2114,7 +2114,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:44:35.8263768","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:44:35.8263768"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.241","52.226.193.234","52.226.193.246"],"latestRevisionName":"foo--85wle4i","latestRevisionFqdn":"foo--85wle4i.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:44:35.8263768","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:44:35.8263768"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["52.226.193.241","52.226.193.234","52.226.193.246"],"latestRevisionName":"foo--85wle4i","latestRevisionFqdn":"foo--85wle4i.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2166,7 +2166,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:44:35.8263768","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:44:35.8263768"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.241","52.226.193.234","52.226.193.246"],"latestRevisionName":"foo--85wle4i","latestRevisionFqdn":"foo--85wle4i.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:44:35.8263768","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:44:35.8263768"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["52.226.193.241","52.226.193.234","52.226.193.246"],"latestRevisionName":"foo--85wle4i","latestRevisionFqdn":"foo--85wle4i.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2218,7 +2218,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:44:35.8263768","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:44:35.8263768"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.241","52.226.193.234","52.226.193.246"],"latestRevisionName":"foo--85wle4i","latestRevisionFqdn":"foo--85wle4i.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:44:35.8263768","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:44:35.8263768"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["52.226.193.241","52.226.193.234","52.226.193.246"],"latestRevisionName":"foo--85wle4i","latestRevisionFqdn":"foo--85wle4i.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2270,7 +2270,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:44:35.8263768","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:44:35.8263768"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.241","52.226.193.234","52.226.193.246"],"latestRevisionName":"foo--85wle4i","latestRevisionFqdn":"foo--85wle4i.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:44:35.8263768","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:44:35.8263768"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["52.226.193.241","52.226.193.234","52.226.193.246"],"latestRevisionName":"foo--85wle4i","latestRevisionFqdn":"foo--85wle4i.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2322,7 +2322,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:44:35.8263768","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:44:35.8263768"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["52.226.193.241","52.226.193.234","52.226.193.246"],"latestRevisionName":"foo--85wle4i","latestRevisionFqdn":"foo--85wle4i.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:44:35.8263768","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:44:35.8263768"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["52.226.193.241","52.226.193.234","52.226.193.246"],"latestRevisionName":"foo--85wle4i","latestRevisionFqdn":"foo--85wle4i.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.yellowflower-2a33ea02.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_command_list_and_entrypoint.yaml b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_with_command_list_and_entrypoint.yaml similarity index 96% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_command_list_and_entrypoint.yaml rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_with_command_list_and_entrypoint.yaml index dc8f7bef3e6..fba7950fccc 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_command_list_and_entrypoint.yaml +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_with_command_list_and_entrypoint.yaml @@ -57,10 +57,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-compose000002'' under resource group ''cli_test_containerapp_preview000001'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: @@ -578,7 +578,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -592,8 +592,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:44:54 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 16:44:54 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -637,7 +637,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -651,8 +651,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:44:54 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 16:44:56 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -700,7 +700,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003/sharedKeys?api-version=2020-08-01 response: body: string: "{\r\n \"primarySharedKey\": \"RzTD4Q2oONC3Mhe/ysN6Gu1B0iC9TD2e8aYkYyHhvcEAYkXycIzmj6buuFUHuxSWC+TOaG45jZM8YlJl1eim4A==\",\r\n @@ -764,10 +764,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -816,10 +816,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -866,10 +866,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -916,10 +916,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -966,10 +966,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1016,10 +1016,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1066,10 +1066,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1116,10 +1116,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1166,10 +1166,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1216,10 +1216,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1266,10 +1266,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1316,10 +1316,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1366,10 +1366,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1416,10 +1416,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1466,10 +1466,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1516,10 +1516,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1566,10 +1566,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1616,10 +1616,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1666,10 +1666,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1716,10 +1716,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1766,10 +1766,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Waiting","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1816,10 +1816,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Succeeded","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Succeeded","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1928,10 +1928,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Succeeded","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:45:26.0123483","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:45:26.0123483"},"properties":{"provisioningState":"Succeeded","defaultDomain":"proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","staticIp":"20.237.24.11","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"373eb1c6-3e16-4da0-a6c2-d02bb9250a17"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -2026,7 +2026,7 @@ interactions: message: OK - request: body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": - null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002", "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": {"fqdn": null, "external": false, "targetPort": 5000, "transport": "auto", "traffic": null, "customDomains": null}, "dapr": null, "registries": null}, "template": @@ -2056,7 +2056,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2110,7 +2110,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2162,7 +2162,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2214,7 +2214,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2266,7 +2266,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2318,7 +2318,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2370,7 +2370,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2422,7 +2422,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2474,7 +2474,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2526,7 +2526,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2578,7 +2578,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2630,7 +2630,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2682,7 +2682,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2734,7 +2734,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2786,7 +2786,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2838,7 +2838,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2890,7 +2890,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2942,7 +2942,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2994,7 +2994,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -3046,7 +3046,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:46:09.4798958","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:46:09.4798958"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.237.27.29","20.237.27.39","20.237.27.121"],"latestRevisionName":"foo--cmijgl6","latestRevisionFqdn":"foo--cmijgl6.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.proudmushroom-b3ad92ab.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["/code/entrypoint.sh"],"args":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_command_string.yaml b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_with_command_string.yaml similarity index 96% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_command_string.yaml rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_with_command_string.yaml index 9570678f9dc..fc688ae896d 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_compose_with_command_string.yaml +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/recordings/test_containerapp_compose_with_command_string.yaml @@ -57,10 +57,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-preview000002'' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.App/managedEnvironments/containerapp-compose000002'' under resource group ''cli_test_containerapp_preview000001'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: @@ -578,7 +578,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -592,8 +592,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:46:57 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 16:46:57 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -637,7 +637,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003?api-version=2021-12-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003?api-version=2021-12-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": @@ -651,8 +651,8 @@ interactions: \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": \"Fri, 13 May 2022 16:46:57 GMT\",\r\n \ \"modifiedDate\": \"Fri, 13 May 2022 16:46:58 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-preview000003\",\r\n - \ \"name\": \"containerapp-preview000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/microsoft.operationalinsights/workspaces/containerapp-compose000003\",\r\n + \ \"name\": \"containerapp-compose000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: @@ -700,7 +700,7 @@ interactions: User-Agent: - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-preview000003/sharedKeys?api-version=2020-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_containerapp_preview000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-compose000003/sharedKeys?api-version=2020-08-01 response: body: string: "{\r\n \"primarySharedKey\": \"9zUoAfrRVEHfEQG9H/iP4NmhdUFzlGknh82DD0JwgomHb0nQ3wuRbTB+Hmve8J4Wnd+WklHpRqXRI81RgIGT+A==\",\r\n @@ -764,10 +764,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -816,10 +816,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -866,10 +866,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -916,10 +916,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -966,10 +966,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1016,10 +1016,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1066,10 +1066,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1116,10 +1116,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1166,10 +1166,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1216,10 +1216,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1266,10 +1266,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1316,10 +1316,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1366,10 +1366,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1416,10 +1416,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1466,10 +1466,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1516,10 +1516,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1566,10 +1566,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1616,10 +1616,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1666,10 +1666,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1716,10 +1716,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Waiting","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1766,10 +1766,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Succeeded","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Succeeded","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1878,10 +1878,10 @@ interactions: User-Agent: - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) AZURECLI/2.36.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","name":"containerapp-preview000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Succeeded","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","name":"containerapp-compose000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:47:28.1044328","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:47:28.1044328"},"properties":{"provisioningState":"Succeeded","defaultDomain":"agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","staticIp":"20.232.58.221","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"07a13fb3-7e3b-4e3b-8f98-b3f770d7b2ee"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01 @@ -1976,7 +1976,7 @@ interactions: message: OK - request: body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": - null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002", + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002", "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": {"fqdn": null, "external": false, "targetPort": 5000, "transport": "auto", "traffic": null, "customDomains": null}, "dapr": null, "registries": null}, "template": @@ -2006,7 +2006,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856Z","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionFqdn":"","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2060,7 +2060,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2112,7 +2112,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2164,7 +2164,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2216,7 +2216,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2268,7 +2268,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2320,7 +2320,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2372,7 +2372,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2424,7 +2424,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2476,7 +2476,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2528,7 +2528,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2580,7 +2580,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2632,7 +2632,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: @@ -2684,7 +2684,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/containerApps/foo","name":"foo","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-preview000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo + US","systemData":{"createdBy":"stmuraws@microsoft.com","createdByType":"User","createdAt":"2022-05-13T16:48:09.7111856","lastModifiedBy":"stmuraws@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-13T16:48:09.7111856"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_containerapp_preview000001/providers/Microsoft.App/managedEnvironments/containerapp-compose000002","outboundIpAddresses":["20.232.59.131","20.232.59.128","20.232.59.122"],"latestRevisionName":"foo--pq4i753","latestRevisionFqdn":"foo--pq4i753.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","customDomainVerificationId":"5CCF15F9FDEC65710719B2C9BD76850ADA40759DB92FD8C567B2052845A60DA7","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"foo.internal.agreeablepebble-b5bcdc1c.eastus.azurecontainerapps.io","external":false,"targetPort":5000,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/aks-helloworld:v1","name":"foo","command":["echo \"hello world\""],"resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_basic.py b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_basic.py similarity index 96% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_basic.py rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_basic.py index 662f680b068..63615f4bed8 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_basic.py +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_basic.py @@ -27,8 +27,8 @@ def test_containerapp_compose_create_basic_no_existing_resources(self, resource_ docker_compose_file.close() self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'environment': self.create_random_name(prefix='containerapp-compose', length=24), + 'workspace': self.create_random_name(prefix='containerapp-compose', length=24), 'compose': compose_file_name, }) diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_command.py b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_command.py similarity index 96% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_command.py rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_command.py index edc98a28afa..4a913d69e35 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_command.py +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_command.py @@ -29,8 +29,8 @@ def test_containerapp_compose_with_command_string(self, resource_group): docker_compose_file.close() self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'environment': self.create_random_name(prefix='containerapp-compose', length=24), + 'workspace': self.create_random_name(prefix='containerapp-compose', length=24), 'compose': compose_file_name, }) @@ -62,8 +62,8 @@ def test_containerapp_compose_with_command_list(self, resource_group): docker_compose_file.close() self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'environment': self.create_random_name(prefix='containerapp-compose', length=24), + 'workspace': self.create_random_name(prefix='containerapp-compose', length=24), 'compose': compose_file_name, }) @@ -96,8 +96,8 @@ def test_containerapp_compose_with_command_list_and_entrypoint(self, resource_gr docker_compose_file.close() self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'environment': self.create_random_name(prefix='containerapp-compose', length=24), + 'workspace': self.create_random_name(prefix='containerapp-compose', length=24), 'compose': compose_file_name, }) diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_environment.py b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_environment.py similarity index 97% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_environment.py rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_environment.py index 8b5bf6f44ca..569c8348821 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_environment.py +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_environment.py @@ -30,8 +30,8 @@ def test_containerapp_compose_create_with_environment(self, resource_group): docker_compose_file.close() self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'environment': self.create_random_name(prefix='containerapp-compose', length=24), + 'workspace': self.create_random_name(prefix='containerapp-compose', length=24), 'compose': compose_file_name, }) @@ -69,8 +69,8 @@ def test_containerapp_compose_create_with_environment_prompt(self, resource_grou docker_compose_file.close() self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'environment': self.create_random_name(prefix='containerapp-compose', length=24), + 'workspace': self.create_random_name(prefix='containerapp-compose', length=24), 'compose': compose_file_name, }) diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_ingress.py b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_ingress.py similarity index 96% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_ingress.py rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_ingress.py index 8b13f86e3d9..28e23e0ac5a 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_ingress.py +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_ingress.py @@ -27,8 +27,8 @@ def test_containerapp_compose_create_with_ingress_external(self, resource_group) docker_compose_file.close() self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'environment': self.create_random_name(prefix='containerapp-compose', length=24), + 'workspace': self.create_random_name(prefix='containerapp-compose', length=24), 'compose': compose_file_name, }) @@ -62,8 +62,8 @@ def test_containerapp_compose_create_with_ingress_internal(self, resource_group) docker_compose_file.close() self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'environment': self.create_random_name(prefix='containerapp-compose', length=24), + 'workspace': self.create_random_name(prefix='containerapp-compose', length=24), 'compose': compose_file_name, }) @@ -98,8 +98,8 @@ def test_containerapp_compose_create_with_ingress_both(self, resource_group): docker_compose_file.close() self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'environment': self.create_random_name(prefix='containerapp-compose', length=24), + 'workspace': self.create_random_name(prefix='containerapp-compose', length=24), 'compose': compose_file_name, }) @@ -139,8 +139,8 @@ def test_containerapp_compose_create_with_ingress_prompt(self, resource_group): docker_compose_file.close() self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'environment': self.create_random_name(prefix='containerapp-compose', length=24), + 'workspace': self.create_random_name(prefix='containerapp-compose', length=24), 'compose': compose_file_name, }) diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_registries.py b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_registries.py similarity index 97% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_registries.py rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_registries.py index 328e55c9e69..2fe7948b14c 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_registries.py +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_registries.py @@ -27,8 +27,8 @@ def test_containerapp_compose_create_with_registry_all_args(self, resource_group docker_compose_file.close() self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'environment': self.create_random_name(prefix='containerapp-compose', length=24), + 'workspace': self.create_random_name(prefix='containerapp-compose', length=24), 'compose': compose_file_name, 'registry_server': "foobar.azurecr.io", 'registry_user': "foobar", @@ -69,8 +69,8 @@ def test_containerapp_compose_create_with_registry_server_arg_only(self, resourc docker_compose_file.close() self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'environment': self.create_random_name(prefix='containerapp-compose', length=24), + 'workspace': self.create_random_name(prefix='containerapp-compose', length=24), 'compose': compose_file_name, 'registry_server': "foobar.azurecr.io", }) diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_resources.py b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_resources.py similarity index 96% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_resources.py rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_resources.py index 28696541dc9..c9e99de17fa 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_resources.py +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_resources.py @@ -29,8 +29,8 @@ def test_containerapp_compose_create_with_resources_from_service_cpus(self, reso docker_compose_file.close() self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'environment': self.create_random_name(prefix='containerapp-compose', length=24), + 'workspace': self.create_random_name(prefix='containerapp-compose', length=24), 'compose': compose_file_name, }) @@ -65,8 +65,8 @@ def test_containerapp_compose_create_with_resources_from_deploy_cpu(self, resour docker_compose_file.close() self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'environment': self.create_random_name(prefix='containerapp-compose', length=24), + 'workspace': self.create_random_name(prefix='containerapp-compose', length=24), 'compose': compose_file_name, }) @@ -102,8 +102,8 @@ def test_containerapp_compose_create_with_resources_from_both_cpus_and_deploy_cp docker_compose_file.close() self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'environment': self.create_random_name(prefix='containerapp-compose', length=24), + 'workspace': self.create_random_name(prefix='containerapp-compose', length=24), 'compose': compose_file_name, }) diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scale.py b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_scale.py similarity index 96% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scale.py rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_scale.py index 2bdd53d5409..654a425c815 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scale.py +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_scale.py @@ -31,8 +31,8 @@ def test_containerapp_compose_create_with_replicas_global_scale(self, resource_g docker_compose_file.close() self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'environment': self.create_random_name(prefix='containerapp-compose', length=24), + 'workspace': self.create_random_name(prefix='containerapp-compose', length=24), 'compose': compose_file_name, }) @@ -67,8 +67,8 @@ def test_containerapp_compose_create_with_replicas_replicated_mode(self, resourc docker_compose_file.close() self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'environment': self.create_random_name(prefix='containerapp-compose', length=24), + 'workspace': self.create_random_name(prefix='containerapp-compose', length=24), 'compose': compose_file_name, }) diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_secrets.py b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_secrets.py similarity index 97% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_secrets.py rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_secrets.py index 82ddf45b269..15b05f3dc1a 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_secrets.py +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_secrets.py @@ -42,8 +42,8 @@ def test_containerapp_compose_create_with_secrets(self, resource_group): docker_secrets_file.close() self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'environment': self.create_random_name(prefix='containerapp-compose', length=24), + 'workspace': self.create_random_name(prefix='containerapp-compose', length=24), 'compose': compose_file_name, }) @@ -100,8 +100,8 @@ def test_containerapp_compose_create_with_secrets_and_existing_environment(self, docker_secrets_file.close() self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'environment': self.create_random_name(prefix='containerapp-compose', length=24), + 'workspace': self.create_random_name(prefix='containerapp-compose', length=24), 'compose': compose_file_name, }) @@ -146,8 +146,8 @@ def test_containerapp_compose_create_with_secrets_and_existing_environment_confl docker_secrets_file.close() self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'environment': self.create_random_name(prefix='containerapp-compose', length=24), + 'workspace': self.create_random_name(prefix='containerapp-compose', length=24), 'compose': compose_file_name, }) diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_transport_overrides.py b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_transport_overrides.py similarity index 97% rename from src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_transport_overrides.py rename to src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_transport_overrides.py index 3b28d1f5b10..d002592f0f1 100644 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_transport_overrides.py +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_transport_overrides.py @@ -27,8 +27,8 @@ def test_containerapp_compose_create_with_transport_arg(self, resource_group): docker_compose_file.close() self.kwargs.update({ - 'environment': self.create_random_name(prefix='containerapp-preview', length=24), - 'workspace': self.create_random_name(prefix='containerapp-preview', length=24), + 'environment': self.create_random_name(prefix='containerapp-compose', length=24), + 'workspace': self.create_random_name(prefix='containerapp-compose', length=24), 'compose': compose_file_name, 'transport': "foo=http2 bar=auto", 'second_transport': "baz=http", diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/__init__.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/__init__.py similarity index 100% rename from src/containerapp-preview/azext_containerapp_preview/vendored_sdks/__init__.py rename to src/containerapp-compose/azext_containerapp_compose/vendored_sdks/__init__.py diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/__init__.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/__init__.py similarity index 100% rename from src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/__init__.py rename to src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/__init__.py diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_acr_run_polling.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_acr_run_polling.py similarity index 100% rename from src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_acr_run_polling.py rename to src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_acr_run_polling.py diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_archive_utils.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_archive_utils.py similarity index 100% rename from src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_archive_utils.py rename to src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_archive_utils.py diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_client_factory.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_client_factory.py similarity index 100% rename from src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_client_factory.py rename to src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_client_factory.py diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_clients.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_clients.py similarity index 100% rename from src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_clients.py rename to src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_clients.py diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_constants.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_constants.py similarity index 100% rename from src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_constants.py rename to src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_constants.py diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_github_oauth.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_github_oauth.py similarity index 100% rename from src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_github_oauth.py rename to src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_github_oauth.py diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_help.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_help.py similarity index 100% rename from src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_help.py rename to src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_help.py diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_models.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_models.py similarity index 100% rename from src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_models.py rename to src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_models.py diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_params.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_params.py similarity index 100% rename from src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_params.py rename to src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_params.py diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_sdk_models.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_sdk_models.py similarity index 100% rename from src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_sdk_models.py rename to src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_sdk_models.py diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_ssh_utils.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_ssh_utils.py similarity index 100% rename from src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_ssh_utils.py rename to src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_ssh_utils.py diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_up_utils.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_up_utils.py similarity index 100% rename from src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_up_utils.py rename to src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_up_utils.py diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_utils.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_utils.py similarity index 100% rename from src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_utils.py rename to src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_utils.py diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_validators.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_validators.py similarity index 100% rename from src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/_validators.py rename to src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_validators.py diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/azext_metadata.json b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/azext_metadata.json similarity index 100% rename from src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/azext_metadata.json rename to src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/azext_metadata.json diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/commands.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/commands.py similarity index 100% rename from src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/commands.py rename to src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/commands.py diff --git a/src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/custom.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/custom.py similarity index 100% rename from src/containerapp-preview/azext_containerapp_preview/vendored_sdks/azext_containerapp/custom.py rename to src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/custom.py diff --git a/src/containerapp-preview/setup.cfg b/src/containerapp-compose/setup.cfg similarity index 100% rename from src/containerapp-preview/setup.cfg rename to src/containerapp-compose/setup.cfg diff --git a/src/containerapp-preview/setup.py b/src/containerapp-compose/setup.py similarity index 86% rename from src/containerapp-preview/setup.py rename to src/containerapp-compose/setup.py index 2cf772e2a66..b67944daa5a 100644 --- a/src/containerapp-preview/setup.py +++ b/src/containerapp-compose/setup.py @@ -32,8 +32,7 @@ 'License :: OSI Approved :: MIT License', ] -# TODO: Add any additional SDK dependencies here -DEPENDENCIES = ['pycomposefile'] +DEPENDENCIES = ['pycomposefile>=0.0.22'] with open('README.rst', 'r', encoding='utf-8') as f: README = f.read() @@ -41,18 +40,18 @@ HISTORY = f.read() setup( - name='containerapp-preview', + name='containerapp-compose', version=VERSION, - description='Microsoft Azure Command-Line Tools Containerapps Extension', + description='Microsoft Azure Command-Line Tools Container Apps Preview Extension', # TODO: Update author and email, if applicable author='Microsoft Corporation', author_email='azpycli@microsoft.com', # TODO: change to your extension source code repo if the code will not be put in azure-cli-extensions repo - url='https://github.com/azure/azure-cli-extensions/tree/main/src/containerapp-preview', + url='https://github.com/azure/azure-cli-extensions/tree/main/src/containerapp-compose', long_description=README + '\n\n' + HISTORY, license='MIT', classifiers=CLASSIFIERS, packages=find_packages(), install_requires=DEPENDENCIES, - package_data={'azext_containerapp_preview': ['azext_metadata.json']}, + package_data={'azext_containerapp_compose': ['azext_metadata.json']}, ) diff --git a/src/containerapp-preview/README.md b/src/containerapp-preview/README.md deleted file mode 100644 index 4e78ccb8cf3..00000000000 --- a/src/containerapp-preview/README.md +++ /dev/null @@ -1,92 +0,0 @@ - -# Extensions for Azure CLI 2.0 - -This repository serves two purposes and they are independent: - -1. A source code directory, `src`, to host your extension source code. -2. An index.json where you can add your extension and make it available through Azure CLI. - -For documentation on authoring an extension, see [Extension Documentation](https://github.com/Azure/azure-cli/tree/master/doc/extensions) - -## About index.json - -- The index is at `src/index.json`. -- Modify the index by creating a PR. -- All extensions added to the index *are public* and will be available to *all* CLI users. -- The index is synced to `https://aka.ms/azure-cli-extension-index-v1` every few minutes. -- Your extension source code does not have to be in this repository to be available in the index. -- If you don't want your extension to be part of the index, you can still host it externally and request users to install with `az extension add --source https://contoso.com/mywheel.whl`. - * Users will not be able to add your extension by name, it will not be listed in the `az extension list-available` command and to update to a new version of your extension, the user has to first remove the currently installed extension and then add the new version. - -Add your extension to the index to make it available in these CLI commands: -- `az extension add --name NAME` - Allows users to add an extension by name -- `az extension list-available` - Allows users to list the available extensions in the index -- `az extension update --name NAME` - Allows users to update an extension - -## About source code in this repository - -- Extension source code goes into the `src` directory. -- You can place your source code in this repository by creating a PR. -- Once CI is green and it has been approved, the PR can be merged. -- SDKs generated from [AutoRest](https://github.com/Azure/autorest) often do not pass CI static-checking. If they are vendored inside the extension, exclude them from static checking by placing them in the folder: `src//azext_*/vendored_sdks`. -- Ensure that you include an appropriate owner for your extension in `.github/CODEOWNERS`. -- Your extension artifact (i.e. `.whl`) will not live in this repository. You can publish your extension to PyPI or somewhere else such as Azure Storage. -- If you want your extension to appear in the index.json, modify the index. - -## About extension publishing - -There is a pipeline to automatically build, upload and publish extension wheels. - -Once your PR is merged into master branch, a new PR will be created to update `src/index.json` automatically. - -The precondition is to put your code inside this repo and upgrade the version in the PR but not to modify `src/index.json`. - -If you want to host the source code in your dedicated repo, you have to upload the WHL file and update the `src/index.json` manually. - -For detail, please visit [Publish section in Azure CLI Extension Authoring](https://github.com/Azure/azure-cli/blob/dev/doc/extensions/authoring.md#publish). - -## FAQ - -### How to generate sha256digest for an index.json entry? - -If you use `azdev extension update-index` the command will calculate the SHA256 digest for you. For more information visit https://github.com/Azure/azure-cli-dev-tools. - -As a fallback: - -MacOS -``` -shasum -a 256 path_to_whl.whl -``` - -Windows / PowerShell -``` -Get-FileHash path_to_whl.whl -Algorithm SHA256 -``` - -Note: Hash should be in lowercase in index.json otherwise CI will fail. - -### How to fill in the metadata for an index.json entry? - -The `azdev extension update-index` command can be used to simplify the process of updating the index file. Run `azdev extension update-index ` where URL is the fully-qualified URL to your published extension WHL. This will gather the appropriate metadata and add an entry for your extension to the index. For more information visit https://github.com/Azure/azure-cli-dev-tools. - -As a fallback: - -The metadata needed to be filled is a combination of the contents present in: -- `metadata.json` located in your unzipped extension artifact (`.whl` file) in the `-.dist-info` directory. This metadata is garnered from the `setup.py` folder. -- `azext_metadata.json` (if it exists) under your extension. - -Note that CI will fail if this metadata does not match the contents of your published extension. - -# Contributing - -This project welcomes contributions and suggestions. Most contributions require you to agree to a -Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us -the rights to use your contribution. For details, visit https://cla.microsoft.com. - -When you submit a pull request, a CLA-bot will automatically determine whether you need to provide -a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions -provided by the bot. You will only need to do this once across all repos using our CLA. - -This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). -For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or -contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. diff --git a/src/containerapp-preview/README.rst b/src/containerapp-preview/README.rst deleted file mode 100644 index d81f7f268ca..00000000000 --- a/src/containerapp-preview/README.rst +++ /dev/null @@ -1,5 +0,0 @@ -Microsoft Azure CLI 'containerapps' Extension -========================================== - -This package is for the 'containerapps' extension. -i.e. 'az containerapps' \ No newline at end of file From fa182ff939ad0b521e108642d8f6adb72b2f4a05 Mon Sep 17 00:00:00 2001 From: Steven Murawski Date: Wed, 18 May 2022 20:54:40 +0000 Subject: [PATCH 11/17] add logging for unsupported elements --- .../azext_containerapp_compose/custom.py | 94 ++++++++++++++++++- src/containerapp-compose/setup.py | 2 +- 2 files changed, 91 insertions(+), 5 deletions(-) diff --git a/src/containerapp-compose/azext_containerapp_compose/custom.py b/src/containerapp-compose/azext_containerapp_compose/custom.py index 867e5ec075d..68546c30edd 100644 --- a/src/containerapp-compose/azext_containerapp_compose/custom.py +++ b/src/containerapp-compose/azext_containerapp_compose/custom.py @@ -9,19 +9,100 @@ from knack.log import get_logger from knack.util import CLIError -from knack.prompting import prompt -from knack.prompting import prompt_choice_list +from knack.prompting import prompt, prompt_choice_list from pycomposefile import ComposeFile from ._monkey_patch import ( create_containerapp_from_service, - create_containerapps_compose_environment) -from ._monkey_patch import ManagedEnvironmentClient + create_containerapps_compose_environment, + ManagedEnvironmentClient) logger = get_logger(__name__) +def resolve_configuration_element_list(compose_service, unsupported_configuration): + config_list = [] + for configuration_element in unsupported_configuration: + try: + attribute = getattr(compose_service, configuration_element) + except AttributeError: + logger.critical("Failed to resolve %s", configuration_element) + if attribute is not None: + config_list.append(f"{compose_service.compose_path}/{configuration_element}") + return config_list + + +def warn_about_unsupported_build_configuration(compose_service): + if compose_service.build is not None: + message = f"Build configuration for {compose_service.build.compose_path} is not currently supported." + message += " Work is planned to add that capability." + message += " See https://aka.ms/containerapp/compose/build_support for more information or to add feedback." + logger.warning(message) + + +def warn_about_unsupported_runtime_host_configuration(compose_service): + unsupported_configuration = ["blkio_config", "cpu_count", "cpu_percent", "cpu_shares", "cpu_period", + "cpu_quota", "cpu_rt_runtime", "cpu_rt_period", "cpuset", "cap_add", + "cap_drop", "cgroup_parent", "configs", "credential_spec", + "device_cgroup_rules", "devices", "dns", "dns_opt", "dns_search", + "domainname", "external_links", "extra_hosts", "group_add", "healthcheck", + "hostname", "init", "ipc", "isolation", "links", "logging", "mem_limit", + "mem_swappiness", "memswap_limit", "oom_kill_disable", "oom_score_adj", + "pid", "pids_limit", "privileged", "profiles", "pull_policy", "read_only", + "restart", "runtime", "security_opt", "shm_size", "stdin_open", + "stop_grace_period", "stop_signal", "storage_opt", "sysctls", "tmpfs", + "tty", "ulimits", "user", "working_dir"] + config_list = resolve_configuration_element_list(compose_service, unsupported_configuration) + message = "These container and host configuration elements from the docker-compose file are not supported" + message += " in Azure Container Apps. For more information about supported configuration," + message += " please see https://aka.ms/containerapp/compose/configuration" + if len(config_list) >= 1: + logger.warning(message) + for item in config_list: + logger.warning(" %s", item) + + +def warn_about_unsupported_volumes(compose_service): + unsupported_configuration = ["volumes", "volumes_from"] + config_list = resolve_configuration_element_list(compose_service, unsupported_configuration) + message = "These volume mount elements from the docker-compose file are not supported" + message += " in Azure Container Apps. For more information about supported storage configuration," + message += " please see https://aka.ms/containerapp/compose/volumes" + if len(config_list) >= 1: + logger.warning(message) + for item in config_list: + logger.warning(" %s", item) + + +def warn_about_unsupported_network(compose_service): + unsupported_configuration = ["networks", "network_mode", "mac_address"] + config_list = resolve_configuration_element_list(compose_service, unsupported_configuration) + message = "These network configuration settings from the docker-compose file are not supported" + message += " in Azure Container Apps. For more information about supported networking configuration," + message += " please see https://aka.ms/containerapp/compose/networking" + if len(config_list) >= 1: + logger.warning(message) + for item in config_list: + logger.warning(" %s", item) + + +def warn_about_unsupported_elements(compose_service): + warn_about_unsupported_build_configuration(compose_service) + warn_about_unsupported_runtime_host_configuration(compose_service) + warn_about_unsupported_volumes(compose_service) + warn_about_unsupported_network(compose_service) + + +def check_supported_platform(platform): + if platform is not None: + platform = platform.split('/') + if len(platform) >= 2: + return platform[0] == 'linux' and platform[1] == 'amd64' + return platform[0] == 'linux' + return True + + def create_containerapps_from_compose(cmd, # pylint: disable=R0914 resource_group_name, managed_env, @@ -58,6 +139,11 @@ def create_containerapps_from_compose(cmd, # pylint: disable=R0914 # pylint: disable=C0201,C0206 for service_name in parsed_compose_file.ordered_services.keys(): service = parsed_compose_file.services[service_name] + if not check_supported_platform(service.platform): + message = "Unsupported platform found. " + message += "Azure Container Apps only supports linux/amd64 container images." + raise CLIError(message) + warn_about_unsupported_elements(service) logger.info( # pylint: disable=W1203 f"Creating the Container Apps instance for {service_name} under {resource_group_name} in {location}.") ingress_type, target_port = resolve_ingress_and_target_port(service) diff --git a/src/containerapp-compose/setup.py b/src/containerapp-compose/setup.py index b67944daa5a..8f863a41cd0 100644 --- a/src/containerapp-compose/setup.py +++ b/src/containerapp-compose/setup.py @@ -32,7 +32,7 @@ 'License :: OSI Approved :: MIT License', ] -DEPENDENCIES = ['pycomposefile>=0.0.22'] +DEPENDENCIES = ['pycomposefile>=0.0.26'] with open('README.rst', 'r', encoding='utf-8') as f: README = f.read() From 275884a90423942c0f8ca2f583c7e2f568df2e06 Mon Sep 17 00:00:00 2001 From: Steven Murawski Date: Wed, 18 May 2022 21:50:57 +0000 Subject: [PATCH 12/17] improve help messages --- .../azext_containerapp_compose/_help.py | 4 ++-- .../azext_containerapp_compose/_params.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/containerapp-compose/azext_containerapp_compose/_help.py b/src/containerapp-compose/azext_containerapp_compose/_help.py index 1045d812d5c..89a6aef68e3 100644 --- a/src/containerapp-compose/azext_containerapp_compose/_help.py +++ b/src/containerapp-compose/azext_containerapp_compose/_help.py @@ -14,10 +14,10 @@ helps['containerapp compose'] = """ type: group - short-summary: Commands to manage Containerappss. + short-summary: Commands to create Azure Container Apps from Compose specifications. """ helps['containerapp compose create'] = """ type: command - short-summary: Create a Containerapps. + short-summary: Create one or more Container Apps in a new or existing Container App Environment from a Compose specification. """ diff --git a/src/containerapp-compose/azext_containerapp_compose/_params.py b/src/containerapp-compose/azext_containerapp_compose/_params.py index 31ca752b560..ce21be28ebe 100644 --- a/src/containerapp-compose/azext_containerapp_compose/_params.py +++ b/src/containerapp-compose/azext_containerapp_compose/_params.py @@ -14,12 +14,12 @@ def load_arguments(self, _): with self.argument_context('containerapp compose') as c: c.argument('tags', tags_type) c.argument('location', get_location_type(self.cli_ctx), validator=get_default_location_from_resource_group) - c.argument('managed_env', options_list=['--environment', '-e'], help="Name of the containerapp's environment.") + c.argument('managed_env', options_list=['--environment', '-e'], help="Name of the Container App's environment.") with self.argument_context('containerapp compose create') as c: - c.argument('compose_file_path', options_list=['--compose-file-path', '-f'], help='Path to a Docker Compose file with the configuration to import to Azure Containerapps.') + c.argument('compose_file_path', options_list=['--compose-file-path', '-f'], help='Path to a Docker Compose file with the configuration to import to Azure Container Apps.') c.argument('registry_server', options_list=['--registry-server'], help='Path to a container registry') c.argument('registry_user', options_list=['--registry-username'], help="Supplied container registry's username") c.argument('registry_pass', options_list=['--registry-password'], help="Supplied container registry's password") c.argument('logs_workspace_name', options_list=['--logs-workspace', '-w'], help=SUPPRESS) - c.argument('transport', options_list=['--transport'], action='append', nargs='+', help="Transport options per containerapp instance (servicename=transportsetting).") + c.argument('transport', options_list=['--transport'], action='append', nargs='+', help="Transport options per Container App instance (servicename=transportsetting).") From 32fa81b361f7137becc1178b561dd7ba4da4cc55 Mon Sep 17 00:00:00 2001 From: Steven Murawski Date: Thu, 19 May 2022 06:43:55 -0500 Subject: [PATCH 13/17] Update src/containerapp-compose/azext_containerapp_compose/_params.py Co-authored-by: Xing Zhou --- .../azext_containerapp_compose/_params.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/containerapp-compose/azext_containerapp_compose/_params.py b/src/containerapp-compose/azext_containerapp_compose/_params.py index ce21be28ebe..e5806091061 100644 --- a/src/containerapp-compose/azext_containerapp_compose/_params.py +++ b/src/containerapp-compose/azext_containerapp_compose/_params.py @@ -18,8 +18,8 @@ def load_arguments(self, _): with self.argument_context('containerapp compose create') as c: c.argument('compose_file_path', options_list=['--compose-file-path', '-f'], help='Path to a Docker Compose file with the configuration to import to Azure Container Apps.') - c.argument('registry_server', options_list=['--registry-server'], help='Path to a container registry') + c.argument('registry_server', help='Path to a container registry') c.argument('registry_user', options_list=['--registry-username'], help="Supplied container registry's username") c.argument('registry_pass', options_list=['--registry-password'], help="Supplied container registry's password") c.argument('logs_workspace_name', options_list=['--logs-workspace', '-w'], help=SUPPRESS) - c.argument('transport', options_list=['--transport'], action='append', nargs='+', help="Transport options per Container App instance (servicename=transportsetting).") + c.argument('transport', action='append', nargs='+', help="Transport options per Container App instance (servicename=transportsetting).") From 7f29b0e93b4ee3613aef82348ecf7c47fa56e275 Mon Sep 17 00:00:00 2001 From: Steven Murawski Date: Thu, 19 May 2022 11:59:25 +0000 Subject: [PATCH 14/17] update to more specific error. Tie supported CLI versions to match containerapp. Use load_yaml_file from containerapp (remove copy/pasted code). --- .../_monkey_patch.py | 4 ++++ .../azext_metadata.json | 3 ++- .../azext_containerapp_compose/custom.py | 19 +++---------------- 3 files changed, 9 insertions(+), 17 deletions(-) diff --git a/src/containerapp-compose/azext_containerapp_compose/_monkey_patch.py b/src/containerapp-compose/azext_containerapp_compose/_monkey_patch.py index 5ed7125388a..a8011dfe5ed 100644 --- a/src/containerapp-compose/azext_containerapp_compose/_monkey_patch.py +++ b/src/containerapp-compose/azext_containerapp_compose/_monkey_patch.py @@ -96,3 +96,7 @@ def create_containerapps_compose_environment(cmd, def create_containerapp_from_service(*args, **kwargs): return custom.create_containerapp(*args, **kwargs) + + +def load_yaml_file(filename): + return custom.load_yaml_file(filename) diff --git a/src/containerapp-compose/azext_containerapp_compose/azext_metadata.json b/src/containerapp-compose/azext_containerapp_compose/azext_metadata.json index 55c81bf3328..22c4cb3ef66 100644 --- a/src/containerapp-compose/azext_containerapp_compose/azext_metadata.json +++ b/src/containerapp-compose/azext_containerapp_compose/azext_metadata.json @@ -1,4 +1,5 @@ { "azext.isPreview": true, - "azext.minCliCoreVersion": "2.0.67" + "azext.minCliCoreVersion": "2.15.0", + "azext.maxCliCoreVersion": "2.36.0" } \ No newline at end of file diff --git a/src/containerapp-compose/azext_containerapp_compose/custom.py b/src/containerapp-compose/azext_containerapp_compose/custom.py index 68546c30edd..f93232388fa 100644 --- a/src/containerapp-compose/azext_containerapp_compose/custom.py +++ b/src/containerapp-compose/azext_containerapp_compose/custom.py @@ -3,18 +3,17 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- -import errno import os -import yaml +from azure.cli.core.azclierror import InvalidArgumentValueError from knack.log import get_logger -from knack.util import CLIError from knack.prompting import prompt, prompt_choice_list from pycomposefile import ComposeFile from ._monkey_patch import ( create_containerapp_from_service, create_containerapps_compose_environment, + load_yaml_file, ManagedEnvironmentClient) @@ -142,7 +141,7 @@ def create_containerapps_from_compose(cmd, # pylint: disable=R0914 if not check_supported_platform(service.platform): message = "Unsupported platform found. " message += "Azure Container Apps only supports linux/amd64 container images." - raise CLIError(message) + raise InvalidArgumentValueError(message) warn_about_unsupported_elements(service) logger.info( # pylint: disable=W1203 f"Creating the Container Apps instance for {service_name} under {resource_group_name} in {location}.") @@ -388,15 +387,3 @@ def resolve_service_startup_command(service): startup_command_array = None startup_args_array = None return (startup_command_array, startup_args_array) - - -def load_yaml_file(file_name): - try: - with open(file_name) as stream: # pylint: disable=W1514 - return yaml.safe_load(stream) - except (IOError, OSError) as ex: - if getattr(ex, 'errno', 0) == errno.ENOENT: - raise CLIError(f"{file_name} does not exist") # pylint: disable=W0707 - raise - except (yaml.parser.ParserError, UnicodeDecodeError) as ex: - raise CLIError(f"Error parsing {file_name} ({str(ex)})") # pylint: disable=W0707 From 23da781ac58c9d72078cd6740e08264d47fe6325 Mon Sep 17 00:00:00 2001 From: Steven Murawski Date: Thu, 19 May 2022 21:24:47 -0500 Subject: [PATCH 15/17] Update azext_metadata.json --- .../azext_containerapp_compose/azext_metadata.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/containerapp-compose/azext_containerapp_compose/azext_metadata.json b/src/containerapp-compose/azext_containerapp_compose/azext_metadata.json index 22c4cb3ef66..cf7b8927a07 100644 --- a/src/containerapp-compose/azext_containerapp_compose/azext_metadata.json +++ b/src/containerapp-compose/azext_containerapp_compose/azext_metadata.json @@ -1,5 +1,4 @@ { "azext.isPreview": true, - "azext.minCliCoreVersion": "2.15.0", - "azext.maxCliCoreVersion": "2.36.0" -} \ No newline at end of file + "azext.minCliCoreVersion": "2.15.0" +} From 404e60fb9b846a7db7ea1e552045b357d31765d1 Mon Sep 17 00:00:00 2001 From: Steven Murawski Date: Tue, 31 May 2022 23:42:38 +0000 Subject: [PATCH 16/17] remove vendored extension and warn to install containerapp extension --- .../_monkey_patch.py | 43 +- .../azext_containerapp_compose/custom.py | 18 +- .../vendored_sdks/__init__.py | 0 .../azext_containerapp/__init__.py | 5 - .../azext_containerapp/_acr_run_polling.py | 112 - .../azext_containerapp/_archive_utils.py | 243 -- .../azext_containerapp/_client_factory.py | 75 - .../azext_containerapp/_clients.py | 902 ----- .../azext_containerapp/_constants.py | 14 - .../azext_containerapp/_github_oauth.py | 138 - .../vendored_sdks/azext_containerapp/_help.py | 716 ---- .../azext_containerapp/_models.py | 240 -- .../azext_containerapp/_params.py | 257 -- .../azext_containerapp/_sdk_models.py | 3396 ----------------- .../azext_containerapp/_ssh_utils.py | 181 - .../azext_containerapp/_up_utils.py | 882 ----- .../azext_containerapp/_utils.py | 1167 ------ .../azext_containerapp/_validators.py | 157 - .../azext_containerapp/azext_metadata.json | 5 - .../azext_containerapp/commands.py | 128 - .../azext_containerapp/custom.py | 2376 ------------ src/containerapp-compose/setup.py | 2 +- 22 files changed, 38 insertions(+), 11019 deletions(-) delete mode 100644 src/containerapp-compose/azext_containerapp_compose/vendored_sdks/__init__.py delete mode 100644 src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/__init__.py delete mode 100644 src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_acr_run_polling.py delete mode 100644 src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_archive_utils.py delete mode 100644 src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_client_factory.py delete mode 100644 src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_clients.py delete mode 100644 src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_constants.py delete mode 100644 src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_github_oauth.py delete mode 100644 src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_help.py delete mode 100644 src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_models.py delete mode 100644 src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_params.py delete mode 100644 src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_sdk_models.py delete mode 100644 src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_ssh_utils.py delete mode 100644 src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_up_utils.py delete mode 100644 src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_utils.py delete mode 100644 src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_validators.py delete mode 100644 src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/azext_metadata.json delete mode 100644 src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/commands.py delete mode 100644 src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/custom.py diff --git a/src/containerapp-compose/azext_containerapp_compose/_monkey_patch.py b/src/containerapp-compose/azext_containerapp_compose/_monkey_patch.py index a8011dfe5ed..04104c4c78b 100644 --- a/src/containerapp-compose/azext_containerapp_compose/_monkey_patch.py +++ b/src/containerapp-compose/azext_containerapp_compose/_monkey_patch.py @@ -5,6 +5,16 @@ import sys +from knack.log import get_logger +from azure.cli.core.azclierror import AzCLIError + + +class RequiredExtensionMissing(AzCLIError): + def __init__(self, error_msg) -> None: + recommendation = "Please install the containerapp extension: " + recommendation += "`az extension add containerapp`" + super().__init__(error_msg, recommendation) + def uncache(exclude): pkgs = [] @@ -44,6 +54,16 @@ def flush(self): # noqa: W0613 pylint: disable=unused-argument pass +logger = get_logger(__name__) + + +def log_containerapp_extension_required(): + message = "Please install the containerapp extension before proceeding with " + message += "`az containerapp compose create`" + logger.fatal(message) + raise RequiredExtensionMissing(message) + + try: from azext_containerapp import custom # pylint: disable=unused-import from azext_containerapp import _utils # pylint: disable=unused-import @@ -54,22 +74,9 @@ def flush(self): # noqa: W0613 pylint: disable=unused-argument from azext_containerapp import _clients # pylint: disable=unused-import from azext_containerapp._clients import ManagedEnvironmentClient # pylint: disable=unused-import except ModuleNotFoundError: - from .vendored_sdks.azext_containerapp import custom # pylint: disable=unused-import - from .vendored_sdks.azext_containerapp import _utils # pylint: disable=unused-import - from .vendored_sdks.azext_containerapp import _clients # pylint: disable=unused-import - _clients.PollingAnimation.tick = tick - _clients.PollingAnimation.flush = flush - uncache("azext_containerapp_compose.vendored_sdks.azext_containerapp") - from .vendored_sdks.azext_containerapp import _clients # pylint: disable=unused-import - from .vendored_sdks.azext_containerapp._clients import ManagedEnvironmentClient # pylint: disable=unused-import + log_containerapp_extension_required() except ImportError: - from .vendored_sdks.azext_containerapp import custom # pylint: disable=unused-import - from .vendored_sdks.azext_containerapp import _utils # pylint: disable=unused-import - from .vendored_sdks.azext_containerapp import _clients # pylint: disable=unused-import - _clients.PollingAnimation.tick = tick - _clients.PollingAnimation.flush = flush - uncache("azext_containerapp_compose.vendored_sdks.azext_containerapp") - from .vendored_sdks.azext_containerapp._clients import ManagedEnvironmentClient # pylint: disable=unused-import + log_containerapp_extension_required() # Monkey patch for log analytics workspace name @@ -100,3 +107,9 @@ def create_containerapp_from_service(*args, **kwargs): def load_yaml_file(filename): return custom.load_yaml_file(filename) + + +def show_managed_environment(cmd, resource_group_name, managed_env_name): + return ManagedEnvironmentClient.show(cmd=cmd, + resource_group_name=resource_group_name, + name=managed_env_name) diff --git a/src/containerapp-compose/azext_containerapp_compose/custom.py b/src/containerapp-compose/azext_containerapp_compose/custom.py index f93232388fa..6e42b6e1b6e 100644 --- a/src/containerapp-compose/azext_containerapp_compose/custom.py +++ b/src/containerapp-compose/azext_containerapp_compose/custom.py @@ -10,12 +10,6 @@ from knack.prompting import prompt, prompt_choice_list from pycomposefile import ComposeFile -from ._monkey_patch import ( - create_containerapp_from_service, - create_containerapps_compose_environment, - load_yaml_file, - ManagedEnvironmentClient) - logger = get_logger(__name__) @@ -113,13 +107,19 @@ def create_containerapps_from_compose(cmd, # pylint: disable=R0914 logs_workspace_name=None, location=None, tags=None): + from ._monkey_patch import ( + create_containerapp_from_service, + create_containerapps_compose_environment, + load_yaml_file, + show_managed_environment) + logger.info( # pylint: disable=W1203 f"Creating the Container Apps managed environment {managed_env} under {resource_group_name} in {location}.") try: - managed_environment = ManagedEnvironmentClient.show(cmd=cmd, - resource_group_name=resource_group_name, - name=managed_env) + managed_environment = show_managed_environment(cmd=cmd, + resource_group_name=resource_group_name, + managed_env_name=managed_env) except: # pylint: disable=W0702 managed_environment = create_containerapps_compose_environment(cmd, managed_env, diff --git a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/__init__.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/__init__.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/__init__.py deleted file mode 100644 index 3bafac3f2c9..00000000000 --- a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/__init__.py +++ /dev/null @@ -1,5 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -# pylint: disable=super-with-arguments diff --git a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_acr_run_polling.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_acr_run_polling.py deleted file mode 100644 index 1a71a87c99a..00000000000 --- a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_acr_run_polling.py +++ /dev/null @@ -1,112 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -# pylint: disable=line-too-long, consider-using-f-string - -import time - -from msrest import Deserializer -from msrestazure.azure_exceptions import CloudError -from azure.cli.core.profiles import ResourceType -from azure.cli.command_modules.acr._constants import get_acr_task_models -from azure.core.polling import PollingMethod, LROPoller - - -def get_run_with_polling(cmd, - client, - run_id, - registry_name, - resource_group_name): - deserializer = Deserializer( - {k: v for k, v in get_acr_task_models(cmd).__dict__.items() if isinstance(v, type)}) - - def deserialize_run(response): - return deserializer('Run', response) - - return LROPoller( - client=client, - initial_response=client.get( - resource_group_name, registry_name, run_id, cls=lambda x, y, z: x), - deserialization_callback=deserialize_run, - polling_method=RunPolling( - cmd=cmd, - registry_name=registry_name, - run_id=run_id - )) - - -class RunPolling(PollingMethod): # pylint: disable=too-many-instance-attributes - - def __init__(self, cmd, registry_name, run_id, timeout=30): - self._cmd = cmd - self._registry_name = registry_name - self._run_id = run_id - self._timeout = timeout - self._client = None - self._response = None # Will hold latest received response - self._url = None # The URL used to get the run - self._deserialize = None # The deserializer for Run - self.operation_status = "" - self.operation_result = None - - def initialize(self, client, initial_response, deserialization_callback): - self._client = client._client # pylint: disable=protected-access - self._response = initial_response - self._url = initial_response.http_request.url - self._deserialize = deserialization_callback - - self._set_operation_status(initial_response) - - def run(self): - while not self.finished(): - time.sleep(self._timeout) - self._update_status() - - if self.operation_status not in get_succeeded_run_status(self._cmd): - from knack.util import CLIError - raise CLIError("The run with ID '{}' finished with unsuccessful status '{}'. " - "Show run details by 'az acr task show-run -r {} --run-id {}'. " - "Show run logs by 'az acr task logs -r {} --run-id {}'.".format( - self._run_id, - self.operation_status, - self._registry_name, - self._run_id, - self._registry_name, - self._run_id - )) - - def status(self): - return self.operation_status - - def finished(self): - return self.operation_status in get_finished_run_status(self._cmd) - - def resource(self): - return self.operation_result - - def _set_operation_status(self, response): - if response.http_response.status_code == 200: - self.operation_result = self._deserialize(response) - self.operation_status = self.operation_result.status - return - raise CloudError(response) - - def _update_status(self): - self._response = self._client._pipeline.run( # pylint: disable=protected-access - self._client.get(self._url), stream=False) - self._set_operation_status(self._response) - - -def get_succeeded_run_status(cmd): - RunStatus = cmd.get_models('RunStatus', resource_type=ResourceType.MGMT_CONTAINERREGISTRY, operation_group='task_runs') - return [RunStatus.succeeded.value] - - -def get_finished_run_status(cmd): - RunStatus = cmd.get_models('RunStatus', resource_type=ResourceType.MGMT_CONTAINERREGISTRY, operation_group='task_runs') - return [RunStatus.succeeded.value, - RunStatus.failed.value, - RunStatus.canceled.value, - RunStatus.error.value, - RunStatus.timeout.value] diff --git a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_archive_utils.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_archive_utils.py deleted file mode 100644 index 9130e6ab4f9..00000000000 --- a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_archive_utils.py +++ /dev/null @@ -1,243 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -# pylint: disable=consider-using-f-string, consider-using-with, no-member - -import tarfile -import os -import re -import codecs -from io import open -import requests -from knack.log import get_logger -from msrestazure.azure_exceptions import CloudError -from azure.cli.core.azclierror import (CLIInternalError) -from azure.cli.core.profiles import ResourceType, get_sdk -from azure.cli.command_modules.acr._azure_utils import get_blob_info -from azure.cli.command_modules.acr._constants import TASK_VALID_VSTS_URLS - -logger = get_logger(__name__) - - -def upload_source_code(cmd, client, - registry_name, - resource_group_name, - source_location, - tar_file_path, - docker_file_path, - docker_file_in_tar): - _pack_source_code(source_location, - tar_file_path, - docker_file_path, - docker_file_in_tar) - - size = os.path.getsize(tar_file_path) - unit = 'GiB' - for S in ['Bytes', 'KiB', 'MiB', 'GiB']: - if size < 1024: - unit = S - break - size = size / 1024.0 - - logger.info("Uploading archived source code from '%s'...", tar_file_path) - upload_url = None - relative_path = None - try: - source_upload_location = client.get_build_source_upload_url( - resource_group_name, registry_name) - upload_url = source_upload_location.upload_url - relative_path = source_upload_location.relative_path - except (AttributeError, CloudError) as e: - raise CLIInternalError("Failed to get a SAS URL to upload context. Error: {}".format(e.message)) from e - - if not upload_url: - raise CLIInternalError("Failed to get a SAS URL to upload context.") - - account_name, endpoint_suffix, container_name, blob_name, sas_token = get_blob_info(upload_url) - BlockBlobService = get_sdk(cmd.cli_ctx, ResourceType.DATA_STORAGE, 'blob#BlockBlobService') - BlockBlobService(account_name=account_name, - sas_token=sas_token, - endpoint_suffix=endpoint_suffix, - # Increase socket timeout from default of 20s for clients with slow network connection. - socket_timeout=300).create_blob_from_path( - container_name=container_name, - blob_name=blob_name, - file_path=tar_file_path) - logger.info("Sending context ({0:.3f} {1}) to registry: {2}...".format( - size, unit, registry_name)) - return relative_path - - -def _pack_source_code(source_location, tar_file_path, docker_file_path, docker_file_in_tar): - logger.info("Packing source code into tar to upload...") - - original_docker_file_name = os.path.basename(docker_file_path.replace("\\", os.sep)) - ignore_list, ignore_list_size = _load_dockerignore_file(source_location, original_docker_file_name) - common_vcs_ignore_list = {'.git', '.gitignore', '.bzr', 'bzrignore', '.hg', '.hgignore', '.svn'} - - def _ignore_check(tarinfo, parent_ignored, parent_matching_rule_index): - # ignore common vcs dir or file - if tarinfo.name in common_vcs_ignore_list: - logger.info("Excluding '%s' based on default ignore rules", tarinfo.name) - return True, parent_matching_rule_index - - if ignore_list is None: - # if .dockerignore doesn't exists, inherit from parent - # eg, it will ignore the files under .git folder. - return parent_ignored, parent_matching_rule_index - - for index, item in enumerate(ignore_list): - # stop checking the remaining rules whose priorities are lower than the parent matching rule - # at this point, current item should just inherit from parent - if index >= parent_matching_rule_index: - break - if re.match(item.pattern, tarinfo.name): - logger.debug(".dockerignore: rule '%s' matches '%s'.", - item.rule, tarinfo.name) - return item.ignore, index - - logger.debug(".dockerignore: no rule for '%s'. parent ignore '%s'", - tarinfo.name, parent_ignored) - # inherit from parent - return parent_ignored, parent_matching_rule_index - - with tarfile.open(tar_file_path, "w:gz") as tar: - # need to set arcname to empty string as the archive root path - _archive_file_recursively(tar, - source_location, - arcname="", - parent_ignored=False, - parent_matching_rule_index=ignore_list_size, - ignore_check=_ignore_check) - - # Add the Dockerfile if it's specified. - # In the case of run, there will be no Dockerfile. - if docker_file_path: - docker_file_tarinfo = tar.gettarinfo( - docker_file_path, docker_file_in_tar) - with open(docker_file_path, "rb") as f: - tar.addfile(docker_file_tarinfo, f) - - -class IgnoreRule: # pylint: disable=too-few-public-methods - def __init__(self, rule): - - self.rule = rule - self.ignore = True - # ! makes exceptions to exclusions - if rule.startswith('!'): - self.ignore = False - rule = rule[1:] # remove ! - # load path without leading slash in linux and windows - # environments (interferes with dockerignore file) - if rule.startswith('/'): - rule = rule[1:] # remove beginning '/' - - self.pattern = "^" - tokens = rule.split('/') - token_length = len(tokens) - for index, token in enumerate(tokens, 1): - # ** matches any number of directories - if token == "**": - self.pattern += ".*" # treat **/ as ** - else: - # * matches any sequence of non-seperator characters - # ? matches any single non-seperator character - # . matches dot character - self.pattern += token.replace( - "*", "[^/]*").replace("?", "[^/]").replace(".", "\\.") - if index < token_length: - self.pattern += "/" # add back / if it's not the last - self.pattern += "$" - - -def _load_dockerignore_file(source_location, original_docker_file_name): - # reference: https://docs.docker.com/engine/reference/builder/#dockerignore-file - docker_ignore_file = os.path.join(source_location, ".dockerignore") - docker_ignore_file_override = None - if original_docker_file_name != "Dockerfile": - docker_ignore_file_override = os.path.join( - source_location, "{}.dockerignore".format(original_docker_file_name)) - if os.path.exists(docker_ignore_file_override): - logger.info("Overriding .dockerignore with %s", docker_ignore_file_override) - docker_ignore_file = docker_ignore_file_override - - if not os.path.exists(docker_ignore_file): - return None, 0 - - encoding = "utf-8" - header = open(docker_ignore_file, "rb").read(len(codecs.BOM_UTF8)) - if header.startswith(codecs.BOM_UTF8): - encoding = "utf-8-sig" - - ignore_list = [] - if docker_ignore_file == docker_ignore_file_override: - ignore_list.append(IgnoreRule(".dockerignore")) - - for line in open(docker_ignore_file, 'r', encoding=encoding).readlines(): - rule = line.rstrip() - - # skip empty line and comment - if not rule or rule.startswith('#'): - continue - - # the ignore rule at the end has higher priority - ignore_list = [IgnoreRule(rule)] + ignore_list - - return ignore_list, len(ignore_list) - - -def _archive_file_recursively(tar, name, arcname, parent_ignored, parent_matching_rule_index, ignore_check): - # create a TarInfo object from the file - tarinfo = tar.gettarinfo(name, arcname) - - if tarinfo is None: - raise CLIInternalError("tarfile: unsupported type {}".format(name)) - - # check if the file/dir is ignored - ignored, matching_rule_index = ignore_check( - tarinfo, parent_ignored, parent_matching_rule_index) - - if not ignored: - # append the tar header and data to the archive - if tarinfo.isreg(): - with open(name, "rb") as f: - tar.addfile(tarinfo, f) - else: - tar.addfile(tarinfo) - - # even the dir is ignored, its child items can still be included, so continue to scan - if tarinfo.isdir(): - for f in os.listdir(name): - _archive_file_recursively(tar, os.path.join(name, f), os.path.join(arcname, f), - parent_ignored=ignored, parent_matching_rule_index=matching_rule_index, - ignore_check=ignore_check) - - -def check_remote_source_code(source_location): - lower_source_location = source_location.lower() - - # git - if lower_source_location.startswith("git@") or lower_source_location.startswith("git://"): - return source_location - - # http - if lower_source_location.startswith("https://") or lower_source_location.startswith("http://") \ - or lower_source_location.startswith("github.com/"): - isVSTS = any(url in lower_source_location for url in TASK_VALID_VSTS_URLS) - if isVSTS or re.search(r"\.git(?:#.+)?$", lower_source_location): - # git url must contain ".git" or be from VSTS/Azure DevOps. - # This is because Azure DevOps doesn't follow the standard git server convention of putting - # .git at the end of their URLs, so we have to special case them. - return source_location - if not lower_source_location.startswith("github.com/"): - # Others are tarball - if requests.head(source_location).status_code < 400: - return source_location - raise CLIInternalError("'{}' doesn't exist.".format(source_location)) - - # oci - if lower_source_location.startswith("oci://"): - return source_location - raise CLIInternalError("'{}' doesn't exist.".format(source_location)) diff --git a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_client_factory.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_client_factory.py deleted file mode 100644 index 4e8ad424138..00000000000 --- a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_client_factory.py +++ /dev/null @@ -1,75 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -# pylint: disable=line-too-long, consider-using-f-string - -from azure.cli.core.commands.client_factory import get_mgmt_service_client -from azure.cli.core.profiles import ResourceType -from azure.cli.core.azclierror import CLIInternalError - - -# pylint: disable=inconsistent-return-statements -def ex_handler_factory(no_throw=False): - def _polish_bad_errors(ex): - import json - try: - content = json.loads(ex.response.content) - if 'message' in content: - detail = content['message'] - elif 'Message' in content: - detail = content['Message'] - - ex = CLIInternalError(detail) - except Exception: # pylint: disable=broad-except - pass - if no_throw: - return ex - raise ex - return _polish_bad_errors - - -def handle_raw_exception(e): - import json - - stringErr = str(e) - - if "{" in stringErr and "}" in stringErr: - jsonError = stringErr[stringErr.index("{"):stringErr.rindex("}") + 1] - jsonError = json.loads(jsonError) - - if 'error' in jsonError: - jsonError = jsonError['error'] - - if 'code' in jsonError and 'message' in jsonError: - code = jsonError['code'] - message = jsonError['message'] - raise CLIInternalError('({}) {}'.format(code, message)) - elif "Message" in jsonError: - message = jsonError["Message"] - raise CLIInternalError(message) - elif "message" in jsonError: - message = jsonError["message"] - raise CLIInternalError(message) - raise e - - -def providers_client_factory(cli_ctx, subscription_id=None): - return get_mgmt_service_client(cli_ctx, ResourceType.MGMT_RESOURCE_RESOURCES, subscription_id=subscription_id).providers - - -def cf_resource_groups(cli_ctx, subscription_id=None): - return get_mgmt_service_client(cli_ctx, ResourceType.MGMT_RESOURCE_RESOURCES, - subscription_id=subscription_id).resource_groups - - -def log_analytics_client_factory(cli_ctx): - from azure.mgmt.loganalytics import LogAnalyticsManagementClient - - return get_mgmt_service_client(cli_ctx, LogAnalyticsManagementClient).workspaces - - -def log_analytics_shared_key_client_factory(cli_ctx): - from azure.mgmt.loganalytics import LogAnalyticsManagementClient - - return get_mgmt_service_client(cli_ctx, LogAnalyticsManagementClient).shared_keys diff --git a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_clients.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_clients.py deleted file mode 100644 index 0b250ec51e8..00000000000 --- a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_clients.py +++ /dev/null @@ -1,902 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -# pylint: disable=line-too-long, super-with-arguments, too-many-instance-attributes, consider-using-f-string, no-else-return, no-self-use - -import json -import time -import sys - -from azure.cli.core.util import send_raw_request -from azure.cli.core.commands.client_factory import get_subscription_id -from knack.log import get_logger - -logger = get_logger(__name__) - -STABLE_API_VERSION = "2022-03-01" -POLLING_TIMEOUT = 60 # how many seconds before exiting -POLLING_SECONDS = 2 # how many seconds between requests - - -class PollingAnimation(): - def __init__(self): - self.tickers = ["/", "|", "\\", "-", "/", "|", "\\", "-"] - self.currTicker = 0 - - def tick(self): - sys.stdout.write('\r') - sys.stdout.write(self.tickers[self.currTicker] + " Running ..") - sys.stdout.flush() - self.currTicker += 1 - self.currTicker = self.currTicker % len(self.tickers) - - def flush(self): - sys.stdout.flush() - sys.stdout.write('\r') - sys.stdout.write("\033[K") - - -def poll(cmd, request_url, poll_if_status): # pylint: disable=inconsistent-return-statements - try: - start = time.time() - end = time.time() + POLLING_TIMEOUT - animation = PollingAnimation() - - animation.tick() - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - - while r.status_code in [200, 201] and start < end: - time.sleep(POLLING_SECONDS) - animation.tick() - - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - r2 = r.json() - - if "properties" not in r2 or "provisioningState" not in r2["properties"] or not r2["properties"]["provisioningState"].lower() == poll_if_status: - break - start = time.time() - - animation.flush() - return r.json() - except Exception as e: # pylint: disable=broad-except - animation.flush() - - delete_statuses = ["scheduledfordelete", "cancelled"] - - if poll_if_status not in delete_statuses: # Catch "not found" errors if polling for delete - raise e - - -class ContainerAppClient(): - @classmethod - def create_or_update(cls, cmd, resource_group_name, name, container_app_envelope, no_wait=False): - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = STABLE_API_VERSION - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - name, - api_version) - - r = send_raw_request(cmd.cli_ctx, "PUT", request_url, body=json.dumps(container_app_envelope)) - - if no_wait: - return r.json() - elif r.status_code == 201: - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - name, - api_version) - return poll(cmd, request_url, "inprogress") - - return r.json() - - @classmethod - def update(cls, cmd, resource_group_name, name, container_app_envelope, no_wait=False): - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - - api_version = STABLE_API_VERSION - - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - name, - api_version) - - r = send_raw_request(cmd.cli_ctx, "PATCH", request_url, body=json.dumps(container_app_envelope)) - - if no_wait: - return r.json() - elif r.status_code == 202: - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - name, - api_version) - return poll(cmd, request_url, "inprogress") - - return r.json() - - @classmethod - def delete(cls, cmd, resource_group_name, name, no_wait=False): - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = STABLE_API_VERSION - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - name, - api_version) - - r = send_raw_request(cmd.cli_ctx, "DELETE", request_url) - - if no_wait: - return # API doesn't return JSON (it returns no content) - elif r.status_code in [200, 201, 202, 204]: - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - name, - api_version) - - if r.status_code == 202: - from azure.cli.core.azclierror import ResourceNotFoundError - try: - poll(cmd, request_url, "cancelled") - except ResourceNotFoundError: - pass - logger.warning('Containerapp successfully deleted') - - @classmethod - def show(cls, cmd, resource_group_name, name): - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = STABLE_API_VERSION - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - name, - api_version) - - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - return r.json() - - @classmethod - def list_by_subscription(cls, cmd, formatter=lambda x: x): - app_list = [] - - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = STABLE_API_VERSION - sub_id = get_subscription_id(cmd.cli_ctx) - request_url = "{}/subscriptions/{}/providers/Microsoft.App/containerApps?api-version={}".format( - management_hostname.strip('/'), - sub_id, - api_version) - - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - j = r.json() - for app in j["value"]: - formatted = formatter(app) - app_list.append(formatted) - - while j.get("nextLink") is not None: - request_url = j["nextLink"] - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - j = r.json() - for app in j["value"]: - formatted = formatter(app) - app_list.append(formatted) - - return app_list - - @classmethod - def list_by_resource_group(cls, cmd, resource_group_name, formatter=lambda x: x): - app_list = [] - - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = STABLE_API_VERSION - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - api_version) - - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - j = r.json() - for app in j["value"]: - formatted = formatter(app) - app_list.append(formatted) - - while j.get("nextLink") is not None: - request_url = j["nextLink"] - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - j = r.json() - for app in j["value"]: - formatted = formatter(app) - app_list.append(formatted) - - return app_list - - @classmethod - def list_secrets(cls, cmd, resource_group_name, name): - - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = STABLE_API_VERSION - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/listSecrets?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - name, - api_version) - - r = send_raw_request(cmd.cli_ctx, "POST", request_url, body=None) - return r.json() - - @classmethod - def list_revisions(cls, cmd, resource_group_name, name, formatter=lambda x: x): - - revisions_list = [] - - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = STABLE_API_VERSION - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/revisions?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - name, - api_version) - - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - j = r.json() - for app in j["value"]: - formatted = formatter(app) - revisions_list.append(formatted) - - while j.get("nextLink") is not None: - request_url = j["nextLink"] - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - j = r.json() - for app in j["value"]: - formatted = formatter(app) - revisions_list.append(formatted) - - return revisions_list - - @classmethod - def show_revision(cls, cmd, resource_group_name, container_app_name, name): - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = STABLE_API_VERSION - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/revisions/{}?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - container_app_name, - name, - api_version) - - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - return r.json() - - @classmethod - def restart_revision(cls, cmd, resource_group_name, container_app_name, name): - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = STABLE_API_VERSION - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/revisions/{}/restart?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - container_app_name, - name, - api_version) - - r = send_raw_request(cmd.cli_ctx, "POST", request_url) - return r.json() - - @classmethod - def activate_revision(cls, cmd, resource_group_name, container_app_name, name): - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = STABLE_API_VERSION - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/revisions/{}/activate?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - container_app_name, - name, - api_version) - - r = send_raw_request(cmd.cli_ctx, "POST", request_url) - return r.json() - - @classmethod - def deactivate_revision(cls, cmd, resource_group_name, container_app_name, name): - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = STABLE_API_VERSION - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/revisions/{}/deactivate?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - container_app_name, - name, - api_version) - - r = send_raw_request(cmd.cli_ctx, "POST", request_url) - return r.json() - - @classmethod - def list_replicas(cls, cmd, resource_group_name, container_app_name, revision_name): - replica_list = [] - - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/revisions/{}/replicas?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - container_app_name, - revision_name, - STABLE_API_VERSION) - - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - j = r.json() - for replica in j["value"]: - replica_list.append(replica) - - while j.get("nextLink") is not None: - request_url = j["nextLink"] - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - j = r.json() - for replica in j["value"]: - replica_list.append(replica) - - return replica_list - - @classmethod - def get_replica(cls, cmd, resource_group_name, container_app_name, revision_name, replica_name): - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/revisions/{}/replicas/{}/?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - container_app_name, - revision_name, - replica_name, - STABLE_API_VERSION) - - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - return r.json() - - @classmethod - def get_auth_token(cls, cmd, resource_group_name, name): - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/authtoken?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - name, - STABLE_API_VERSION) - - r = send_raw_request(cmd.cli_ctx, "POST", request_url) - return r.json() - - -class ManagedEnvironmentClient(): - @classmethod - def create(cls, cmd, resource_group_name, name, managed_environment_envelope, no_wait=False): - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = STABLE_API_VERSION - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - name, - api_version) - - r = send_raw_request(cmd.cli_ctx, "PUT", request_url, body=json.dumps(managed_environment_envelope)) - - if no_wait: - return r.json() - elif r.status_code == 201: - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - name, - api_version) - return poll(cmd, request_url, "waiting") - - return r.json() - - @classmethod - def update(cls, cmd, resource_group_name, name, managed_environment_envelope, no_wait=False): - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = STABLE_API_VERSION - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - name, - api_version) - - r = send_raw_request(cmd.cli_ctx, "PATCH", request_url, body=json.dumps(managed_environment_envelope)) - - if no_wait: - return r.json() - elif r.status_code == 201: - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - name, - api_version) - return poll(cmd, request_url, "waiting") - - return r.json() - - @classmethod - def delete(cls, cmd, resource_group_name, name, no_wait=False): - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = STABLE_API_VERSION - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - name, - api_version) - - r = send_raw_request(cmd.cli_ctx, "DELETE", request_url) - - if no_wait: - return # API doesn't return JSON (it returns no content) - elif r.status_code in [200, 201, 202, 204]: - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - name, - api_version) - - if r.status_code == 202: - from azure.cli.core.azclierror import ResourceNotFoundError - try: - poll(cmd, request_url, "scheduledfordelete") - except ResourceNotFoundError: - pass - logger.warning('Containerapp environment successfully deleted') - return - - @classmethod - def show(cls, cmd, resource_group_name, name): - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = STABLE_API_VERSION - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - name, - api_version) - - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - return r.json() - - @classmethod - def list_by_subscription(cls, cmd, formatter=lambda x: x): - env_list = [] - - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = STABLE_API_VERSION - sub_id = get_subscription_id(cmd.cli_ctx) - request_url = "{}/subscriptions/{}/providers/Microsoft.App/managedEnvironments?api-version={}".format( - management_hostname.strip('/'), - sub_id, - api_version) - - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - j = r.json() - for env in j["value"]: - formatted = formatter(env) - env_list.append(formatted) - - while j.get("nextLink") is not None: - request_url = j["nextLink"] - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - j = r.json() - for env in j["value"]: - formatted = formatter(env) - env_list.append(formatted) - - return env_list - - @classmethod - def list_by_resource_group(cls, cmd, resource_group_name, formatter=lambda x: x): - env_list = [] - - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = STABLE_API_VERSION - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - api_version) - - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - j = r.json() - for env in j["value"]: - formatted = formatter(env) - env_list.append(formatted) - - while j.get("nextLink") is not None: - request_url = j["nextLink"] - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - j = r.json() - for env in j["value"]: - formatted = formatter(env) - env_list.append(formatted) - - return env_list - - -class GitHubActionClient(): - @classmethod - def create_or_update(cls, cmd, resource_group_name, name, github_action_envelope, headers, no_wait=False): - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = STABLE_API_VERSION - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/sourcecontrols/current?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - name, - api_version) - - r = send_raw_request(cmd.cli_ctx, "PUT", request_url, body=json.dumps(github_action_envelope), headers=headers) - - if no_wait: - return r.json() - elif r.status_code == 201: - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/sourcecontrols/current?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - name, - api_version) - return poll(cmd, request_url, "inprogress") - - return r.json() - - @classmethod - def show(cls, cmd, resource_group_name, name): - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = STABLE_API_VERSION - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/sourcecontrols/current?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - name, - api_version) - - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - return r.json() - - @classmethod - def delete(cls, cmd, resource_group_name, name, headers, no_wait=False): - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = STABLE_API_VERSION - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/sourcecontrols/current?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - name, - api_version) - - r = send_raw_request(cmd.cli_ctx, "DELETE", request_url, headers=headers) - - if no_wait: - return # API doesn't return JSON (it returns no content) - elif r.status_code in [200, 201, 202, 204]: - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}/sourcecontrols/current?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - name, - api_version) - - if r.status_code == 202: - from azure.cli.core.azclierror import ResourceNotFoundError - try: - poll(cmd, request_url, "cancelled") - except ResourceNotFoundError: - pass - logger.warning('Containerapp github action successfully deleted') - return - - -class DaprComponentClient(): - @classmethod - def create_or_update(cls, cmd, resource_group_name, environment_name, name, dapr_component_envelope, no_wait=False): - - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = STABLE_API_VERSION - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}/daprComponents/{}?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - environment_name, - name, - api_version) - - r = send_raw_request(cmd.cli_ctx, "PUT", request_url, body=json.dumps(dapr_component_envelope)) - - if no_wait: - return r.json() - elif r.status_code == 201: - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}/daprComponents/{}?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - environment_name, - name, - api_version) - return poll(cmd, request_url, "inprogress") - - return r.json() - - @classmethod - def delete(cls, cmd, resource_group_name, environment_name, name, no_wait=False): - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = STABLE_API_VERSION - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}/daprComponents/{}?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - environment_name, - name, - api_version) - - r = send_raw_request(cmd.cli_ctx, "DELETE", request_url) - - if no_wait: - return # API doesn't return JSON (it returns no content) - elif r.status_code in [200, 201, 202, 204]: - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}/daprComponents/{}?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - environment_name, - name, - api_version) - - if r.status_code == 202: - from azure.cli.core.azclierror import ResourceNotFoundError - try: - poll(cmd, request_url, "cancelled") - except ResourceNotFoundError: - pass - logger.warning('Dapr component successfully deleted') - return - - @classmethod - def show(cls, cmd, resource_group_name, environment_name, name): - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = STABLE_API_VERSION - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}/daprComponents/{}?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - environment_name, - name, - api_version) - - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - return r.json() - - @classmethod - def list(cls, cmd, resource_group_name, environment_name, formatter=lambda x: x): - app_list = [] - - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = STABLE_API_VERSION - sub_id = get_subscription_id(cmd.cli_ctx) - request_url = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}/daprComponents?api-version={}".format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - environment_name, - api_version) - - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - j = r.json() - for app in j["value"]: - formatted = formatter(app) - app_list.append(formatted) - - while j.get("nextLink") is not None: - request_url = j["nextLink"] - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - j = r.json() - for app in j["value"]: - formatted = formatter(app) - app_list.append(formatted) - - return app_list - - -class StorageClient(): - @classmethod - def create_or_update(cls, cmd, resource_group_name, env_name, name, storage_envelope, no_wait=False): - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = STABLE_API_VERSION - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}/storages/{}?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - env_name, - name, - api_version) - - r = send_raw_request(cmd.cli_ctx, "PUT", request_url, body=json.dumps(storage_envelope)) - - if no_wait: - return r.json() - elif r.status_code == 201: - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}/storages/{}?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - env_name, - name, - api_version) - return poll(cmd, request_url, "waiting") - - return r.json() - - @classmethod - def delete(cls, cmd, resource_group_name, env_name, name, no_wait=False): - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = STABLE_API_VERSION - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}/storages/{}?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - env_name, - name, - api_version) - - r = send_raw_request(cmd.cli_ctx, "DELETE", request_url) - - if no_wait: - return # API doesn't return JSON (it returns no content) - elif r.status_code in [200, 201, 202, 204]: - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}/storages/{}?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - env_name, - name, - api_version) - if r.status_code == 200: # 200 successful delete, 204 means storage not found - from azure.cli.core.azclierror import ResourceNotFoundError - try: - poll(cmd, request_url, "scheduledfordelete") - except ResourceNotFoundError: - pass - logger.warning('Containerapp environment storage successfully deleted') - return - - @classmethod - def show(cls, cmd, resource_group_name, env_name, name): - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = STABLE_API_VERSION - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}/storages/{}?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - env_name, - name, - api_version) - - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - return r.json() - - @classmethod - def list(cls, cmd, resource_group_name, env_name, formatter=lambda x: x): - env_list = [] - - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - api_version = STABLE_API_VERSION - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/managedEnvironments/{}/storages?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - env_name, - api_version) - - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - j = r.json() - for env in j["value"]: - formatted = formatter(env) - env_list.append(formatted) - - while j.get("nextLink") is not None: - request_url = j["nextLink"] - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - j = r.json() - for env in j["value"]: - formatted = formatter(env) - env_list.append(formatted) - - return env_list diff --git a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_constants.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_constants.py deleted file mode 100644 index 62e655754b0..00000000000 --- a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_constants.py +++ /dev/null @@ -1,14 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - -MAXIMUM_SECRET_LENGTH = 20 -MAXIMUM_CONTAINER_APP_NAME_LENGTH = 40 - -SHORT_POLLING_INTERVAL_SECS = 3 -LONG_POLLING_INTERVAL_SECS = 10 - -LOG_ANALYTICS_RP = "Microsoft.OperationalInsights" - -MAX_ENV_PER_LOCATION = 2 diff --git a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_github_oauth.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_github_oauth.py deleted file mode 100644 index ce1ac41d337..00000000000 --- a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_github_oauth.py +++ /dev/null @@ -1,138 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -# pylint: disable=consider-using-f-string - -import os -import sys -from datetime import datetime - -from knack.log import get_logger -from azure.cli.core.util import open_page_in_browser -from azure.cli.core.auth.persistence import SecretStore, build_persistence -from azure.cli.core.azclierror import (ValidationError, CLIInternalError, UnclassifiedUserFault) - -from ._utils import repo_url_to_name - -logger = get_logger(__name__) - - -''' -Get Github personal access token following Github oauth for command line tools -https://docs.github.com/en/developers/apps/authorizing-oauth-apps#device-flow -''' - - -GITHUB_OAUTH_CLIENT_ID = "8d8e1f6000648c575489" -GITHUB_OAUTH_SCOPES = [ - "admin:repo_hook", - "repo", - "workflow" -] - - -def _get_github_token_secret_store(cmd): - location = os.path.join(cmd.cli_ctx.config.config_dir, "github_token_cache") - # TODO use core CLI util to take care of this once it's merged and released - encrypt = sys.platform.startswith('win32') # encryption not supported on non-windows platforms - file_persistence = build_persistence(location, encrypt) - return SecretStore(file_persistence) - - -def cache_github_token(cmd, token, repo): - repo = repo_url_to_name(repo) - secret_store = _get_github_token_secret_store(cmd) - cache = secret_store.load() - - for entry in cache: - if isinstance(entry, dict) and entry.get("value") == token: - if repo not in entry.get("repos", []): - entry["repos"] = [*entry.get("repos", []), repo] - entry["last_modified_timestamp"] = datetime.utcnow().timestamp() - break - else: - cache_entry = {"last_modified_timestamp": datetime.utcnow().timestamp(), "value": token, "repos": [repo]} - cache = [cache_entry, *cache] - - secret_store.save(cache) - - -def load_github_token_from_cache(cmd, repo): - repo = repo_url_to_name(repo) - secret_store = _get_github_token_secret_store(cmd) - cache = secret_store.load() - - if isinstance(cache, list): - for entry in cache: - if isinstance(entry, dict) and repo in entry.get("repos", []): - return entry.get("value") - - return None - - -def get_github_access_token(cmd, scope_list=None, token=None): # pylint: disable=unused-argument - if token: - return token - if scope_list: - for scope in scope_list: - if scope not in GITHUB_OAUTH_SCOPES: - raise ValidationError("Requested github oauth scope is invalid") - scope_list = ' '.join(scope_list) - - authorize_url = 'https://github.com/login/device/code' - authorize_url_data = { - 'scope': scope_list, - 'client_id': GITHUB_OAUTH_CLIENT_ID - } - - import requests - import time - from urllib.parse import parse_qs - - try: - response = requests.post(authorize_url, data=authorize_url_data) - parsed_response = parse_qs(response.content.decode('ascii')) - - device_code = parsed_response['device_code'][0] - user_code = parsed_response['user_code'][0] - verification_uri = parsed_response['verification_uri'][0] - interval = int(parsed_response['interval'][0]) - expires_in_seconds = int(parsed_response['expires_in'][0]) - logger.warning('Please navigate to %s and enter the user code %s to activate and ' - 'retrieve your github personal access token', verification_uri, user_code) - open_page_in_browser("https://github.com/login/device") - - timeout = time.time() + expires_in_seconds - logger.warning("Waiting up to '%s' minutes for activation", str(expires_in_seconds // 60)) - - confirmation_url = 'https://github.com/login/oauth/access_token' - confirmation_url_data = { - 'client_id': GITHUB_OAUTH_CLIENT_ID, - 'device_code': device_code, - 'grant_type': 'urn:ietf:params:oauth:grant-type:device_code' - } - - pending = True - while pending: - time.sleep(interval) - - if time.time() > timeout: - raise UnclassifiedUserFault('Activation did not happen in time. Please try again') - - confirmation_response = requests.post(confirmation_url, data=confirmation_url_data) - parsed_confirmation_response = parse_qs(confirmation_response.content.decode('ascii')) - - if 'error' in parsed_confirmation_response and parsed_confirmation_response['error'][0]: - if parsed_confirmation_response['error'][0] == 'slow_down': - interval += 5 # if slow_down error is received, 5 seconds is added to minimum polling interval - elif parsed_confirmation_response['error'][0] != 'authorization_pending': - pending = False - - if 'access_token' in parsed_confirmation_response and parsed_confirmation_response['access_token'][0]: - return parsed_confirmation_response['access_token'][0] - except Exception as e: - raise CLIInternalError( - 'Error: {}. Please try again, or retrieve personal access token from the Github website'.format(e)) from e - - raise UnclassifiedUserFault('Activation did not happen in time. Please try again') diff --git a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_help.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_help.py deleted file mode 100644 index d5db7171bdf..00000000000 --- a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_help.py +++ /dev/null @@ -1,716 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - -from knack.help_files import helps # pylint: disable=unused-import - - -helps['containerapp'] = """ - type: group - short-summary: Manage Azure Container Apps. -""" - -helps['containerapp create'] = """ - type: command - short-summary: Create a container app. - examples: - - name: Create a container app and retrieve its fully qualified domain name. - text: | - az containerapp create -n MyContainerapp -g MyResourceGroup \\ - --image myregistry.azurecr.io/my-app:v1.0 --environment MyContainerappEnv \\ - --ingress external --target-port 80 \\ - --registry-server myregistry.azurecr.io --registry-username myregistry --registry-password $REGISTRY_PASSWORD \\ - --query properties.configuration.ingress.fqdn - - name: Create a container app with resource requirements and replica count limits. - text: | - az containerapp create -n MyContainerapp -g MyResourceGroup \\ - --image nginx --environment MyContainerappEnv \\ - --cpu 0.5 --memory 1.0Gi \\ - --min-replicas 4 --max-replicas 8 - - name: Create a container app with secrets and environment variables. - text: | - az containerapp create -n MyContainerapp -g MyResourceGroup \\ - --image my-app:v1.0 --environment MyContainerappEnv \\ - --secrets mysecret=secretvalue1 anothersecret="secret value 2" \\ - --env-vars GREETING="Hello, world" SECRETENV=secretref:anothersecret - - name: Create a container app using a YAML configuration. Example YAML configuration - https://aka.ms/azure-container-apps-yaml - text: | - az containerapp create -n MyContainerapp -g MyResourceGroup \\ - --environment MyContainerappEnv \\ - --yaml "path/to/yaml/file.yml" -""" - -helps['containerapp update'] = """ - type: command - short-summary: Update a container app. In multiple revisions mode, create a new revision based on the latest revision. - examples: - - name: Update a container app's container image. - text: | - az containerapp update -n MyContainerapp -g MyResourceGroup \\ - --image myregistry.azurecr.io/my-app:v2.0 - - name: Update a container app's resource requirements and scale limits. - text: | - az containerapp update -n MyContainerapp -g MyResourceGroup \\ - --cpu 0.5 --memory 1.0Gi \\ - --min-replicas 4 --max-replicas 8 -""" - -helps['containerapp delete'] = """ - type: command - short-summary: Delete a container app. - examples: - - name: Delete a container app. - text: az containerapp delete -g MyResourceGroup -n MyContainerapp -""" - -helps['containerapp show'] = """ - type: command - short-summary: Show details of a container app. - examples: - - name: Show the details of a container app. - text: | - az containerapp show -n MyContainerapp -g MyResourceGroup -""" - -helps['containerapp list'] = """ - type: command - short-summary: List container apps. - examples: - - name: List container apps in the current subscription. - text: | - az containerapp list - - name: List container apps by resource group. - text: | - az containerapp list -g MyResourceGroup -""" - -helps['containerapp exec'] = """ - type: command - short-summary: Open an SSH-like interactive shell within a container app replica - examples: - - name: exec into a container app - text: | - az containerapp exec -n MyContainerapp -g MyResourceGroup - - name: exec into a particular container app replica and revision - text: | - az containerapp exec -n MyContainerapp -g MyResourceGroup --replica MyReplica --revision MyRevision - - name: open a bash shell in a containerapp - text: | - az containerapp exec -n MyContainerapp -g MyResourceGroup --command bash -""" - -helps['containerapp browse'] = """ - type: command - short-summary: Open a containerapp in the browser, if possible - examples: - - name: open a containerapp in the browser - text: | - az containerapp browse -n MyContainerapp -g MyResourceGroup -""" - -helps['containerapp up'] = """ - type: command - short-summary: Create or update a container app as well as any associated resources (ACR, resource group, container apps environment, Github Actions, etc.) - examples: - - name: Create a container app from a dockerfile in a Github repo (setting up github actions) - text: | - az containerapp up -n MyContainerapp --repo https://github.com/myAccount/myRepo - - name: Create a container app from a dockerfile in a local directory - text: | - az containerapp up -n MyContainerapp --source . - - name: Create a container app from an image in a registry - text: | - az containerapp up -n MyContainerapp --image myregistry.azurecr.io/myImage:myTag - - name: Create a container app from an image in a registry with ingress enabled and a specified environment - text: | - az containerapp up -n MyContainerapp --image myregistry.azurecr.io/myImage:myTag --ingress external --target-port 80 --environment MyEnv -""" - -helps['containerapp logs'] = """ - type: group - short-summary: Show container app logs -""" - -helps['containerapp logs show'] = """ - type: command - short-summary: Show past logs and/or print logs in real time (with the --follow parameter). Note that the logs are only taken from one revision, replica, and container. - examples: - - name: Fetch the past 20 lines of logs from an app and return - text: | - az containerapp logs show -n MyContainerapp -g MyResourceGroup - - name: Fetch 30 lines of past logs logs from an app and print logs as they come in - text: | - az containerapp logs show -n MyContainerapp -g MyResourceGroup --follow --tail 30 - - name: Fetch logs for a particular revision, replica, and container - text: | - az containerapp logs show -n MyContainerapp -g MyResourceGroup --replica MyReplica --revision MyRevision --container MyContainer -""" - -# Replica Commands -helps['containerapp replica'] = """ - type: group - short-summary: Manage container app replicas -""" - -helps['containerapp replica list'] = """ - type: command - short-summary: List a container app revision's replica - examples: - - name: List a container app's replicas in the latest revision - text: | - az containerapp replica list -n MyContainerapp -g MyResourceGroup - - name: List a container app's replicas in a particular revision - text: | - az containerapp replica list -n MyContainerapp -g MyResourceGroup --revision MyRevision -""" - -helps['containerapp replica show'] = """ - type: command - short-summary: Show a container app replica - examples: - - name: Show a replica from the latest revision - text: | - az containerapp replica show -n MyContainerapp -g MyResourceGroup --replica MyReplica - - name: Show a replica from the a particular revision - text: | - az containerapp replica show -n MyContainerapp -g MyResourceGroup --replica MyReplica --revision MyRevision -""" - -# Revision Commands -helps['containerapp revision'] = """ - type: group - short-summary: Commands to manage revisions. -""" - -helps['containerapp revision show'] = """ - type: command - short-summary: Show details of a revision. - examples: - - name: Show details of a revision. - text: | - az containerapp revision show -n MyContainerapp -g MyResourceGroup \\ - --revision MyContainerappRevision -""" - -helps['containerapp revision list'] = """ - type: command - short-summary: List a container app's revisions. - examples: - - name: List a container app's revisions. - text: | - az containerapp revision list -n MyContainerapp -g MyResourceGroup -""" - -helps['containerapp revision restart'] = """ - type: command - short-summary: Restart a revision. - examples: - - name: Restart a revision. - text: | - az containerapp revision restart -n MyContainerapp -g MyResourceGroup --revision MyContainerappRevision -""" - -helps['containerapp revision activate'] = """ - type: command - short-summary: Activate a revision. - examples: - - name: Activate a revision. - text: | - az containerapp revision activate -g MyResourceGroup --revision MyContainerappRevision -""" - -helps['containerapp revision deactivate'] = """ - type: command - short-summary: Deactivate a revision. - examples: - - name: Deactivate a revision. - text: | - az containerapp revision deactivate -g MyResourceGroup --revision MyContainerappRevision -""" - -helps['containerapp revision set-mode'] = """ - type: command - short-summary: Set the revision mode of a container app. - examples: - - name: Set a container app to single revision mode. - text: | - az containerapp revision set-mode -n MyContainerapp -g MyResourceGroup --mode Single -""" - -helps['containerapp revision copy'] = """ - type: command - short-summary: Create a revision based on a previous revision. - examples: - - name: Create a revision based on the latest revision. - text: | - az containerapp revision copy -n MyContainerapp -g MyResourceGroup \\ - --cpu 0.75 --memory 1.5Gi - - name: Create a revision based on a previous revision. - text: | - az containerapp revision copy -g MyResourceGroup \\ - --from-revision PreviousRevisionName --cpu 0.75 --memory 1.5Gi - -""" - -helps['containerapp revision copy'] = """ - type: command - short-summary: Create a revision based on a previous revision. - examples: - - name: Create a revision based on a previous revision. - text: | - az containerapp revision copy -n MyContainerapp -g MyResourceGroup --cpu 0.75 --memory 1.5Gi -""" - -helps['containerapp revision label'] = """ - type: group - short-summary: Manage revision labels assigned to traffic weights. -""" - -helps['containerapp revision label add'] = """ - type: command - short-summary: Set a revision label to a revision with an associated traffic weight. - examples: - - name: Add a label to the latest revision. - text: | - az containerapp revision label add -n MyContainerapp -g MyResourceGroup --label myLabel --revision latest - - name: Add a label to a previous revision. - text: | - az containerapp revision label add -g MyResourceGroup --label myLabel --revision revisionName -""" - -helps['containerapp revision label remove'] = """ - type: command - short-summary: Remove a revision label from a revision with an associated traffic weight. - examples: - - name: Remove a label. - text: | - az containerapp revision label remove -n MyContainerapp -g MyResourceGroup --label myLabel -""" - -# Environment Commands -helps['containerapp env'] = """ - type: group - short-summary: Commands to manage Container Apps environments. -""" - -helps['containerapp env create'] = """ - type: command - short-summary: Create a Container Apps environment. - examples: - - name: Create an environment with an auto-generated Log Analytics workspace. - text: | - az containerapp env create -n MyContainerappEnvironment -g MyResourceGroup \\ - --location eastus2 - - name: Create an environment with an existing Log Analytics workspace. - text: | - az containerapp env create -n MyContainerappEnvironment -g MyResourceGroup \\ - --logs-workspace-id myLogsWorkspaceID \\ - --logs-workspace-key myLogsWorkspaceKey \\ - --location eastus2 -""" - - -helps['containerapp env delete'] = """ - type: command - short-summary: Delete a Container Apps environment. - examples: - - name: Delete an environment. - text: az containerapp env delete -n MyContainerappEnvironment -g MyResourceGroup -""" - -helps['containerapp env show'] = """ - type: command - short-summary: Show details of a Container Apps environment. - examples: - - name: Show the details of an environment. - text: | - az containerapp env show -n MyContainerappEnvironment -g MyResourceGroup -""" - -helps['containerapp env list'] = """ - type: command - short-summary: List Container Apps environments by subscription or resource group. - examples: - - name: List environments in the current subscription. - text: | - az containerapp env list - - name: List environments by resource group. - text: | - az containerapp env list -g MyResourceGroup -""" - -helps['containerapp env dapr-component'] = """ - type: group - short-summary: Commands to manage Dapr components for the Container Apps environment. -""" - -helps['containerapp env dapr-component list'] = """ - type: command - short-summary: List Dapr components for an environment. - examples: - - name: List Dapr components for an environment. - text: | - az containerapp env dapr-component list -g MyResourceGroup --name MyEnvironment -""" - -helps['containerapp env dapr-component show'] = """ - type: command - short-summary: Show the details of a Dapr component. - examples: - - name: Show the details of a Dapr component. - text: | - az containerapp env dapr-component show -g MyResourceGroup --dapr-component-name MyDaprComponentName --name MyEnvironment -""" - -helps['containerapp env dapr-component set'] = """ - type: command - short-summary: Create or update a Dapr component. - examples: - - name: Create a Dapr component. - text: | - az containerapp env dapr-component set -g MyResourceGroup --name MyEnv --yaml MyYAMLPath --dapr-component-name MyDaprComponentName -""" - -helps['containerapp env dapr-component remove'] = """ - type: command - short-summary: Remove a Dapr component from an environment. - examples: - - name: Remove a Dapr component from a Container Apps environment. - text: | - az containerapp env dapr-component remove -g MyResourceGroup --dapr-component-name MyDaprComponentName --name MyEnvironment -""" - -helps['containerapp env storage'] = """ - type: group - short-summary: Commands to manage storage for the Container Apps environment. -""" - -helps['containerapp env storage list'] = """ - type: command - short-summary: List the storages for an environment. - examples: - - name: List the storages for an environment. - text: | - az containerapp env storage list -g MyResourceGroup -n MyEnvironment -""" - -helps['containerapp env storage show'] = """ - type: command - short-summary: Show the details of a storage. - examples: - - name: Show the details of a storage. - text: | - az containerapp env storage show -g MyResourceGroup --storage-name MyStorageName -n MyEnvironment -""" - -helps['containerapp env storage set'] = """ - type: command - short-summary: Create or update a storage. - examples: - - name: Create a storage. - text: | - az containerapp env storage set -g MyResourceGroup -n MyEnv --storage-name MyStorageName --access-mode ReadOnly --azure-file-account-key MyAccountKey --azure-file-account-name MyAccountName --azure-file-share-name MyShareName -""" - -helps['containerapp env storage remove'] = """ - type: command - short-summary: Remove a storage from an environment. - examples: - - name: Remove a storage from a Container Apps environment. - text: | - az containerapp env storage remove -g MyResourceGroup --storage-name MyStorageName -n MyEnvironment -""" - - -# Identity Commands -helps['containerapp identity'] = """ - type: group - short-summary: Commands to manage managed identities. -""" - -helps['containerapp identity assign'] = """ - type: command - short-summary: Assign managed identity to a container app. - long-summary: Managed identities can be user-assigned or system-assigned. - examples: - - name: Assign system identity. - text: | - az containerapp identity assign -n myContainerapp -g MyResourceGroup --system-assigned - - name: Assign user identity. - text: | - az containerapp identity assign -n myContainerapp -g MyResourceGroup --user-assigned myUserIdentityName - - name: Assign user identity (from a different resource group than the containerapp). - text: | - az containerapp identity assign -n myContainerapp -g MyResourceGroup --user-assigned myUserIdentityResourceId - - name: Assign system and user identity. - text: | - az containerapp identity assign -n myContainerapp -g MyResourceGroup --system-assigned --user-assigned myUserIdentityResourceId -""" - -helps['containerapp identity remove'] = """ - type: command - short-summary: Remove a managed identity from a container app. - examples: - - name: Remove system identity. - text: | - az containerapp identity remove -n myContainerapp -g MyResourceGroup --system-assigned - - name: Remove user identity. - text: | - az containerapp identity remove -n myContainerapp -g MyResourceGroup --user-assigned myUserIdentityName - - name: Remove system and user identity (from a different resource group than the containerapp). - text: | - az containerapp identity remove -n myContainerapp -g MyResourceGroup --system-assigned --user-assigned myUserIdentityResourceId - - name: Remove all user identities. - text: | - az containerapp identity remove -n myContainerapp -g MyResourceGroup --user-assigned - - name: Remove system identity and all user identities. - text: | - az containerapp identity remove -n myContainerapp -g MyResourceGroup --system-assigned --user-assigned -""" - -helps['containerapp identity show'] = """ - type: command - short-summary: Show managed identities of a container app. - examples: - - name: Show managed identities. - text: | - az containerapp identity show -n myContainerapp -g MyResourceGroup -""" - -# Ingress Commands -helps['containerapp ingress'] = """ - type: group - short-summary: Commands to manage ingress and traffic-splitting. -""" - -helps['containerapp ingress traffic'] = """ - type: subgroup - short-summary: Commands to manage traffic-splitting. -""" - -helps['containerapp ingress show'] = """ - type: command - short-summary: Show details of a container app's ingress. - examples: - - name: Show the details of a container app's ingress. - text: | - az containerapp ingress show -n MyContainerapp -g MyResourceGroup -""" - -helps['containerapp ingress enable'] = """ - type: command - short-summary: Enable ingress for a container app. - examples: - - name: Enable ingress for a container app. - text: | - az containerapp ingress enable -n MyContainerapp -g MyResourceGroup \\ - --type external --allow-insecure --target-port 80 --transport auto -""" - -helps['containerapp ingress disable'] = """ - type: command - short-summary: Disable ingress for a container app. - examples: - - name: Disable ingress for a container app. - text: | - az containerapp ingress disable -n MyContainerapp -g MyResourceGroup -""" - -helps['containerapp ingress traffic'] = """ - type: group - short-summary: Commands to manage traffic-splitting. -""" - -helps['containerapp ingress traffic set'] = """ - type: command - short-summary: Configure traffic-splitting for a container app. - examples: - - name: Route 100% of a container app's traffic to its latest revision. - text: | - az containerapp ingress traffic set -n MyContainerapp -g MyResourceGroup --revision-weight latest=100 - - name: Split a container app's traffic between two revisions. - text: | - az containerapp ingress traffic set -n MyContainerapp -g MyResourceGroup --revision-weight latest=80 MyRevisionName=20 - - name: Split a container app's traffic between two labels. - text: | - az containerapp ingress traffic set -n MyContainerapp -g MyResourceGroup --label-weight myLabel=80 myLabel2=20 - - name: Split a container app's traffic between a label and a revision. - text: | - az containerapp ingress traffic set -n MyContainerapp -g MyResourceGroup --revision-weight latest=80 --label-weight myLabel=20 -""" - -helps['containerapp ingress traffic show'] = """ - type: command - short-summary: Show traffic-splitting configuration for a container app. - examples: - - name: Show a container app's ingress traffic configuration. - text: | - az containerapp ingress traffic show -n MyContainerapp -g MyResourceGroup -""" - -# Registry Commands -helps['containerapp registry'] = """ - type: group - short-summary: Commands to manage container registry information. -""" - -helps['containerapp registry show'] = """ - type: command - short-summary: Show details of a container registry. - examples: - - name: Show the details of a container registry. - text: | - az containerapp registry show -n MyContainerapp -g MyResourceGroup --server MyContainerappRegistry.azurecr.io -""" - -helps['containerapp registry list'] = """ - type: command - short-summary: List container registries configured in a container app. - examples: - - name: List container registries configured in a container app. - text: | - az containerapp registry list -n MyContainerapp -g MyResourceGroup -""" - -helps['containerapp registry set'] = """ - type: command - short-summary: Add or update a container registry's details. - examples: - - name: Configure a container app to use a registry. - text: | - az containerapp registry set -n MyContainerapp -g MyResourceGroup \\ - --server MyExistingContainerappRegistry.azurecr.io --username MyRegistryUsername --password MyRegistryPassword -""" - -helps['containerapp registry remove'] = """ - type: command - short-summary: Remove a container registry's details. - examples: - - name: Remove a registry from a Containerapp. - text: | - az containerapp registry remove -n MyContainerapp -g MyResourceGroup --server MyContainerappRegistry.azurecr.io -""" - -# Secret Commands -helps['containerapp secret'] = """ - type: group - short-summary: Commands to manage secrets. -""" - -helps['containerapp secret show'] = """ - type: command - short-summary: Show details of a secret. - examples: - - name: Show the details of a secret. - text: | - az containerapp secret show -n MyContainerapp -g MyResourceGroup --secret-name MySecret -""" - -helps['containerapp secret list'] = """ - type: command - short-summary: List the secrets of a container app. - examples: - - name: List the secrets of a container app. - text: | - az containerapp secret list -n MyContainerapp -g MyResourceGroup -""" - -helps['containerapp secret remove'] = """ - type: command - short-summary: Remove secrets from a container app. - examples: - - name: Remove secrets from a container app. - text: | - az containerapp secret remove -n MyContainerapp -g MyResourceGroup --secret-names MySecret MySecret2 -""" - -helps['containerapp secret set'] = """ - type: command - short-summary: Create/update secrets. - examples: - - name: Add secrets to a container app. - text: | - az containerapp secret set -n MyContainerapp -g MyResourceGroup --secrets MySecretName1=MySecretValue1 MySecretName2=MySecretValue2 - - name: Update a secret. - text: | - az containerapp secret set -n MyContainerapp -g MyResourceGroup --secrets MyExistingSecretName=MyNewSecretValue -""" - -helps['containerapp github-action'] = """ - type: group - short-summary: Commands to manage GitHub Actions. -""" - -helps['containerapp github-action add'] = """ - type: command - short-summary: Add a Github Actions workflow to a repository to deploy a container app. - examples: - - name: Add GitHub Actions, using Azure Container Registry and personal access token. - text: az containerapp github-action add -g MyResourceGroup -n MyContainerapp --repo-url https://github.com/userid/repo --branch main - --registry-url myregistryurl.azurecr.io - --service-principal-client-id 00000000-0000-0000-0000-00000000 - --service-principal-tenant-id 00000000-0000-0000-0000-00000000 - --service-principal-client-secret ClientSecret - --token MyAccessToken - - name: Add GitHub Actions, using Azure Container Registry and log in to GitHub flow to retrieve personal access token. - text: az containerapp github-action add -g MyResourceGroup -n MyContainerapp --repo-url https://github.com/userid/repo --branch main - --registry-url myregistryurl.azurecr.io - --service-principal-client-id 00000000-0000-0000-0000-00000000 - --service-principal-tenant-id 00000000-0000-0000-0000-00000000 - --service-principal-client-secret ClientSecret - --login-with-github - - name: Add GitHub Actions, using Docker Hub and log in to GitHub flow to retrieve personal access token. - text: az containerapp github-action add -g MyResourceGroup -n MyContainerapp --repo-url https://github.com/userid/repo --branch main - --registry-username MyUsername - --registry-password MyPassword - --service-principal-client-id 00000000-0000-0000-0000-00000000 - --service-principal-tenant-id 00000000-0000-0000-0000-00000000 - --service-principal-client-secret ClientSecret - --login-with-github -""" - -helps['containerapp github-action delete'] = """ - type: command - short-summary: Remove a previously configured Container Apps GitHub Actions workflow from a repository. - examples: - - name: Remove GitHub Actions using a personal access token. - text: az containerapp github-action delete -g MyResourceGroup -n MyContainerapp - --token MyAccessToken - - name: Remove GitHub Actions using log in to GitHub flow to retrieve personal access token. - text: az containerapp github-action delete -g MyResourceGroup -n MyContainerapp - --login-with-github -""" - -helps['containerapp github-action show'] = """ - type: command - short-summary: Show the GitHub Actions configuration on a container app. - examples: - - name: Show the GitHub Actions configuration on a Containerapp. - text: az containerapp github-action show -g MyResourceGroup -n MyContainerapp -""" - -# Dapr Commands -helps['containerapp dapr'] = """ - type: group - short-summary: Commands to manage Dapr. To manage Dapr components, see `az containerapp env dapr-component`. -""" - -helps['containerapp dapr enable'] = """ - type: command - short-summary: Enable Dapr for a container app. Updates existing values. - examples: - - name: Enable Dapr for a container app. - text: | - az containerapp dapr enable -n MyContainerapp -g MyResourceGroup --dapr-app-id my-app-id --dapr-app-port 8080 -""" - -helps['containerapp dapr disable'] = """ - type: command - short-summary: Disable Dapr for a container app. Removes existing values. - examples: - - name: Disable Dapr for a container app. - text: | - az containerapp dapr disable -n MyContainerapp -g MyResourceGroup -""" diff --git a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_models.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_models.py deleted file mode 100644 index 02e5bcb916a..00000000000 --- a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_models.py +++ /dev/null @@ -1,240 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - -# pylint: disable=line-too-long, too-many-statements, super-with-arguments - -VnetConfiguration = { - "infrastructureSubnetId": None, - "runtimeSubnetId": None, - "dockerBridgeCidr": None, - "platformReservedCidr": None, - "platformReservedDnsIP": None -} - -ManagedEnvironment = { - "location": None, - "tags": None, - "properties": { - "daprAIInstrumentationKey": None, - "vnetConfiguration": None, # VnetConfiguration - "internalLoadBalancerEnabled": None, - "appLogsConfiguration": None - } -} - -AppLogsConfiguration = { - "destination": None, - "logAnalyticsConfiguration": None -} - -LogAnalyticsConfiguration = { - "customerId": None, - "sharedKey": None -} - -# Containerapp - -Dapr = { - "enabled": False, - "appId": None, - "appProtocol": None, - "appPort": None -} - -EnvironmentVar = { - "name": None, - "value": None, - "secretRef": None -} - -ContainerResources = { - "cpu": None, - "memory": None -} - -VolumeMount = { - "volumeName": None, - "mountPath": None -} - -Container = { - "image": None, - "name": None, - "command": None, - "args": None, - "env": None, # [EnvironmentVar] - "resources": None, # ContainerResources - "volumeMounts": None, # [VolumeMount] -} - -Volume = { - "name": None, - "storageType": "EmptyDir", # AzureFile or EmptyDir - "storageName": None # None for EmptyDir, otherwise name of storage resource -} - -ScaleRuleAuth = { - "secretRef": None, - "triggerParameter": None -} - -QueueScaleRule = { - "queueName": None, - "queueLength": None, - "auth": None # ScaleRuleAuth -} - -CustomScaleRule = { - "type": None, - "metadata": {}, - "auth": None # ScaleRuleAuth -} - -HttpScaleRule = { - "metadata": {}, - "auth": None # ScaleRuleAuth -} - -ScaleRule = { - "name": None, - "azureQueue": None, # QueueScaleRule - "customScaleRule": None, # CustomScaleRule - "httpScaleRule": None, # HttpScaleRule -} - -Secret = { - "name": None, - "value": None -} - -Scale = { - "minReplicas": None, - "maxReplicas": None, - "rules": [] # list of ScaleRule -} - -TrafficWeight = { - "revisionName": None, - "weight": None, - "latestRevision": False -} - -BindingType = { - -} - -CustomDomain = { - "name": None, - "bindingType": None, # BindingType - "certificateId": None -} - -Ingress = { - "fqdn": None, - "external": False, - "targetPort": None, - "transport": None, # 'auto', 'http', 'http2' - "traffic": None, # TrafficWeight - "customDomains": None # [CustomDomain] -} - -RegistryCredentials = { - "server": None, - "username": None, - "passwordSecretRef": None -} - -Template = { - "revisionSuffix": None, - "containers": None, # [Container] - "scale": Scale, - "volumes": None # [Volume] -} - -Configuration = { - "secrets": None, # [Secret] - "activeRevisionsMode": None, # 'multiple' or 'single' - "ingress": None, # Ingress - "dapr": Dapr, - "registries": None # [RegistryCredentials] -} - -UserAssignedIdentity = { - -} - -ManagedServiceIdentity = { - "type": None, # 'None', 'SystemAssigned', 'UserAssigned', 'SystemAssigned,UserAssigned' - "userAssignedIdentities": None # {string: UserAssignedIdentity} -} - -ContainerApp = { - "location": None, - "identity": None, # ManagedServiceIdentity - "properties": { - "managedEnvironmentId": None, - "configuration": None, # Configuration - "template": None # Template - }, - "tags": None -} - -DaprComponent = { - "properties": { - "componentType": None, # String - "version": None, - "ignoreErrors": None, - "initTimeout": None, - "secrets": None, - "metadata": None, - "scopes": None - } -} - -DaprMetadata = { - "key": None, # str - "value": None, # str - "secret_ref": None # str -} - -SourceControl = { - "properties": { - "repoUrl": None, - "branch": None, - "githubActionConfiguration": None # [GitHubActionConfiguration] - } - -} - -GitHubActionConfiguration = { - "registryInfo": None, # [RegistryInfo] - "azureCredentials": None, # [AzureCredentials] - "image": None, # str - "contextPath": None, # str - "publishType": None, # str - "os": None, # str - "runtimeStack": None, # str - "runtimeVersion": None # str -} - -RegistryInfo = { - "registryUrl": None, # str - "registryUserName": None, # str - "registryPassword": None # str -} - -AzureCredentials = { - "clientId": None, # str - "clientSecret": None, # str - "tenantId": None, # str - "subscriptionId": None # str -} - -AzureFileProperties = { - "accountName": None, - "accountKey": None, - "accessMode": None, - "shareName": None -} diff --git a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_params.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_params.py deleted file mode 100644 index ffc21858791..00000000000 --- a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_params.py +++ /dev/null @@ -1,257 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -# pylint: disable=line-too-long, too-many-statements, consider-using-f-string - -from knack.arguments import CLIArgumentType - -from azure.cli.core.commands.parameters import (resource_group_name_type, get_location_type, - file_type, - get_three_state_flag, get_enum_type, tags_type) -# from azure.cli.core.commands.validators import get_default_location_from_resource_group - -from ._validators import (validate_memory, validate_cpu, validate_managed_env_name_or_id, validate_registry_server, - validate_registry_user, validate_registry_pass, validate_target_port, validate_ingress) - - -def load_arguments(self, _): - - name_type = CLIArgumentType(options_list=['--name', '-n']) - - with self.argument_context('containerapp') as c: - # Base arguments - c.argument('name', name_type, metavar='NAME', id_part='name', help="The name of the Containerapp.") - c.argument('resource_group_name', arg_type=resource_group_name_type) - c.argument('location', arg_type=get_location_type(self.cli_ctx)) - c.ignore('disable_warnings') - - with self.argument_context('containerapp') as c: - c.argument('tags', arg_type=tags_type) - c.argument('managed_env', validator=validate_managed_env_name_or_id, options_list=['--environment'], help="Name or resource ID of the container app's environment.") - c.argument('yaml', type=file_type, help='Path to a .yaml file with the configuration of a container app. All other parameters will be ignored. For an example, see https://docs.microsoft.com/azure/container-apps/azure-resource-manager-api-spec#examples') - - with self.argument_context('containerapp exec') as c: - c.argument('container', help="The name of the container to ssh into") - c.argument('replica', help="The name of the replica to ssh into. List replicas with 'az containerapp replica list'. A replica may not exist if there is not traffic to your app.") - c.argument('revision', help="The name of the container app revision to ssh into. Defaults to the latest revision.") - c.argument('startup_command', options_list=["--command"], help="The startup command (bash, zsh, sh, etc.).") - c.argument('name', name_type, id_part=None, help="The name of the Containerapp.") - c.argument('resource_group_name', arg_type=resource_group_name_type, id_part=None) - - with self.argument_context('containerapp logs show') as c: - c.argument('follow', help="Print logs in real time if present.", arg_type=get_three_state_flag()) - c.argument('tail', help="The number of past logs to print (0-300)", type=int, default=20) - c.argument('container', help="The name of the container") - c.argument('output_format', options_list=["--format"], help="Log output format", arg_type=get_enum_type(["json", "text"]), default="json") - c.argument('replica', help="The name of the replica. List replicas with 'az containerapp replica list'. A replica may not exist if there is not traffic to your app.") - c.argument('revision', help="The name of the container app revision. Defaults to the latest revision.") - c.argument('name', name_type, id_part=None, help="The name of the Containerapp.") - c.argument('resource_group_name', arg_type=resource_group_name_type, id_part=None) - - # Replica - with self.argument_context('containerapp replica') as c: - c.argument('replica', help="The name of the replica. ") - c.argument('revision', help="The name of the container app revision. Defaults to the latest revision.") - c.argument('name', name_type, id_part=None, help="The name of the Containerapp.") - c.argument('resource_group_name', arg_type=resource_group_name_type, id_part=None) - - # Container - with self.argument_context('containerapp', arg_group='Container') as c: - c.argument('container_name', help="Name of the container.") - c.argument('cpu', type=float, validator=validate_cpu, help="Required CPU in cores from 0.25 - 2.0, e.g. 0.5") - c.argument('memory', validator=validate_memory, help="Required memory from 0.5 - 4.0 ending with \"Gi\", e.g. 1.0Gi") - c.argument('env_vars', nargs='*', help="A list of environment variable(s) for the container. Space-separated values in 'key=value' format. Empty string to clear existing values. Prefix value with 'secretref:' to reference a secret.") - c.argument('startup_command', nargs='*', options_list=['--command'], help="A list of supported commands on the container that will executed during startup. Space-separated values e.g. \"/bin/queue\" \"mycommand\". Empty string to clear existing values") - c.argument('args', nargs='*', help="A list of container startup command argument(s). Space-separated values e.g. \"-c\" \"mycommand\". Empty string to clear existing values") - c.argument('revision_suffix', help='User friendly suffix that is appended to the revision name') - - # Env vars - with self.argument_context('containerapp', arg_group='Environment variables') as c: - c.argument('set_env_vars', nargs='*', help="Add or update environment variable(s) in container. Existing environmentenvironment variables are not modified. Space-separated values in 'key=value' format. If stored as a secret, value must start with 'secretref:' followed by the secret name.") - c.argument('remove_env_vars', nargs='*', help="Remove environment variable(s) from container. Space-separated environment variable names.") - c.argument('replace_env_vars', nargs='*', help="Replace environment variable(s) in container. Other existing environment variables are removed. Space-separated values in 'key=value' format. If stored as a secret, value must start with 'secretref:' followed by the secret name.") - c.argument('remove_all_env_vars', help="Remove all environment variable(s) from container..") - - # Scale - with self.argument_context('containerapp', arg_group='Scale') as c: - c.argument('min_replicas', type=int, help="The minimum number of replicas.") - c.argument('max_replicas', type=int, help="The maximum number of replicas.") - - # Dapr - with self.argument_context('containerapp', arg_group='Dapr') as c: - c.argument('dapr_enabled', options_list=['--enable-dapr'], default=False, arg_type=get_three_state_flag(), help="Boolean indicating if the Dapr side car is enabled.") - c.argument('dapr_app_port', type=int, help="The port Dapr uses to talk to the application.") - c.argument('dapr_app_id', help="The Dapr application identifier.") - c.argument('dapr_app_protocol', arg_type=get_enum_type(['http', 'grpc']), help="The protocol Dapr uses to talk to the application.") - - # Configuration - with self.argument_context('containerapp', arg_group='Configuration') as c: - c.argument('revisions_mode', arg_type=get_enum_type(['single', 'multiple']), help="The active revisions mode for the container app.") - c.argument('registry_server', validator=validate_registry_server, help="The container registry server hostname, e.g. myregistry.azurecr.io.") - c.argument('registry_pass', validator=validate_registry_pass, options_list=['--registry-password'], help="The password to log in to container registry. If stored as a secret, value must start with \'secretref:\' followed by the secret name.") - c.argument('registry_user', validator=validate_registry_user, options_list=['--registry-username'], help="The username to log in to container registry.") - c.argument('secrets', nargs='*', options_list=['--secrets', '-s'], help="A list of secret(s) for the container app. Space-separated values in 'key=value' format.") - - # Ingress - with self.argument_context('containerapp', arg_group='Ingress') as c: - c.argument('ingress', validator=validate_ingress, default=None, arg_type=get_enum_type(['internal', 'external']), help="The ingress type.") - c.argument('target_port', type=int, validator=validate_target_port, help="The application port used for ingress traffic.") - c.argument('transport', arg_type=get_enum_type(['auto', 'http', 'http2']), help="The transport protocol used for ingress traffic.") - - with self.argument_context('containerapp create') as c: - c.argument('traffic_weights', nargs='*', options_list=['--traffic-weight'], help="A list of revision weight(s) for the container app. Space-separated values in 'revision_name=weight' format. For latest revision, use 'latest=weight'") - - with self.argument_context('containerapp create', arg_group='Identity') as c: - c.argument('user_assigned', nargs='+', help="Space-separated user identities to be assigned.") - c.argument('system_assigned', help="Boolean indicating whether to assign system-assigned identity.") - - with self.argument_context('containerapp create', arg_group='Container') as c: - c.argument('image', options_list=['--image', '-i'], help="Container image, e.g. publisher/image-name:tag.") - - with self.argument_context('containerapp update', arg_group='Container') as c: - c.argument('image', options_list=['--image', '-i'], help="Container image, e.g. publisher/image-name:tag.") - - with self.argument_context('containerapp scale') as c: - c.argument('min_replicas', type=int, help="The minimum number of replicas.") - c.argument('max_replicas', type=int, help="The maximum number of replicas.") - - with self.argument_context('containerapp env') as c: - c.argument('name', name_type, help='Name of the Container Apps environment.') - c.argument('resource_group_name', arg_type=resource_group_name_type) - c.argument('location', arg_type=get_location_type(self.cli_ctx), help='Location of resource. Examples: eastus2, northeurope') - c.argument('tags', arg_type=tags_type) - - with self.argument_context('containerapp env', arg_group='Log Analytics') as c: - c.argument('logs_customer_id', options_list=['--logs-workspace-id'], help='Name or resource ID of the Log Analytics workspace to send diagnostics logs to. You can use \"az monitor log-analytics workspace create\" to create one. Extra billing may apply.') - c.argument('logs_key', options_list=['--logs-workspace-key'], help='Log Analytics workspace key to configure your Log Analytics workspace. You can use \"az monitor log-analytics workspace get-shared-keys\" to retrieve the key.') - - with self.argument_context('containerapp env', arg_group='Dapr') as c: - c.argument('instrumentation_key', options_list=['--dapr-instrumentation-key'], help='Application Insights instrumentation key used by Dapr to export Service to Service communication telemetry') - - with self.argument_context('containerapp env', arg_group='Virtual Network') as c: - c.argument('infrastructure_subnet_resource_id', options_list=['--infrastructure-subnet-resource-id'], help='Resource ID of a subnet for infrastructure components and user app containers.') - c.argument('app_subnet_resource_id', options_list=['--app-subnet-resource-id'], help='Resource ID of a subnet that Container App containers are injected into. This subnet must be in the same VNET as the subnet defined in infrastructureSubnetResourceId.') - c.argument('docker_bridge_cidr', options_list=['--docker-bridge-cidr'], help='CIDR notation IP range assigned to the Docker bridge. It must not overlap with any Subnet IP ranges or the IP range defined in Platform Reserved CIDR, if defined') - c.argument('platform_reserved_cidr', options_list=['--platform-reserved-cidr'], help='IP range in CIDR notation that can be reserved for environment infrastructure IP addresses. It must not overlap with any other Subnet IP ranges') - c.argument('platform_reserved_dns_ip', options_list=['--platform-reserved-dns-ip'], help='An IP address from the IP range defined by Platform Reserved CIDR that will be reserved for the internal DNS server.') - c.argument('internal_only', arg_type=get_three_state_flag(), options_list=['--internal-only'], help='Boolean indicating the environment only has an internal load balancer. These environments do not have a public static IP resource, therefore must provide infrastructureSubnetResourceId if enabling this property') - - with self.argument_context('containerapp env update') as c: - c.argument('name', name_type, help='Name of the Container Apps environment.') - c.argument('tags', arg_type=tags_type) - - with self.argument_context('containerapp env delete') as c: - c.argument('name', name_type, help='Name of the Container Apps Environment.') - - with self.argument_context('containerapp env show') as c: - c.argument('name', name_type, help='Name of the Container Apps Environment.') - - with self.argument_context('containerapp env storage') as c: - c.argument('name', id_part=None) - c.argument('storage_name', help="Name of the storage.") - c.argument('access_mode', id_part=None, arg_type=get_enum_type(["ReadWrite", "ReadOnly"]), help="Access mode for the AzureFile storage.") - c.argument('azure_file_account_key', options_list=["--azure-file-account-key", "--storage-account-key", "-k"], help="Key of the AzureFile storage account.") - c.argument('azure_file_share_name', options_list=["--azure-file-share-name", "--file-share", "-f"], help="Name of the share on the AzureFile storage.") - c.argument('azure_file_account_name', options_list=["--azure-file-account-name", "--account-name", "-a"], help="Name of the AzureFile storage account.") - - with self.argument_context('containerapp identity') as c: - c.argument('user_assigned', nargs='+', help="Space-separated user identities.") - c.argument('system_assigned', help="Boolean indicating whether to assign system-assigned identity.") - - with self.argument_context('containerapp identity remove') as c: - c.argument('user_assigned', nargs='*', help="Space-separated user identities. If no user identities are specified, all user identities will be removed.") - - with self.argument_context('containerapp github-action add') as c: - c.argument('repo_url', help='The GitHub repository to which the workflow file will be added. In the format: https://github.com//') - c.argument('token', help='A Personal Access Token with write access to the specified repository. For more information: https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line') - c.argument('branch', options_list=['--branch', '-b'], help='The branch of the Github repo. Assumed to be the Github repo\'s default branch if not specified.') - c.argument('login_with_github', help='Interactively log in with Github to retrieve the Personal Access Token') - c.argument('registry_url', help='The container registry server, e.g. myregistry.azurecr.io') - c.argument('registry_username', help='The username of the registry. If using Azure Container Registry, we will try to infer the credentials if not supplied') - c.argument('registry_password', help='The password of the registry. If using Azure Container Registry, we will try to infer the credentials if not supplied') - c.argument('context_path', help='Path in the repo from which to run the docker build. Defaults to "./"') - c.argument('service_principal_client_id', help='The service principal client ID. ') - c.argument('service_principal_client_secret', help='The service principal client secret.') - c.argument('service_principal_tenant_id', help='The service principal tenant ID.') - c.argument('image', options_list=['--image', '-i'], help="Container image name that the Github Action should use. Defaults to the Container App name.") - - with self.argument_context('containerapp github-action delete') as c: - c.argument('token', help='A Personal Access Token with write access to the specified repository. For more information: https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line') - c.argument('login_with_github', help='Interactively log in with Github to retrieve the Personal Access Token') - - with self.argument_context('containerapp revision') as c: - c.argument('revision_name', options_list=['--revision'], help='Name of the revision.') - - with self.argument_context('containerapp revision copy') as c: - c.argument('from_revision', help='Revision to copy from. Default: latest revision.') - c.argument('image', options_list=['--image', '-i'], help="Container image, e.g. publisher/image-name:tag.") - - with self.argument_context('containerapp revision label') as c: - c.argument('name', id_part=None) - c.argument('revision', help='Name of the revision.') - c.argument('label', help='Name of the label.') - - with self.argument_context('containerapp ingress') as c: - c.argument('allow_insecure', help='Allow insecure connections for ingress traffic.') - c.argument('type', validator=validate_ingress, arg_type=get_enum_type(['internal', 'external']), help="The ingress type.") - c.argument('transport', arg_type=get_enum_type(['auto', 'http', 'http2']), help="The transport protocol used for ingress traffic.") - c.argument('target_port', type=int, validator=validate_target_port, help="The application port used for ingress traffic.") - - with self.argument_context('containerapp ingress traffic') as c: - c.argument('revision_weights', nargs='+', options_list=['--revision-weight', c.deprecate(target='--traffic-weight', redirect='--revision-weight')], help="A list of revision weight(s) for the container app. Space-separated values in 'revision_name=weight' format. For latest revision, use 'latest=weight'") - c.argument('label_weights', nargs='+', options_list=['--label-weight'], help="A list of label weight(s) for the container app. Space-separated values in 'label_name=weight' format.") - - with self.argument_context('containerapp secret') as c: - c.argument('secrets', nargs='+', options_list=['--secrets', '-s'], help="A list of secret(s) for the container app. Space-separated values in 'key=value' format (where 'key' cannot be longer than 20 characters).") - c.argument('secret_name', help="The name of the secret to show.") - c.argument('secret_names', nargs='+', help="A list of secret(s) for the container app. Space-separated secret values names.") - c.argument('show_values', help='Show the secret values.') - - with self.argument_context('containerapp env dapr-component') as c: - c.argument('dapr_app_id', help="The Dapr app ID.") - c.argument('dapr_app_port', help="The port of your app.") - c.argument('dapr_app_protocol', help="Tell Dapr which protocol your application is using. Allowed values: grpc, http.") - c.argument('dapr_component_name', help="The Dapr component name.") - c.argument('environment_name', options_list=['--name', '-n'], help="The environment name.") - - with self.argument_context('containerapp revision set-mode') as c: - c.argument('mode', arg_type=get_enum_type(['single', 'multiple']), help="The active revisions mode for the container app.") - - with self.argument_context('containerapp registry') as c: - c.argument('server', help="The container registry server, e.g. myregistry.azurecr.io") - c.argument('username', help='The username of the registry. If using Azure Container Registry, we will try to infer the credentials if not supplied') - c.argument('password', help='The password of the registry. If using Azure Container Registry, we will try to infer the credentials if not supplied') - - with self.argument_context('containerapp registry list') as c: - c.argument('name', id_part=None) - - with self.argument_context('containerapp secret list') as c: - c.argument('name', id_part=None) - - with self.argument_context('containerapp revision list') as c: - c.argument('name', id_part=None) - - with self.argument_context('containerapp up') as c: - c.argument('resource_group_name', configured_default='resource_group_name', id_part=None) - c.argument('location', configured_default='location') - c.argument('name', configured_default='name', id_part=None) - c.argument('managed_env', configured_default='managed_env') - c.argument('registry_server', configured_default='registry_server') - c.argument('source', help='Local directory path to upload to Azure container registry.') - c.argument('image', options_list=['--image', '-i'], help="Container image, e.g. publisher/image-name:tag.") - c.argument('browse', help='Open the app in a web browser after creation and deployment, if possible.') - - with self.argument_context('containerapp up', arg_group='Log Analytics (Environment)') as c: - c.argument('logs_customer_id', options_list=['--logs-workspace-id'], help='Name or resource ID of the Log Analytics workspace to send diagnostics logs to. You can use \"az monitor log-analytics workspace create\" to create one. Extra billing may apply.') - c.argument('logs_key', options_list=['--logs-workspace-key'], help='Log Analytics workspace key to configure your Log Analytics workspace. You can use \"az monitor log-analytics workspace get-shared-keys\" to retrieve the key.') - c.ignore('no_wait') - - with self.argument_context('containerapp up', arg_group='Github Repo') as c: - c.argument('repo', help='Create an app via Github Actions. In the format: https://github.com// or /') - c.argument('token', help='A Personal Access Token with write access to the specified repository. For more information: https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line. If not provided or not found in the cache (and using --repo), a browser page will be opened to authenticate with Github.') - c.argument('branch', options_list=['--branch', '-b'], help='The branch of the Github repo. Assumed to be the Github repo\'s default branch if not specified.') - c.argument('context_path', help='Path in the repo from which to run the docker build. Defaults to "./". Dockerfile is assumed to be named "Dockerfile" and in this directory.') - c.argument('service_principal_client_id', help='The service principal client ID. Used by Github Actions to authenticate with Azure.', options_list=["--service-principal-client-id", "--sp-cid"]) - c.argument('service_principal_client_secret', help='The service principal client secret. Used by Github Actions to authenticate with Azure.', options_list=["--service-principal-client-secret", "--sp-sec"]) - c.argument('service_principal_tenant_id', help='The service principal tenant ID. Used by Github Actions to authenticate with Azure.', options_list=["--service-principal-tenant-id", "--sp-tid"]) diff --git a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_sdk_models.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_sdk_models.py deleted file mode 100644 index dd93bfce7c2..00000000000 --- a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_sdk_models.py +++ /dev/null @@ -1,3396 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - -# coding=utf-8 -# -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- -# pylint: disable=line-too-long, super-with-arguments, too-many-instance-attributes - -from msrest.serialization import Model -from msrest.exceptions import HttpOperationError - - -class AllowedAudiencesValidation(Model): - """The configuration settings of the Allowed Audiences validation flow. - - :param allowed_audiences: The configuration settings of the allowed list - of audiences from which to validate the JWT token. - :type allowed_audiences: list[str] - """ - - _attribute_map = { - 'allowed_audiences': {'key': 'allowedAudiences', 'type': '[str]'}, - } - - def __init__(self, **kwargs): - super(AllowedAudiencesValidation, self).__init__(**kwargs) - self.allowed_audiences = kwargs.get('allowed_audiences', None) - - -class Apple(Model): - """The configuration settings of the Apple provider. - - :param state: Disabled if the Apple provider should not be - enabled despite the set registration; otherwise, Enabled. - Possible values include: 'Enabled', 'Disabled' - :type state: str or ~commondefinitions.models.IdentityProviderState - :param registration: The configuration settings of the Apple registration. - :type registration: ~commondefinitions.models.AppleRegistration - :param login: The configuration settings of the login flow. - :type login: ~commondefinitions.models.LoginScopes - """ - - _attribute_map = { - 'state': {'key': 'state', 'type': 'str'}, - 'registration': {'key': 'registration', 'type': 'AppleRegistration'}, - 'login': {'key': 'login', 'type': 'LoginScopes'}, - } - - def __init__(self, **kwargs): - super(Apple, self).__init__(**kwargs) - self.state = kwargs.get('state', None) - self.registration = kwargs.get('registration', None) - self.login = kwargs.get('login', None) - - -class AppleRegistration(Model): - """The configuration settings of the registration for the Apple provider. - - :param client_id: The Client ID of the app used for login. - :type client_id: str - :param client_secret_ref_name: The app secret ref name that contains the - client secret. - :type client_secret_ref_name: str - """ - - _attribute_map = { - 'client_id': {'key': 'clientId', 'type': 'str'}, - 'client_secret_ref_name': {'key': 'clientSecretRefName', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(AppleRegistration, self).__init__(**kwargs) - self.client_id = kwargs.get('client_id', None) - self.client_secret_ref_name = kwargs.get('client_secret_ref_name', None) - - -class AppLogsConfiguration(Model): - """Configuration of application logs. - - :param destination: Logs destination - :type destination: str - :param log_analytics_configuration: Log Analytics configuration - :type log_analytics_configuration: - ~commondefinitions.models.LogAnalyticsConfiguration - """ - - _attribute_map = { - 'destination': {'key': 'destination', 'type': 'str'}, - 'log_analytics_configuration': {'key': 'logAnalyticsConfiguration', 'type': 'LogAnalyticsConfiguration'}, - } - - def __init__(self, **kwargs): - super(AppLogsConfiguration, self).__init__(**kwargs) - self.destination = kwargs.get('destination', None) - self.log_analytics_configuration = kwargs.get('log_analytics_configuration', None) - - -class AppRegistration(Model): - """The configuration settings of the app registration for providers that have - app ids and app secrets. - - :param app_id: The App ID of the app used for login. - :type app_id: str - :param app_secret_ref_name: The app secret ref name that contains the app - secret. - :type app_secret_ref_name: str - """ - - _attribute_map = { - 'app_id': {'key': 'appId', 'type': 'str'}, - 'app_secret_ref_name': {'key': 'appSecretRefName', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(AppRegistration, self).__init__(**kwargs) - self.app_id = kwargs.get('app_id', None) - self.app_secret_ref_name = kwargs.get('app_secret_ref_name', None) - - -class Resource(Model): - """Resource. - - Common fields that are returned in the response for all Azure Resource - Manager resources. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - :vartype id: str - :ivar name: The name of the resource - :vartype name: str - :ivar type: The type of the resource. E.g. - "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy - and modifiedBy information. - :vartype system_data: ~commondefinitions.models.SystemData - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'system_data': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'system_data': {'key': 'systemData', 'type': 'SystemData'}, - } - - def __init__(self, **kwargs): - super(Resource, self).__init__(**kwargs) - self.id = None - self.name = None - self.type = None - self.system_data = None - - -class ProxyResource(Resource): - """Proxy Resource. - - The resource model definition for a Azure Resource Manager proxy resource. - It will not have tags and a location. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - :vartype id: str - :ivar name: The name of the resource - :vartype name: str - :ivar type: The type of the resource. E.g. - "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy - and modifiedBy information. - :vartype system_data: ~commondefinitions.models.SystemData - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'system_data': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'system_data': {'key': 'systemData', 'type': 'SystemData'}, - } - - # def __init__(self, **kwargs): - # super(ProxyResource, self).__init__(**kwargs) - - -class AuthConfig(ProxyResource): - """Configuration settings for the Azure ContainerApp Authentication / - Authorization feature. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - :vartype id: str - :ivar name: The name of the resource - :vartype name: str - :ivar type: The type of the resource. E.g. - "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy - and modifiedBy information. - :vartype system_data: ~commondefinitions.models.SystemData - :param state: Enabled if the Authentication / Authorization - feature is enabled for the current app; otherwise, Disabled. - Possible values include: 'Enabled', 'Disabled' - :type state: str or ~commondefinitions.models.EasyAuthState - :param global_validation: The configuration settings that determines the - validation flow of users using ContainerApp Authentication/Authorization. - :type global_validation: ~commondefinitions.models.GlobalValidation - :param identity_providers: The configuration settings of each of the - identity providers used to configure ContainerApp - Authentication/Authorization. - :type identity_providers: ~commondefinitions.models.IdentityProviders - :param login: The configuration settings of the login flow of users using - ContainerApp Authentication/Authorization. - :type login: ~commondefinitions.models.Login - :param http_settings: The configuration settings of the HTTP requests for - authentication and authorization requests made against ContainerApp - Authentication/Authorization. - :type http_settings: ~commondefinitions.models.HttpSettings - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'system_data': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'system_data': {'key': 'systemData', 'type': 'SystemData'}, - 'state': {'key': 'properties.state', 'type': 'str'}, - 'global_validation': {'key': 'properties.globalValidation', 'type': 'GlobalValidation'}, - 'identity_providers': {'key': 'properties.identityProviders', 'type': 'IdentityProviders'}, - 'login': {'key': 'properties.login', 'type': 'Login'}, - 'http_settings': {'key': 'properties.httpSettings', 'type': 'HttpSettings'}, - } - - def __init__(self, **kwargs): - super(AuthConfig, self).__init__(**kwargs) - self.state = kwargs.get('state', None) - self.global_validation = kwargs.get('global_validation', None) - self.identity_providers = kwargs.get('identity_providers', None) - self.login = kwargs.get('login', None) - self.http_settings = kwargs.get('http_settings', None) - - -class AuthConfigCollection(Model): - """AuthConfig collection ARM resource. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :param value: Required. Collection of resources. - :type value: list[~commondefinitions.models.AuthConfig] - :ivar next_link: Link to next page of resources. - :vartype next_link: str - """ - - _validation = { - 'value': {'required': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[AuthConfig]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(AuthConfigCollection, self).__init__(**kwargs) - self.value = kwargs.get('value', None) - self.next_link = None - - -class AvailableOperations(Model): - """Available operations of the service. - - :param value: Collection of available operation details - :type value: list[~commondefinitions.models.OperationDetail] - :param next_link: URL client should use to fetch the next page (per server - side paging). - It's null for now, added for future use. - :type next_link: str - """ - - _attribute_map = { - 'value': {'key': 'value', 'type': '[OperationDetail]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(AvailableOperations, self).__init__(**kwargs) - self.value = kwargs.get('value', None) - self.next_link = kwargs.get('next_link', None) - - -class AzureActiveDirectory(Model): - """The configuration settings of the Azure Active directory provider. - - :param state: Disabled if the Azure Active Directory provider - should not be enabled despite the set registration; otherwise, - Enabled. Possible values include: 'Enabled', 'Disabled' - :type state: str or ~commondefinitions.models.IdentityProviderState - :param registration: The configuration settings of the Azure Active - Directory app registration. - :type registration: - ~commondefinitions.models.AzureActiveDirectoryRegistration - :param login: The configuration settings of the Azure Active Directory - login flow. - :type login: ~commondefinitions.models.AzureActiveDirectoryLogin - :param validation: The configuration settings of the Azure Active - Directory token validation flow. - :type validation: ~commondefinitions.models.AzureActiveDirectoryValidation - """ - - _attribute_map = { - 'state': {'key': 'state', 'type': 'str'}, - 'registration': {'key': 'registration', 'type': 'AzureActiveDirectoryRegistration'}, - 'login': {'key': 'login', 'type': 'AzureActiveDirectoryLogin'}, - 'validation': {'key': 'validation', 'type': 'AzureActiveDirectoryValidation'}, - } - - def __init__(self, **kwargs): - super(AzureActiveDirectory, self).__init__(**kwargs) - self.state = kwargs.get('state', None) - self.registration = kwargs.get('registration', None) - self.login = kwargs.get('login', None) - self.validation = kwargs.get('validation', None) - - -class AzureActiveDirectoryLogin(Model): - """The configuration settings of the Azure Active Directory login flow. - - :param login_parameters: Login parameters to send to the OpenID Connect - authorization endpoint when - a user logs in. Each parameter must be in the form "key=value". - :type login_parameters: list[str] - :param disable_www_authenticate: true if the www-authenticate - provider should be omitted from the request; otherwise, - false. Possible values include: 'True', 'False' - :type disable_www_authenticate: str or - ~commondefinitions.models.DisableWwwAuthenticateMode - """ - - _attribute_map = { - 'login_parameters': {'key': 'loginParameters', 'type': '[str]'}, - 'disable_www_authenticate': {'key': 'disableWwwAuthenticate', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(AzureActiveDirectoryLogin, self).__init__(**kwargs) - self.login_parameters = kwargs.get('login_parameters', None) - self.disable_www_authenticate = kwargs.get('disable_www_authenticate', None) - - -class AzureActiveDirectoryRegistration(Model): - """The configuration settings of the Azure Active Directory app registration. - - :param open_id_issuer: The OpenID Connect Issuer URI that represents the - entity which issues access tokens for this application. - When using Azure Active Directory, this value is the URI of the directory - tenant, e.g. https://login.microsoftonline.com/v2.0/{tenant-guid}/. - This URI is a case-sensitive identifier for the token issuer. - More information on OpenID Connect Discovery: - http://openid.net/specs/openid-connect-discovery-1_0.html - :type open_id_issuer: str - :param client_id: The Client ID of this relying party application, known - as the client_id. - This setting is required for enabling OpenID Connection authentication - with Azure Active Directory or - other 3rd party OpenID Connect providers. - More information on OpenID Connect: - http://openid.net/specs/openid-connect-core-1_0.html - :type client_id: str - :param client_secret_ref_name: The app secret ref name that contains the - client secret of the relying party application. - :type client_secret_ref_name: str - :param client_secret_certificate_thumbprint: An alternative to the client - secret, that is the thumbprint of a certificate used for signing purposes. - This property acts as - a replacement for the Client Secret. It is also optional. - :type client_secret_certificate_thumbprint: str - :param client_secret_certificate_subject_alternative_name: An alternative - to the client secret thumbprint, that is the subject alternative name of a - certificate used for signing purposes. This property acts as - a replacement for the Client Secret Certificate Thumbprint. It is also - optional. - :type client_secret_certificate_subject_alternative_name: str - :param client_secret_certificate_issuer: An alternative to the client - secret thumbprint, that is the issuer of a certificate used for signing - purposes. This property acts as - a replacement for the Client Secret Certificate Thumbprint. It is also - optional. - :type client_secret_certificate_issuer: str - """ - - _attribute_map = { - 'open_id_issuer': {'key': 'openIdIssuer', 'type': 'str'}, - 'client_id': {'key': 'clientId', 'type': 'str'}, - 'client_secret_ref_name': {'key': 'clientSecretRefName', 'type': 'str'}, - 'client_secret_certificate_thumbprint': {'key': 'clientSecretCertificateThumbprint', 'type': 'str'}, - 'client_secret_certificate_subject_alternative_name': {'key': 'clientSecretCertificateSubjectAlternativeName', 'type': 'str'}, - 'client_secret_certificate_issuer': {'key': 'clientSecretCertificateIssuer', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(AzureActiveDirectoryRegistration, self).__init__(**kwargs) - self.open_id_issuer = kwargs.get('open_id_issuer', None) - self.client_id = kwargs.get('client_id', None) - self.client_secret_ref_name = kwargs.get('client_secret_ref_name', None) - self.client_secret_certificate_thumbprint = kwargs.get('client_secret_certificate_thumbprint', None) - self.client_secret_certificate_subject_alternative_name = kwargs.get('client_secret_certificate_subject_alternative_name', None) - self.client_secret_certificate_issuer = kwargs.get('client_secret_certificate_issuer', None) - - -class AzureActiveDirectoryValidation(Model): - """The configuration settings of the Azure Active Directory token validation - flow. - - :param allowed_audiences: The list of audiences that can make successful - authentication/authorization requests. - :type allowed_audiences: list[str] - """ - - _attribute_map = { - 'allowed_audiences': {'key': 'allowedAudiences', 'type': '[str]'}, - } - - def __init__(self, **kwargs): - super(AzureActiveDirectoryValidation, self).__init__(**kwargs) - self.allowed_audiences = kwargs.get('allowed_audiences', None) - - -class AzureCredentials(Model): - """Container App credentials. - - :param client_id: Client Id. - :type client_id: str - :param client_secret: Client Secret. - :type client_secret: str - :param tenant_id: Tenant Id. - :type tenant_id: str - :param subscription_id: Subscription Id. - :type subscription_id: str - """ - - _attribute_map = { - 'client_id': {'key': 'clientId', 'type': 'str'}, - 'client_secret': {'key': 'clientSecret', 'type': 'str'}, - 'tenant_id': {'key': 'tenantId', 'type': 'str'}, - 'subscription_id': {'key': 'subscriptionId', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(AzureCredentials, self).__init__(**kwargs) - self.client_id = kwargs.get('client_id', None) - self.client_secret = kwargs.get('client_secret', None) - self.tenant_id = kwargs.get('tenant_id', None) - self.subscription_id = kwargs.get('subscription_id', None) - - -class AzureEntityResource(Resource): - """Entity Resource. - - The resource model definition for an Azure Resource Manager resource with - an etag. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - :vartype id: str - :ivar name: The name of the resource - :vartype name: str - :ivar type: The type of the resource. E.g. - "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy - and modifiedBy information. - :vartype system_data: ~commondefinitions.models.SystemData - :ivar etag: Resource Etag. - :vartype etag: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'system_data': {'readonly': True}, - 'etag': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'system_data': {'key': 'systemData', 'type': 'SystemData'}, - 'etag': {'key': 'etag', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(AzureEntityResource, self).__init__(**kwargs) - self.etag = None - - -class AzureFileProperties(Model): - """Azure File Properties. - - :param account_name: Storage account name for azure file. - :type account_name: str - :param account_key: Storage account key for azure file. - :type account_key: str - :param access_mode: Access mode for storage. Possible values include: - 'ReadOnly', 'ReadWrite' - :type access_mode: str or ~commondefinitions.models.AccessMode - :param share_name: Azure file share name. - :type share_name: str - """ - - _attribute_map = { - 'account_name': {'key': 'accountName', 'type': 'str'}, - 'account_key': {'key': 'accountKey', 'type': 'str'}, - 'access_mode': {'key': 'accessMode', 'type': 'str'}, - 'share_name': {'key': 'shareName', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(AzureFileProperties, self).__init__(**kwargs) - self.account_name = kwargs.get('account_name', None) - self.account_key = kwargs.get('account_key', None) - self.access_mode = kwargs.get('access_mode', None) - self.share_name = kwargs.get('share_name', None) - - -class AzureStaticWebApp(Model): - """The configuration settings of the Azure Static Web Apps provider. - - :param state: Disabled if the Azure Static Web Apps provider - should not be enabled despite the set registration; otherwise, - Enabled. Possible values include: 'Enabled', 'Disabled' - :type state: str or ~commondefinitions.models.IdentityProviderState - :param registration: The configuration settings of the Azure Static Web - Apps registration. - :type registration: - ~commondefinitions.models.AzureStaticWebAppRegistration - """ - - _attribute_map = { - 'state': {'key': 'state', 'type': 'str'}, - 'registration': {'key': 'registration', 'type': 'AzureStaticWebAppRegistration'}, - } - - def __init__(self, **kwargs): - super(AzureStaticWebApp, self).__init__(**kwargs) - self.state = kwargs.get('state', None) - self.registration = kwargs.get('registration', None) - - -class AzureStaticWebAppRegistration(Model): - """The configuration settings of the registration for the Azure Static Web - Apps provider. - - :param client_id: The Client ID of the app used for login. - :type client_id: str - """ - - _attribute_map = { - 'client_id': {'key': 'clientId', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(AzureStaticWebAppRegistration, self).__init__(**kwargs) - self.client_id = kwargs.get('client_id', None) - - -class TrackedResource(Resource): - """Tracked Resource. - - The resource model definition for an Azure Resource Manager tracked top - level resource which has 'tags' and a 'location'. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - :vartype id: str - :ivar name: The name of the resource - :vartype name: str - :ivar type: The type of the resource. E.g. - "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy - and modifiedBy information. - :vartype system_data: ~commondefinitions.models.SystemData - :param tags: Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives - :type location: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'system_data': {'readonly': True}, - 'location': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'system_data': {'key': 'systemData', 'type': 'SystemData'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'location': {'key': 'location', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(TrackedResource, self).__init__(**kwargs) - self.tags = kwargs.get('tags', None) - self.location = kwargs.get('location', None) - - -class Certificate(TrackedResource): - """Certificate used for Custom Domain bindings of Container Apps in a Managed - Environment. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - :vartype id: str - :ivar name: The name of the resource - :vartype name: str - :ivar type: The type of the resource. E.g. - "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy - and modifiedBy information. - :vartype system_data: ~commondefinitions.models.SystemData - :param tags: Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives - :type location: str - :param properties: Certificate resource specific properties - :type properties: ~commondefinitions.models.CertificateProperties - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'system_data': {'readonly': True}, - 'location': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'system_data': {'key': 'systemData', 'type': 'SystemData'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'location': {'key': 'location', 'type': 'str'}, - 'properties': {'key': 'properties', 'type': 'CertificateProperties'}, - } - - def __init__(self, **kwargs): - super(Certificate, self).__init__(**kwargs) - self.properties = kwargs.get('properties', None) - - -class CertificateCollection(Model): - """Collection of Certificates. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :param value: Required. Collection of resources. - :type value: list[~commondefinitions.models.Certificate] - :ivar next_link: Link to next page of resources. - :vartype next_link: str - """ - - _validation = { - 'value': {'required': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[Certificate]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(CertificateCollection, self).__init__(**kwargs) - self.value = kwargs.get('value', None) - self.next_link = None - - -class CertificatePatch(Model): - """A certificate to update. - - :param tags: Application-specific metadata in the form of key-value pairs. - :type tags: dict[str, str] - """ - - _attribute_map = { - 'tags': {'key': 'tags', 'type': '{str}'}, - } - - def __init__(self, **kwargs): - super(CertificatePatch, self).__init__(**kwargs) - self.tags = kwargs.get('tags', None) - - -class CertificateProperties(Model): - """Certificate resource specific properties. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :param password: Certificate password. - :type password: str - :ivar subject_name: Subject name of the certificate. - :vartype subject_name: str - :param value: PFX or PEM blob - :type value: bytearray - :ivar issuer: Certificate issuer. - :vartype issuer: str - :ivar issue_date: Certificate issue Date. - :vartype issue_date: datetime - :ivar expiration_date: Certificate expiration date. - :vartype expiration_date: datetime - :ivar thumbprint: Certificate thumbprint. - :vartype thumbprint: str - :ivar valid: Is the certificate valid?. - :vartype valid: bool - :ivar public_key_hash: Public key hash. - :vartype public_key_hash: str - """ - - _validation = { - 'subject_name': {'readonly': True}, - 'issuer': {'readonly': True}, - 'issue_date': {'readonly': True}, - 'expiration_date': {'readonly': True}, - 'thumbprint': {'readonly': True}, - 'valid': {'readonly': True}, - 'public_key_hash': {'readonly': True}, - } - - _attribute_map = { - 'password': {'key': 'password', 'type': 'str'}, - 'subject_name': {'key': 'subjectName', 'type': 'str'}, - 'value': {'key': 'value', 'type': 'bytearray'}, - 'issuer': {'key': 'issuer', 'type': 'str'}, - 'issue_date': {'key': 'issueDate', 'type': 'iso-8601'}, - 'expiration_date': {'key': 'expirationDate', 'type': 'iso-8601'}, - 'thumbprint': {'key': 'thumbprint', 'type': 'str'}, - 'valid': {'key': 'valid', 'type': 'bool'}, - 'public_key_hash': {'key': 'publicKeyHash', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(CertificateProperties, self).__init__(**kwargs) - self.password = kwargs.get('password', None) - self.subject_name = None - self.value = kwargs.get('value', None) - self.issuer = None - self.issue_date = None - self.expiration_date = None - self.thumbprint = None - self.valid = None - self.public_key_hash = None - - -class ClientRegistration(Model): - """The configuration settings of the app registration for providers that have - client ids and client secrets. - - :param client_id: The Client ID of the app used for login. - :type client_id: str - :param client_secret_ref_name: The app secret ref name that contains the - client secret. - :type client_secret_ref_name: str - """ - - _attribute_map = { - 'client_id': {'key': 'clientId', 'type': 'str'}, - 'client_secret_ref_name': {'key': 'clientSecretRefName', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(ClientRegistration, self).__init__(**kwargs) - self.client_id = kwargs.get('client_id', None) - self.client_secret_ref_name = kwargs.get('client_secret_ref_name', None) - - -class Configuration(Model): - """Non versioned Container App configuration properties that define the - mutable settings of a Container app. - - :param secrets: Collection of secrets used by a Container app - :type secrets: list[~commondefinitions.models.Secret] - :param active_revisions_mode: ActiveRevisionsMode controls how active - revisions are handled for the Container app: - Multiple: multiple revisions can be active. If no value if - provided, this is the defaultSingle: Only one revision can be - active at a time. Revision weights can not be used in this - mode. Possible values include: 'multiple', 'single' - :type active_revisions_mode: str or - ~commondefinitions.models.ActiveRevisionsMode - :param ingress: Ingress configurations. - :type ingress: ~commondefinitions.models.Ingress - :param dapr: Dapr configuration for the Container App. - :type dapr: ~commondefinitions.models.Dapr - :param registries: Collection of private container registry credentials - for containers used by the Container app - :type registries: list[~commondefinitions.models.RegistryCredentials] - """ - - _attribute_map = { - 'secrets': {'key': 'secrets', 'type': '[Secret]'}, - 'active_revisions_mode': {'key': 'activeRevisionsMode', 'type': 'str'}, - 'ingress': {'key': 'ingress', 'type': 'Ingress'}, - 'dapr': {'key': 'dapr', 'type': 'Dapr'}, - 'registries': {'key': 'registries', 'type': '[RegistryCredentials]'}, - } - - def __init__(self, **kwargs): - super(Configuration, self).__init__(**kwargs) - self.secrets = kwargs.get('secrets', None) - self.active_revisions_mode = kwargs.get('active_revisions_mode', None) - self.ingress = kwargs.get('ingress', None) - self.dapr = kwargs.get('dapr', None) - self.registries = kwargs.get('registries', None) - - -class Container(Model): - """Container App container definition. - - :param image: Container image tag. - :type image: str - :param name: Custom container name. - :type name: str - :param command: Container start command. - :type command: list[str] - :param args: Container start command arguments. - :type args: list[str] - :param env: Container environment variables. - :type env: list[~commondefinitions.models.EnvironmentVar] - :param resources: Container resource requirements. - :type resources: ~commondefinitions.models.ContainerResources - :param probes: List of probes for the container. - :type probes: list[~commondefinitions.models.ContainerAppProbe] - :param volume_mounts: Container volume mounts. - :type volume_mounts: list[~commondefinitions.models.VolumeMount] - """ - - _attribute_map = { - 'image': {'key': 'image', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'command': {'key': 'command', 'type': '[str]'}, - 'args': {'key': 'args', 'type': '[str]'}, - 'env': {'key': 'env', 'type': '[EnvironmentVar]'}, - 'resources': {'key': 'resources', 'type': 'ContainerResources'}, - 'probes': {'key': 'probes', 'type': '[ContainerAppProbe]'}, - 'volume_mounts': {'key': 'volumeMounts', 'type': '[VolumeMount]'}, - } - - def __init__(self, **kwargs): - super(Container, self).__init__(**kwargs) - self.image = kwargs.get('image', None) - self.name = kwargs.get('name', None) - self.command = kwargs.get('command', None) - self.args = kwargs.get('args', None) - self.env = kwargs.get('env', None) - self.resources = kwargs.get('resources', None) - self.probes = kwargs.get('probes', None) - self.volume_mounts = kwargs.get('volume_mounts', None) - - -class ContainerApp(TrackedResource): - """Container App. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - :vartype id: str - :ivar name: The name of the resource - :vartype name: str - :ivar type: The type of the resource. E.g. - "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy - and modifiedBy information. - :vartype system_data: ~commondefinitions.models.SystemData - :param tags: Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives - :type location: str - :param identity: managed identities for the Container App to interact with - other Azure services without maintaining any secrets or credentials in - code. - :type identity: ~commondefinitions.models.ManagedServiceIdentity - :ivar provisioning_state: Provisioning state of the Container App. - Possible values include: 'InProgress', 'Succeeded', 'Failed', 'Canceled' - :vartype provisioning_state: str or - ~commondefinitions.models.ContainerAppProvisioningState - :param managed_environment_id: Resource ID of the Container App's - environment. - :type managed_environment_id: str - :ivar latest_revision_name: Name of the latest revision of the Container - App. - :vartype latest_revision_name: str - :ivar latest_revision_fqdn: Fully Qualified Domain Name of the latest - revision of the Container App. - :vartype latest_revision_fqdn: str - :ivar custom_domain_verification_id: Id used to verify domain name - ownership - :vartype custom_domain_verification_id: str - :param configuration: Non versioned Container App configuration - properties. - :type configuration: ~commondefinitions.models.Configuration - :param template: Container App versioned application definition. - :type template: ~commondefinitions.models.Template - :ivar outbound_ip_addresses: Outbound IP Addresses for container app. - :vartype outbound_ip_addresses: list[str] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'system_data': {'readonly': True}, - 'location': {'required': True}, - 'provisioning_state': {'readonly': True}, - 'latest_revision_name': {'readonly': True}, - 'latest_revision_fqdn': {'readonly': True}, - 'custom_domain_verification_id': {'readonly': True}, - 'outbound_ip_addresses': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'system_data': {'key': 'systemData', 'type': 'SystemData'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'location': {'key': 'location', 'type': 'str'}, - 'identity': {'key': 'identity', 'type': 'ManagedServiceIdentity'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'managed_environment_id': {'key': 'properties.managedEnvironmentId', 'type': 'str'}, - 'latest_revision_name': {'key': 'properties.latestRevisionName', 'type': 'str'}, - 'latest_revision_fqdn': {'key': 'properties.latestRevisionFqdn', 'type': 'str'}, - 'custom_domain_verification_id': {'key': 'properties.customDomainVerificationId', 'type': 'str'}, - 'configuration': {'key': 'properties.configuration', 'type': 'Configuration'}, - 'template': {'key': 'properties.template', 'type': 'Template'}, - 'outbound_ip_addresses': {'key': 'properties.outboundIPAddresses', 'type': '[str]'}, - } - - def __init__(self, **kwargs): - super(ContainerApp, self).__init__(**kwargs) - self.identity = kwargs.get('identity', None) - self.provisioning_state = None - self.managed_environment_id = kwargs.get('managed_environment_id', None) - self.latest_revision_name = None - self.latest_revision_fqdn = None - self.custom_domain_verification_id = None - self.configuration = kwargs.get('configuration', None) - self.template = kwargs.get('template', None) - self.outbound_ip_addresses = None - - -class ContainerAppCollection(Model): - """Container App collection ARM resource. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :param value: Required. Collection of resources. - :type value: list[~commondefinitions.models.ContainerApp] - :ivar next_link: Link to next page of resources. - :vartype next_link: str - """ - - _validation = { - 'value': {'required': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[ContainerApp]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(ContainerAppCollection, self).__init__(**kwargs) - self.value = kwargs.get('value', None) - self.next_link = None - - -class ContainerAppPatch(Model): - """Container App Patch. - - :param tags: Application-specific metadata in the form of key-value pairs. - :type tags: dict[str, str] - """ - - _attribute_map = { - 'tags': {'key': 'tags', 'type': '{str}'}, - } - - def __init__(self, **kwargs): - super(ContainerAppPatch, self).__init__(**kwargs) - self.tags = kwargs.get('tags', None) - - -class ContainerAppProbe(Model): - """Probe describes a health check to be performed against a container to - determine whether it is alive or ready to receive traffic. - - :param failure_threshold: Minimum consecutive failures for the probe to be - considered failed after having succeeded. Defaults to 3. Minimum value is - 1. Maximum value is 10. - :type failure_threshold: int - :param http_get: HTTPGet specifies the http request to perform. - :type http_get: ~commondefinitions.models.ContainerAppProbeHttpGet - :param initial_delay_seconds: Number of seconds after the container has - started before liveness probes are initiated. Minimum value is 1. Maximum - value is 60. - :type initial_delay_seconds: int - :param period_seconds: How often (in seconds) to perform the probe. - Default to 10 seconds. Minimum value is 1. Maximum value is 240. - :type period_seconds: int - :param success_threshold: Minimum consecutive successes for the probe to - be considered successful after having failed. Defaults to 1. Must be 1 for - liveness and startup. Minimum value is 1. Maximum value is 10. - :type success_threshold: int - :param tcp_socket: TCPSocket specifies an action involving a TCP port. TCP - hooks not yet supported. - :type tcp_socket: ~commondefinitions.models.ContainerAppProbeTcpSocket - :param termination_grace_period_seconds: Optional duration in seconds the - pod needs to terminate gracefully upon probe failure. The grace period is - the duration in seconds after the processes running in the pod are sent a - termination signal and the time when the processes are forcibly halted - with a kill signal. Set this value longer than the expected cleanup time - for your process. If this value is nil, the pod's - terminationGracePeriodSeconds will be used. Otherwise, this value - overrides the value provided by the pod spec. Value must be non-negative - integer. The value zero indicates stop immediately via the kill signal (no - opportunity to shut down). This is an alpha field and requires enabling - ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 - hour) - :type termination_grace_period_seconds: long - :param timeout_seconds: Number of seconds after which the probe times out. - Defaults to 1 second. Minimum value is 1. Maximum value is 240. - :type timeout_seconds: int - :param type: The type of probe. Possible values include: 'liveness', - 'readiness', 'startup' - :type type: str or ~commondefinitions.models.Type - """ - - _attribute_map = { - 'failure_threshold': {'key': 'failureThreshold', 'type': 'int'}, - 'http_get': {'key': 'httpGet', 'type': 'ContainerAppProbeHttpGet'}, - 'initial_delay_seconds': {'key': 'initialDelaySeconds', 'type': 'int'}, - 'period_seconds': {'key': 'periodSeconds', 'type': 'int'}, - 'success_threshold': {'key': 'successThreshold', 'type': 'int'}, - 'tcp_socket': {'key': 'tcpSocket', 'type': 'ContainerAppProbeTcpSocket'}, - 'termination_grace_period_seconds': {'key': 'terminationGracePeriodSeconds', 'type': 'long'}, - 'timeout_seconds': {'key': 'timeoutSeconds', 'type': 'int'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(ContainerAppProbe, self).__init__(**kwargs) - self.failure_threshold = kwargs.get('failure_threshold', None) - self.http_get = kwargs.get('http_get', None) - self.initial_delay_seconds = kwargs.get('initial_delay_seconds', None) - self.period_seconds = kwargs.get('period_seconds', None) - self.success_threshold = kwargs.get('success_threshold', None) - self.tcp_socket = kwargs.get('tcp_socket', None) - self.termination_grace_period_seconds = kwargs.get('termination_grace_period_seconds', None) - self.timeout_seconds = kwargs.get('timeout_seconds', None) - self.type = kwargs.get('type', None) - - -class ContainerAppProbeHttpGet(Model): - """HTTPGet specifies the http request to perform. - - All required parameters must be populated in order to send to Azure. - - :param host: Host name to connect to, defaults to the pod IP. You probably - want to set "Host" in httpHeaders instead. - :type host: str - :param http_headers: Custom headers to set in the request. HTTP allows - repeated headers. - :type http_headers: - list[~commondefinitions.models.ContainerAppProbeHttpGetHttpHeadersItem] - :param path: Path to access on the HTTP server. - :type path: str - :param port: Required. Name or number of the port to access on the - container. Number must be in the range 1 to 65535. Name must be an - IANA_SVC_NAME. - :type port: int - :param scheme: Scheme to use for connecting to the host. Defaults to HTTP. - :type scheme: str - """ - - _validation = { - 'port': {'required': True}, - } - - _attribute_map = { - 'host': {'key': 'host', 'type': 'str'}, - 'http_headers': {'key': 'httpHeaders', 'type': '[ContainerAppProbeHttpGetHttpHeadersItem]'}, - 'path': {'key': 'path', 'type': 'str'}, - 'port': {'key': 'port', 'type': 'int'}, - 'scheme': {'key': 'scheme', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(ContainerAppProbeHttpGet, self).__init__(**kwargs) - self.host = kwargs.get('host', None) - self.http_headers = kwargs.get('http_headers', None) - self.path = kwargs.get('path', None) - self.port = kwargs.get('port', None) - self.scheme = kwargs.get('scheme', None) - - -class ContainerAppProbeHttpGetHttpHeadersItem(Model): - """HTTPHeader describes a custom header to be used in HTTP probes. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. The header field name - :type name: str - :param value: Required. The header field value - :type value: str - """ - - _validation = { - 'name': {'required': True}, - 'value': {'required': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'value': {'key': 'value', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(ContainerAppProbeHttpGetHttpHeadersItem, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.value = kwargs.get('value', None) - - -class ContainerAppProbeTcpSocket(Model): - """TCPSocket specifies an action involving a TCP port. TCP hooks not yet - supported. - - All required parameters must be populated in order to send to Azure. - - :param host: Optional: Host name to connect to, defaults to the pod IP. - :type host: str - :param port: Required. Number or name of the port to access on the - container. Number must be in the range 1 to 65535. Name must be an - IANA_SVC_NAME. - :type port: int - """ - - _validation = { - 'port': {'required': True}, - } - - _attribute_map = { - 'host': {'key': 'host', 'type': 'str'}, - 'port': {'key': 'port', 'type': 'int'}, - } - - def __init__(self, **kwargs): - super(ContainerAppProbeTcpSocket, self).__init__(**kwargs) - self.host = kwargs.get('host', None) - self.port = kwargs.get('port', None) - - -class ContainerAppSecret(Model): - """Container App Secret. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar name: Secret Name. - :vartype name: str - :ivar value: Secret Value. - :vartype value: str - """ - - _validation = { - 'name': {'readonly': True}, - 'value': {'readonly': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'value': {'key': 'value', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(ContainerAppSecret, self).__init__(**kwargs) - self.name = None - self.value = None - - -class ContainerResources(Model): - """Container App container resource requirements. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :param cpu: Required CPU in cores, e.g. 0.5 - :type cpu: float - :param memory: Required memory, e.g. "250Mb" - :type memory: str - :ivar ephemeral_storage: Ephemeral Storage, e.g. "1Gi" - :vartype ephemeral_storage: str - """ - - _validation = { - 'ephemeral_storage': {'readonly': True}, - } - - _attribute_map = { - 'cpu': {'key': 'cpu', 'type': 'float'}, - 'memory': {'key': 'memory', 'type': 'str'}, - 'ephemeral_storage': {'key': 'ephemeralStorage', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(ContainerResources, self).__init__(**kwargs) - self.cpu = kwargs.get('cpu', None) - self.memory = kwargs.get('memory', None) - self.ephemeral_storage = None - - -class CustomDomain(Model): - """Custom Domain of a Container App. - - :param name: Hostname. - :type name: str - :param binding_type: Custom Domain binding type. Possible values include: - 'Disabled', 'SniEnabled' - :type binding_type: str or ~commondefinitions.models.BindingType - :param certificate_id: Resource Id of the Certificate to be bound to this - hostname. Must exist in the Managed Environment. - :type certificate_id: str - """ - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'binding_type': {'key': 'bindingType', 'type': 'str'}, - 'certificate_id': {'key': 'certificateId', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(CustomDomain, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.binding_type = kwargs.get('binding_type', None) - self.certificate_id = kwargs.get('certificate_id', None) - - -class CustomHostnameAnalysisResult(ProxyResource): - """Custom domain analysis. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - :vartype id: str - :ivar name: The name of the resource - :vartype name: str - :ivar type: The type of the resource. E.g. - "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy - and modifiedBy information. - :vartype system_data: ~commondefinitions.models.SystemData - :ivar host_name: Host name that was analyzed - :vartype host_name: str - :ivar is_hostname_already_verified: true if hostname is - already verified; otherwise, false. - :vartype is_hostname_already_verified: bool - :ivar custom_domain_verification_test: DNS verification test result. - Possible values include: 'Passed', 'Failed', 'Skipped' - :vartype custom_domain_verification_test: str or - ~commondefinitions.models.DnsVerificationTestResult - :ivar custom_domain_verification_failure_info: Raw failure information if - DNS verification fails. - :vartype custom_domain_verification_failure_info: - ~commondefinitions.models.DefaultErrorResponse - :ivar has_conflict_on_managed_environment: true if there is a - conflict on the Container App's managed environment; otherwise, - false. - :vartype has_conflict_on_managed_environment: bool - :ivar conflicting_container_app_resource_id: Name of the conflicting - Container App on the Managed Environment if it's within the same - subscription. - :vartype conflicting_container_app_resource_id: str - :param c_name_records: CName records visible for this hostname. - :type c_name_records: list[str] - :param txt_records: TXT records visible for this hostname. - :type txt_records: list[str] - :param a_records: A records visible for this hostname. - :type a_records: list[str] - :param alternate_cname_records: Alternate CName records visible for this - hostname. - :type alternate_cname_records: list[str] - :param alternate_txt_records: Alternate TXT records visible for this - hostname. - :type alternate_txt_records: list[str] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'system_data': {'readonly': True}, - 'host_name': {'readonly': True}, - 'is_hostname_already_verified': {'readonly': True}, - 'custom_domain_verification_test': {'readonly': True}, - 'custom_domain_verification_failure_info': {'readonly': True}, - 'has_conflict_on_managed_environment': {'readonly': True}, - 'conflicting_container_app_resource_id': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'system_data': {'key': 'systemData', 'type': 'SystemData'}, - 'host_name': {'key': 'properties.hostName', 'type': 'str'}, - 'is_hostname_already_verified': {'key': 'properties.isHostnameAlreadyVerified', 'type': 'bool'}, - 'custom_domain_verification_test': {'key': 'properties.customDomainVerificationTest', 'type': 'DnsVerificationTestResult'}, - 'custom_domain_verification_failure_info': {'key': 'properties.customDomainVerificationFailureInfo', 'type': 'DefaultErrorResponse'}, - 'has_conflict_on_managed_environment': {'key': 'properties.hasConflictOnManagedEnvironment', 'type': 'bool'}, - 'conflicting_container_app_resource_id': {'key': 'properties.conflictingContainerAppResourceId', 'type': 'str'}, - 'c_name_records': {'key': 'properties.cNameRecords', 'type': '[str]'}, - 'txt_records': {'key': 'properties.txtRecords', 'type': '[str]'}, - 'a_records': {'key': 'properties.aRecords', 'type': '[str]'}, - 'alternate_cname_records': {'key': 'properties.alternateCNameRecords', 'type': '[str]'}, - 'alternate_txt_records': {'key': 'properties.alternateTxtRecords', 'type': '[str]'}, - } - - def __init__(self, **kwargs): - super(CustomHostnameAnalysisResult, self).__init__(**kwargs) - self.host_name = None - self.is_hostname_already_verified = None - self.custom_domain_verification_test = None - self.custom_domain_verification_failure_info = None - self.has_conflict_on_managed_environment = None - self.conflicting_container_app_resource_id = None - self.c_name_records = kwargs.get('c_name_records', None) - self.txt_records = kwargs.get('txt_records', None) - self.a_records = kwargs.get('a_records', None) - self.alternate_cname_records = kwargs.get('alternate_cname_records', None) - self.alternate_txt_records = kwargs.get('alternate_txt_records', None) - - -class CustomOpenIdConnectProvider(Model): - """The configuration settings of the custom Open ID Connect provider. - - :param state: Disabled if the custom Open ID Connect provider - should not be enabled despite the set registration; otherwise, - Enabled. Possible values include: 'Enabled', 'Disabled' - :type state: str or ~commondefinitions.models.IdentityProviderState - :param registration: The configuration settings of the app registration - for the custom Open ID Connect provider. - :type registration: ~commondefinitions.models.OpenIdConnectRegistration - :param login: The configuration settings of the login flow of the custom - Open ID Connect provider. - :type login: ~commondefinitions.models.OpenIdConnectLogin - """ - - _attribute_map = { - 'state': {'key': 'state', 'type': 'str'}, - 'registration': {'key': 'registration', 'type': 'OpenIdConnectRegistration'}, - 'login': {'key': 'login', 'type': 'OpenIdConnectLogin'}, - } - - def __init__(self, **kwargs): - super(CustomOpenIdConnectProvider, self).__init__(**kwargs) - self.state = kwargs.get('state', None) - self.registration = kwargs.get('registration', None) - self.login = kwargs.get('login', None) - - -class CustomScaleRule(Model): - """Container App container Custom scaling rule. - - :param type: Type of the custom scale rule - eg: azure-servicebus, redis etc. - :type type: str - :param metadata: Metadata properties to describe custom scale rule. - :type metadata: dict[str, str] - :param auth: Authentication secrets for the custom scale rule. - :type auth: list[~commondefinitions.models.ScaleRuleAuth] - """ - - _attribute_map = { - 'type': {'key': 'type', 'type': 'str'}, - 'metadata': {'key': 'metadata', 'type': '{str}'}, - 'auth': {'key': 'auth', 'type': '[ScaleRuleAuth]'}, - } - - def __init__(self, **kwargs): - super(CustomScaleRule, self).__init__(**kwargs) - self.type = kwargs.get('type', None) - self.metadata = kwargs.get('metadata', None) - self.auth = kwargs.get('auth', None) - - -class Dapr(Model): - """Container App Dapr configuration. - - :param enabled: Boolean indicating if the Dapr side car is enabled - :type enabled: bool - :param app_id: Dapr application identifier - :type app_id: str - :param app_protocol: Tells Dapr which protocol your application is using. - Valid options are http and grpc. Default is http. Possible values include: - 'http', 'grpc' - :type app_protocol: str or ~commondefinitions.models.AppProtocol - :param app_port: Tells Dapr which port your application is listening on - :type app_port: int - """ - - _attribute_map = { - 'enabled': {'key': 'enabled', 'type': 'bool'}, - 'app_id': {'key': 'appId', 'type': 'str'}, - 'app_protocol': {'key': 'appProtocol', 'type': 'str'}, - 'app_port': {'key': 'appPort', 'type': 'int'}, - } - - def __init__(self, **kwargs): - super(Dapr, self).__init__(**kwargs) - self.enabled = kwargs.get('enabled', None) - self.app_id = kwargs.get('app_id', None) - self.app_protocol = kwargs.get('app_protocol', None) - self.app_port = kwargs.get('app_port', None) - - -class DaprComponent(ProxyResource): - """Dapr Component. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - :vartype id: str - :ivar name: The name of the resource - :vartype name: str - :ivar type: The type of the resource. E.g. - "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy - and modifiedBy information. - :vartype system_data: ~commondefinitions.models.SystemData - :param component_type: Component type - :type component_type: str - :param version: Component version - :type version: str - :param ignore_errors: Boolean describing if the component errors are - ignores - :type ignore_errors: bool - :param init_timeout: Initialization timeout - :type init_timeout: str - :param secrets: Collection of secrets used by a Dapr component - :type secrets: list[~commondefinitions.models.Secret] - :param metadata: Component metadata - :type metadata: list[~commondefinitions.models.DaprMetadata] - :param scopes: Names of container apps that can use this Dapr component - :type scopes: list[str] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'system_data': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'system_data': {'key': 'systemData', 'type': 'SystemData'}, - 'component_type': {'key': 'properties.componentType', 'type': 'str'}, - 'version': {'key': 'properties.version', 'type': 'str'}, - 'ignore_errors': {'key': 'properties.ignoreErrors', 'type': 'bool'}, - 'init_timeout': {'key': 'properties.initTimeout', 'type': 'str'}, - 'secrets': {'key': 'properties.secrets', 'type': '[Secret]'}, - 'metadata': {'key': 'properties.metadata', 'type': '[DaprMetadata]'}, - 'scopes': {'key': 'properties.scopes', 'type': '[str]'}, - } - - def __init__(self, **kwargs): - super(DaprComponent, self).__init__(**kwargs) - self.component_type = kwargs.get('component_type', None) - self.version = kwargs.get('version', None) - self.ignore_errors = kwargs.get('ignore_errors', None) - self.init_timeout = kwargs.get('init_timeout', None) - self.secrets = kwargs.get('secrets', None) - self.metadata = kwargs.get('metadata', None) - self.scopes = kwargs.get('scopes', None) - - -class DaprComponentsCollection(Model): - """Dapr Components ARM resource. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :param value: Required. Collection of resources. - :type value: list[~commondefinitions.models.DaprComponent] - :ivar next_link: Link to next page of resources. - :vartype next_link: str - """ - - _validation = { - 'value': {'required': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[DaprComponent]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(DaprComponentsCollection, self).__init__(**kwargs) - self.value = kwargs.get('value', None) - self.next_link = None - - -class DaprMetadata(Model): - """Dapr component metadata. - - :param name: Metadata property name. - :type name: str - :param value: Metadata property value. - :type value: str - :param secret_ref: Name of the Dapr Component secret from which to pull - the metadata property value. - :type secret_ref: str - """ - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'value': {'key': 'value', 'type': 'str'}, - 'secret_ref': {'key': 'secretRef', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(DaprMetadata, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.value = kwargs.get('value', None) - self.secret_ref = kwargs.get('secret_ref', None) - - -class DefaultErrorResponse(Model): - """App Service error response. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar error: Error model. - :vartype error: ~commondefinitions.models.DefaultErrorResponseError - """ - - _validation = { - 'error': {'readonly': True}, - } - - _attribute_map = { - 'error': {'key': 'error', 'type': 'DefaultErrorResponseError'}, - } - - def __init__(self, **kwargs): - super(DefaultErrorResponse, self).__init__(**kwargs) - self.error = None - - -class DefaultErrorResponseException(HttpOperationError): - """Server responsed with exception of type: 'DefaultErrorResponse'. - - :param deserialize: A deserializer - :param response: Server response to be deserialized. - """ - - def __init__(self, deserialize, response, *args): - - super(DefaultErrorResponseException, self).__init__(deserialize, response, 'DefaultErrorResponse', *args) - - -class DefaultErrorResponseError(Model): - """Error model. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar code: Standardized string to programmatically identify the error. - :vartype code: str - :ivar message: Detailed error description and debugging information. - :vartype message: str - :ivar target: Detailed error description and debugging information. - :vartype target: str - :param details: Details or the error - :type details: - list[~commondefinitions.models.DefaultErrorResponseErrorDetailsItem] - :ivar innererror: More information to debug error. - :vartype innererror: str - """ - - _validation = { - 'code': {'readonly': True}, - 'message': {'readonly': True}, - 'target': {'readonly': True}, - 'innererror': {'readonly': True}, - } - - _attribute_map = { - 'code': {'key': 'code', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - 'target': {'key': 'target', 'type': 'str'}, - 'details': {'key': 'details', 'type': '[DefaultErrorResponseErrorDetailsItem]'}, - 'innererror': {'key': 'innererror', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(DefaultErrorResponseError, self).__init__(**kwargs) - self.code = None - self.message = None - self.target = None - self.details = kwargs.get('details', None) - self.innererror = None - - -class DefaultErrorResponseErrorDetailsItem(Model): - """Detailed errors. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar code: Standardized string to programmatically identify the error. - :vartype code: str - :ivar message: Detailed error description and debugging information. - :vartype message: str - :ivar target: Detailed error description and debugging information. - :vartype target: str - """ - - _validation = { - 'code': {'readonly': True}, - 'message': {'readonly': True}, - 'target': {'readonly': True}, - } - - _attribute_map = { - 'code': {'key': 'code', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - 'target': {'key': 'target', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(DefaultErrorResponseErrorDetailsItem, self).__init__(**kwargs) - self.code = None - self.message = None - self.target = None - - -class EnvironmentVar(Model): - """Container App container environment variable. - - :param name: Environment variable name. - :type name: str - :param value: Non-secret environment variable value. - :type value: str - :param secret_ref: Name of the Container App secret from which to pull the - environment variable value. - :type secret_ref: str - """ - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'value': {'key': 'value', 'type': 'str'}, - 'secret_ref': {'key': 'secretRef', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(EnvironmentVar, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.value = kwargs.get('value', None) - self.secret_ref = kwargs.get('secret_ref', None) - - -class Facebook(Model): - """The configuration settings of the Facebook provider. - - :param state: Disabled if the Facebook provider should not be - enabled despite the set registration; otherwise, Enabled. - Possible values include: 'Enabled', 'Disabled' - :type state: str or ~commondefinitions.models.IdentityProviderState - :param registration: The configuration settings of the app registration - for the Facebook provider. - :type registration: ~commondefinitions.models.AppRegistration - :param graph_api_version: The version of the Facebook api to be used while - logging in. - :type graph_api_version: str - :param login: The configuration settings of the login flow. - :type login: ~commondefinitions.models.LoginScopes - """ - - _attribute_map = { - 'state': {'key': 'state', 'type': 'str'}, - 'registration': {'key': 'registration', 'type': 'AppRegistration'}, - 'graph_api_version': {'key': 'graphApiVersion', 'type': 'str'}, - 'login': {'key': 'login', 'type': 'LoginScopes'}, - } - - def __init__(self, **kwargs): - super(Facebook, self).__init__(**kwargs) - self.state = kwargs.get('state', None) - self.registration = kwargs.get('registration', None) - self.graph_api_version = kwargs.get('graph_api_version', None) - self.login = kwargs.get('login', None) - - -class GitHub(Model): - """The configuration settings of the GitHub provider. - - :param state: Disabled if the GitHub provider should not be - enabled despite the set registration; otherwise, Enabled. - Possible values include: 'Enabled', 'Disabled' - :type state: str or ~commondefinitions.models.IdentityProviderState - :param registration: The configuration settings of the app registration - for the GitHub provider. - :type registration: ~commondefinitions.models.ClientRegistration - :param login: The configuration settings of the login flow. - :type login: ~commondefinitions.models.LoginScopes - """ - - _attribute_map = { - 'state': {'key': 'state', 'type': 'str'}, - 'registration': {'key': 'registration', 'type': 'ClientRegistration'}, - 'login': {'key': 'login', 'type': 'LoginScopes'}, - } - - def __init__(self, **kwargs): - super(GitHub, self).__init__(**kwargs) - self.state = kwargs.get('state', None) - self.registration = kwargs.get('registration', None) - self.login = kwargs.get('login', None) - - -class GithubActionConfiguration(Model): - """Configuration properties that define the mutable settings of a Container - App SourceControl. - - :param registry_info: Registry configurations. - :type registry_info: ~commondefinitions.models.RegistryInfo - :param azure_credentials: AzureCredentials configurations. - :type azure_credentials: ~commondefinitions.models.AzureCredentials - :param dockerfile_path: Docker file path - :type dockerfile_path: str - :param publish_type: Code or Image - :type publish_type: str - :param os: Operation system - :type os: str - :param runtime_stack: Runtime stack - :type runtime_stack: str - :param runtime_version: Runtime Version - :type runtime_version: str - """ - - _attribute_map = { - 'registry_info': {'key': 'registryInfo', 'type': 'RegistryInfo'}, - 'azure_credentials': {'key': 'azureCredentials', 'type': 'AzureCredentials'}, - 'dockerfile_path': {'key': 'dockerfilePath', 'type': 'str'}, - 'publish_type': {'key': 'publishType', 'type': 'str'}, - 'os': {'key': 'os', 'type': 'str'}, - 'runtime_stack': {'key': 'runtimeStack', 'type': 'str'}, - 'runtime_version': {'key': 'runtimeVersion', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(GithubActionConfiguration, self).__init__(**kwargs) - self.registry_info = kwargs.get('registry_info', None) - self.azure_credentials = kwargs.get('azure_credentials', None) - self.dockerfile_path = kwargs.get('dockerfile_path', None) - self.publish_type = kwargs.get('publish_type', None) - self.os = kwargs.get('os', None) - self.runtime_stack = kwargs.get('runtime_stack', None) - self.runtime_version = kwargs.get('runtime_version', None) - - -class GlobalValidation(Model): - """The configuration settings that determines the validation flow of users - using ContainerApp Authentication/Authorization. - - :param unauthenticated_client_action: The action to take when an - unauthenticated client attempts to access the app. Possible values - include: 'RedirectToLoginPage', 'AllowAnonymous', 'Return401', 'Return403' - :type unauthenticated_client_action: str or - ~commondefinitions.models.UnauthenticatedClientAction - :param redirect_to_provider: The default authentication provider to use - when multiple providers are configured. - This setting is only needed if multiple providers are configured and the - unauthenticated client - action is set to "RedirectToLoginPage". - :type redirect_to_provider: str - """ - - _attribute_map = { - 'unauthenticated_client_action': {'key': 'unauthenticatedClientAction', 'type': 'str'}, - 'redirect_to_provider': {'key': 'redirectToProvider', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(GlobalValidation, self).__init__(**kwargs) - self.unauthenticated_client_action = kwargs.get('unauthenticated_client_action', None) - self.redirect_to_provider = kwargs.get('redirect_to_provider', None) - - -class Google(Model): - """The configuration settings of the Google provider. - - :param state: Disabled if the Google provider should not be - enabled despite the set registration; otherwise, Enabled. - Possible values include: 'Enabled', 'Disabled' - :type state: str or ~commondefinitions.models.IdentityProviderState - :param registration: The configuration settings of the app registration - for the Google provider. - :type registration: ~commondefinitions.models.ClientRegistration - :param login: The configuration settings of the login flow. - :type login: ~commondefinitions.models.LoginScopes - :param validation: The configuration settings of the Azure Active - Directory token validation flow. - :type validation: ~commondefinitions.models.AllowedAudiencesValidation - """ - - _attribute_map = { - 'state': {'key': 'state', 'type': 'str'}, - 'registration': {'key': 'registration', 'type': 'ClientRegistration'}, - 'login': {'key': 'login', 'type': 'LoginScopes'}, - 'validation': {'key': 'validation', 'type': 'AllowedAudiencesValidation'}, - } - - def __init__(self, **kwargs): - super(Google, self).__init__(**kwargs) - self.state = kwargs.get('state', None) - self.registration = kwargs.get('registration', None) - self.login = kwargs.get('login', None) - self.validation = kwargs.get('validation', None) - - -class HttpScaleRule(Model): - """Container App container Custom scaling rule. - - :param metadata: Metadata properties to describe http scale rule. - :type metadata: dict[str, str] - :param auth: Authentication secrets for the custom scale rule. - :type auth: list[~commondefinitions.models.ScaleRuleAuth] - """ - - _attribute_map = { - 'metadata': {'key': 'metadata', 'type': '{str}'}, - 'auth': {'key': 'auth', 'type': '[ScaleRuleAuth]'}, - } - - def __init__(self, **kwargs): - super(HttpScaleRule, self).__init__(**kwargs) - self.metadata = kwargs.get('metadata', None) - self.auth = kwargs.get('auth', None) - - -class HttpSettings(Model): - """The configuration settings of the HTTP requests for authentication and - authorization requests made against ContainerApp - Authentication/Authorization. - - :param require_https: false if the - authentication/authorization responses not having the HTTPS scheme are - permissible; otherwise, true. Possible values include: - 'True', 'False' - :type require_https: str or ~commondefinitions.models.RequireHttpsMode - :param route: The configuration settings of the paths HTTP requests. - :type route: ~commondefinitions.models.HttpSettingsRoute - """ - - _attribute_map = { - 'require_https': {'key': 'requireHttps', 'type': 'str'}, - 'route': {'key': 'route', 'type': 'HttpSettingsRoute'}, - } - - def __init__(self, **kwargs): - super(HttpSettings, self).__init__(**kwargs) - self.require_https = kwargs.get('require_https', None) - self.route = kwargs.get('route', None) - - -class HttpSettingsRoute(Model): - """The configuration settings of the paths HTTP requests. - - :param api_prefix: The prefix that should precede all the - authentication/authorization paths. - :type api_prefix: str - """ - - _attribute_map = { - 'api_prefix': {'key': 'apiPrefix', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(HttpSettingsRoute, self).__init__(**kwargs) - self.api_prefix = kwargs.get('api_prefix', None) - - -class IdentityProviders(Model): - """The configuration settings of each of the identity providers used to - configure ContainerApp Authentication/Authorization. - - :param azure_active_directory: The configuration settings of the Azure - Active directory provider. - :type azure_active_directory: - ~commondefinitions.models.AzureActiveDirectory - :param facebook: The configuration settings of the Facebook provider. - :type facebook: ~commondefinitions.models.Facebook - :param git_hub: The configuration settings of the GitHub provider. - :type git_hub: ~commondefinitions.models.GitHub - :param google: The configuration settings of the Google provider. - :type google: ~commondefinitions.models.Google - :param legacy_microsoft_account: The configuration settings of the legacy - Microsoft Account provider. - :type legacy_microsoft_account: - ~commondefinitions.models.LegacyMicrosoftAccount - :param twitter: The configuration settings of the Twitter provider. - :type twitter: ~commondefinitions.models.Twitter - :param apple: The configuration settings of the Apple provider. - :type apple: ~commondefinitions.models.Apple - :param azure_static_web_app: The configuration settings of the Azure - Static Web Apps provider. - :type azure_static_web_app: ~commondefinitions.models.AzureStaticWebApp - :param custom_open_id_connect_providers: The map of the name of the alias - of each custom Open ID Connect provider to the - configuration settings of the custom Open ID Connect provider. - :type custom_open_id_connect_providers: dict[str, - ~commondefinitions.models.CustomOpenIdConnectProvider] - """ - - _attribute_map = { - 'azure_active_directory': {'key': 'azureActiveDirectory', 'type': 'AzureActiveDirectory'}, - 'facebook': {'key': 'facebook', 'type': 'Facebook'}, - 'git_hub': {'key': 'gitHub', 'type': 'GitHub'}, - 'google': {'key': 'google', 'type': 'Google'}, - 'legacy_microsoft_account': {'key': 'legacyMicrosoftAccount', 'type': 'LegacyMicrosoftAccount'}, - 'twitter': {'key': 'twitter', 'type': 'Twitter'}, - 'apple': {'key': 'apple', 'type': 'Apple'}, - 'azure_static_web_app': {'key': 'azureStaticWebApp', 'type': 'AzureStaticWebApp'}, - 'custom_open_id_connect_providers': {'key': 'customOpenIdConnectProviders', 'type': '{CustomOpenIdConnectProvider}'}, - } - - def __init__(self, **kwargs): - super(IdentityProviders, self).__init__(**kwargs) - self.azure_active_directory = kwargs.get('azure_active_directory', None) - self.facebook = kwargs.get('facebook', None) - self.git_hub = kwargs.get('git_hub', None) - self.google = kwargs.get('google', None) - self.legacy_microsoft_account = kwargs.get('legacy_microsoft_account', None) - self.twitter = kwargs.get('twitter', None) - self.apple = kwargs.get('apple', None) - self.azure_static_web_app = kwargs.get('azure_static_web_app', None) - self.custom_open_id_connect_providers = kwargs.get('custom_open_id_connect_providers', None) - - -class Ingress(Model): - """Container App Ingress configuration. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar fqdn: Hostname. - :vartype fqdn: str - :param external: Bool indicating if app exposes an external http endpoint. - Default value: False . - :type external: bool - :param target_port: Target Port in containers for traffic from ingress - :type target_port: int - :param transport: Ingress transport protocol. Possible values include: - 'auto', 'http', 'http2' - :type transport: str or ~commondefinitions.models.IngressTransportMethod - :param traffic: Traffic weights for app's revisions - :type traffic: list[~commondefinitions.models.TrafficWeight] - :param custom_domains: custom domain bindings for Container Apps' - hostnames. - :type custom_domains: list[~commondefinitions.models.CustomDomain] - :param allow_insecure: Bool indicating if HTTP connections to is allowed. - If set to false HTTP connections are automatically redirected to HTTPS - connections - :type allow_insecure: bool - """ - - _validation = { - 'fqdn': {'readonly': True}, - } - - _attribute_map = { - 'fqdn': {'key': 'fqdn', 'type': 'str'}, - 'external': {'key': 'external', 'type': 'bool'}, - 'target_port': {'key': 'targetPort', 'type': 'int'}, - 'transport': {'key': 'transport', 'type': 'str'}, - 'traffic': {'key': 'traffic', 'type': '[TrafficWeight]'}, - 'custom_domains': {'key': 'customDomains', 'type': '[CustomDomain]'}, - 'allow_insecure': {'key': 'allowInsecure', 'type': 'bool'}, - } - - def __init__(self, **kwargs): - super(Ingress, self).__init__(**kwargs) - self.fqdn = None - self.external = kwargs.get('external', False) - self.target_port = kwargs.get('target_port', None) - self.transport = kwargs.get('transport', None) - self.traffic = kwargs.get('traffic', None) - self.custom_domains = kwargs.get('custom_domains', None) - self.allow_insecure = kwargs.get('allow_insecure', None) - - -class LegacyMicrosoftAccount(Model): - """The configuration settings of the legacy Microsoft Account provider. - - :param state: Disabled if the legacy Microsoft Account - provider should not be enabled despite the set registration; otherwise, - Enabled. Possible values include: 'Enabled', 'Disabled' - :type state: str or ~commondefinitions.models.IdentityProviderState - :param registration: The configuration settings of the app registration - for the legacy Microsoft Account provider. - :type registration: ~commondefinitions.models.ClientRegistration - :param login: The configuration settings of the login flow. - :type login: ~commondefinitions.models.LoginScopes - :param validation: The configuration settings of the legacy Microsoft - Account provider token validation flow. - :type validation: ~commondefinitions.models.AllowedAudiencesValidation - """ - - _attribute_map = { - 'state': {'key': 'state', 'type': 'str'}, - 'registration': {'key': 'registration', 'type': 'ClientRegistration'}, - 'login': {'key': 'login', 'type': 'LoginScopes'}, - 'validation': {'key': 'validation', 'type': 'AllowedAudiencesValidation'}, - } - - def __init__(self, **kwargs): - super(LegacyMicrosoftAccount, self).__init__(**kwargs) - self.state = kwargs.get('state', None) - self.registration = kwargs.get('registration', None) - self.login = kwargs.get('login', None) - self.validation = kwargs.get('validation', None) - - -class LogAnalyticsConfiguration(Model): - """Log analytics configuration. - - :param customer_id: Log analytics customer id - :type customer_id: str - :param shared_key: Log analytics customer key - :type shared_key: str - """ - - _attribute_map = { - 'customer_id': {'key': 'customerId', 'type': 'str'}, - 'shared_key': {'key': 'sharedKey', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(LogAnalyticsConfiguration, self).__init__(**kwargs) - self.customer_id = kwargs.get('customer_id', None) - self.shared_key = kwargs.get('shared_key', None) - - -class Login(Model): - """The configuration settings of the login flow of users using ContainerApp - Authentication/Authorization. - - :param route: The route that specify the endpoint used for login and - logout requests. - :type route: ~commondefinitions.models.LoginRoute - :param preserve_url_fragments_for_logins: True if the - fragments from the request are preserved after the login request is made; - otherwise, False. Possible values include: 'True', 'False' - :type preserve_url_fragments_for_logins: str or - ~commondefinitions.models.PreserveUrlFragmentsForLoginsMode - :param allowed_external_redirect_urls: External URLs that can be - redirected to as part of logging in or logging out of the app. Note that - the query string part of the URL is ignored. - This is an advanced setting typically only needed by Windows Store - application backends. - Note that URLs within the current domain are always implicitly allowed. - :type allowed_external_redirect_urls: list[str] - """ - - _attribute_map = { - 'route': {'key': 'route', 'type': 'LoginRoute'}, - 'preserve_url_fragments_for_logins': {'key': 'preserveUrlFragmentsForLogins', 'type': 'str'}, - 'allowed_external_redirect_urls': {'key': 'allowedExternalRedirectUrls', 'type': '[str]'}, - } - - def __init__(self, **kwargs): - super(Login, self).__init__(**kwargs) - self.route = kwargs.get('route', None) - self.preserve_url_fragments_for_logins = kwargs.get('preserve_url_fragments_for_logins', None) - self.allowed_external_redirect_urls = kwargs.get('allowed_external_redirect_urls', None) - - -class LoginRoute(Model): - """The route that specify the endpoint used for login and logout requests. - - :param logout_endpoint: The endpoint at which a logout request should be - made. - :type logout_endpoint: str - """ - - _attribute_map = { - 'logout_endpoint': {'key': 'logoutEndpoint', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(LoginRoute, self).__init__(**kwargs) - self.logout_endpoint = kwargs.get('logout_endpoint', None) - - -class LoginScopes(Model): - """The configuration settings of the login flow, including the scopes that - should be requested. - - :param scopes: A list of the scopes that should be requested while - authenticating. - :type scopes: list[str] - """ - - _attribute_map = { - 'scopes': {'key': 'scopes', 'type': '[str]'}, - } - - def __init__(self, **kwargs): - super(LoginScopes, self).__init__(**kwargs) - self.scopes = kwargs.get('scopes', None) - - -class ManagedEnvironment(TrackedResource): - """An environment for hosting container apps. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - :vartype id: str - :ivar name: The name of the resource - :vartype name: str - :ivar type: The type of the resource. E.g. - "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy - and modifiedBy information. - :vartype system_data: ~commondefinitions.models.SystemData - :param tags: Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives - :type location: str - :ivar provisioning_state: Provisioning state of the Environment. Possible - values include: 'Succeeded', 'Failed', 'Canceled', 'Waiting', - 'InitializationInProgress', 'InfrastructureSetupInProgress', - 'InfrastructureSetupComplete', 'ScheduledForDelete', 'UpgradeRequested', - 'UpgradeFailed' - :vartype provisioning_state: str or - ~commondefinitions.models.EnvironmentProvisioningState - :param dapr_ai_instrumentation_key: Azure Monitor instrumentation key used - by Dapr to export Service to Service communication telemetry - :type dapr_ai_instrumentation_key: str - :param vnet_configuration: Vnet configuration for the environment - :type vnet_configuration: ~commondefinitions.models.VnetConfiguration - :ivar deployment_errors: Any errors that occurred during deployment or - deployment validation - :vartype deployment_errors: str - :ivar default_domain: Default Domain Name for the cluster - :vartype default_domain: str - :ivar static_ip: Static IP of the Environment - :vartype static_ip: str - :param app_logs_configuration: Cluster configuration which enables the log - daemon to export - app logs to a destination. Currently only "log-analytics" is - supported - :type app_logs_configuration: - ~commondefinitions.models.AppLogsConfiguration - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'system_data': {'readonly': True}, - 'location': {'required': True}, - 'provisioning_state': {'readonly': True}, - 'deployment_errors': {'readonly': True}, - 'default_domain': {'readonly': True}, - 'static_ip': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'system_data': {'key': 'systemData', 'type': 'SystemData'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'location': {'key': 'location', 'type': 'str'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'dapr_ai_instrumentation_key': {'key': 'properties.daprAIInstrumentationKey', 'type': 'str'}, - 'vnet_configuration': {'key': 'properties.vnetConfiguration', 'type': 'VnetConfiguration'}, - 'deployment_errors': {'key': 'properties.deploymentErrors', 'type': 'str'}, - 'default_domain': {'key': 'properties.defaultDomain', 'type': 'str'}, - 'static_ip': {'key': 'properties.staticIp', 'type': 'str'}, - 'app_logs_configuration': {'key': 'properties.appLogsConfiguration', 'type': 'AppLogsConfiguration'}, - } - - def __init__(self, **kwargs): - super(ManagedEnvironment, self).__init__(**kwargs) - self.provisioning_state = None - self.dapr_ai_instrumentation_key = kwargs.get('dapr_ai_instrumentation_key', None) - self.vnet_configuration = kwargs.get('vnet_configuration', None) - self.deployment_errors = None - self.default_domain = None - self.static_ip = None - self.app_logs_configuration = kwargs.get('app_logs_configuration', None) - - -class ManagedEnvironmentPatch(Model): - """An environment for hosting container apps. - - :param tags: Application-specific metadata in the form of key-value pairs. - :type tags: dict[str, str] - """ - - _attribute_map = { - 'tags': {'key': 'tags', 'type': '{str}'}, - } - - def __init__(self, **kwargs): - super(ManagedEnvironmentPatch, self).__init__(**kwargs) - self.tags = kwargs.get('tags', None) - - -class ManagedEnvironmentsCollection(Model): - """Collection of Environments. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :param value: Required. Collection of resources. - :type value: list[~commondefinitions.models.ManagedEnvironment] - :ivar next_link: Link to next page of resources. - :vartype next_link: str - """ - - _validation = { - 'value': {'required': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[ManagedEnvironment]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(ManagedEnvironmentsCollection, self).__init__(**kwargs) - self.value = kwargs.get('value', None) - self.next_link = None - - -class ManagedEnvironmentStorage(ProxyResource): - """Storage resource for managedEnvironment. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - :vartype id: str - :ivar name: The name of the resource - :vartype name: str - :ivar type: The type of the resource. E.g. - "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy - and modifiedBy information. - :vartype system_data: ~commondefinitions.models.SystemData - :param properties: Storage properties - :type properties: - ~commondefinitions.models.ManagedEnvironmentStorageProperties - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'system_data': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'system_data': {'key': 'systemData', 'type': 'SystemData'}, - 'properties': {'key': 'properties', 'type': 'ManagedEnvironmentStorageProperties'}, - } - - def __init__(self, **kwargs): - super(ManagedEnvironmentStorage, self).__init__(**kwargs) - self.properties = kwargs.get('properties', None) - - -class ManagedEnvironmentStorageProperties(Model): - """Storage properties. - - :param azure_file: Azure file properties - :type azure_file: ~commondefinitions.models.AzureFileProperties - """ - - _attribute_map = { - 'azure_file': {'key': 'azureFile', 'type': 'AzureFileProperties'}, - } - - def __init__(self, **kwargs): - super(ManagedEnvironmentStorageProperties, self).__init__(**kwargs) - self.azure_file = kwargs.get('azure_file', None) - - -class ManagedEnvironmentStoragesCollection(Model): - """Collection of Storage for Environments. - - All required parameters must be populated in order to send to Azure. - - :param value: Required. Collection of storage resources. - :type value: list[~commondefinitions.models.ManagedEnvironmentStorage] - """ - - _validation = { - 'value': {'required': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[ManagedEnvironmentStorage]'}, - } - - def __init__(self, **kwargs): - super(ManagedEnvironmentStoragesCollection, self).__init__(**kwargs) - self.value = kwargs.get('value', None) - - -class ManagedServiceIdentity(Model): - """Managed service identity (system assigned and/or user assigned identities). - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar principal_id: The service principal ID of the system assigned - identity. This property will only be provided for a system assigned - identity. - :vartype principal_id: str - :ivar tenant_id: The tenant ID of the system assigned identity. This - property will only be provided for a system assigned identity. - :vartype tenant_id: str - :param type: Required. Possible values include: 'None', 'SystemAssigned', - 'UserAssigned', 'SystemAssigned,UserAssigned' - :type type: str or ~commondefinitions.models.ManagedServiceIdentityType - :param user_assigned_identities: - :type user_assigned_identities: dict[str, - ~commondefinitions.models.UserAssignedIdentity] - """ - - _validation = { - 'principal_id': {'readonly': True}, - 'tenant_id': {'readonly': True}, - 'type': {'required': True}, - } - - _attribute_map = { - 'principal_id': {'key': 'principalId', 'type': 'str'}, - 'tenant_id': {'key': 'tenantId', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'user_assigned_identities': {'key': 'userAssignedIdentities', 'type': '{UserAssignedIdentity}'}, - } - - def __init__(self, **kwargs): - super(ManagedServiceIdentity, self).__init__(**kwargs) - self.principal_id = None - self.tenant_id = None - self.type = kwargs.get('type', None) - self.user_assigned_identities = kwargs.get('user_assigned_identities', None) - - -class OpenIdConnectClientCredential(Model): - """The authentication client credentials of the custom Open ID Connect - provider. - - :param client_secret_ref_name: The app setting that contains the client - secret for the custom Open ID Connect provider. - :type client_secret_ref_name: str - """ - - _attribute_map = { - 'client_secret_ref_name': {'key': 'clientSecretRefName', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(OpenIdConnectClientCredential, self).__init__(**kwargs) - self.client_secret_ref_name = kwargs.get('client_secret_ref_name', None) - - -class OpenIdConnectConfig(Model): - """The configuration settings of the endpoints used for the custom Open ID - Connect provider. - - :param authorization_endpoint: The endpoint to be used to make an - authorization request. - :type authorization_endpoint: str - :param token_endpoint: The endpoint to be used to request a token. - :type token_endpoint: str - :param issuer: The endpoint that issues the token. - :type issuer: str - :param certification_uri: The endpoint that provides the keys necessary to - validate the token. - :type certification_uri: str - :param well_known_open_id_configuration: The endpoint that contains all - the configuration endpoints for the provider. - :type well_known_open_id_configuration: str - """ - - _attribute_map = { - 'authorization_endpoint': {'key': 'authorizationEndpoint', 'type': 'str'}, - 'token_endpoint': {'key': 'tokenEndpoint', 'type': 'str'}, - 'issuer': {'key': 'issuer', 'type': 'str'}, - 'certification_uri': {'key': 'certificationUri', 'type': 'str'}, - 'well_known_open_id_configuration': {'key': 'wellKnownOpenIdConfiguration', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(OpenIdConnectConfig, self).__init__(**kwargs) - self.authorization_endpoint = kwargs.get('authorization_endpoint', None) - self.token_endpoint = kwargs.get('token_endpoint', None) - self.issuer = kwargs.get('issuer', None) - self.certification_uri = kwargs.get('certification_uri', None) - self.well_known_open_id_configuration = kwargs.get('well_known_open_id_configuration', None) - - -class OpenIdConnectLogin(Model): - """The configuration settings of the login flow of the custom Open ID Connect - provider. - - :param name_claim_type: The name of the claim that contains the users - name. - :type name_claim_type: str - :param scopes: A list of the scopes that should be requested while - authenticating. - :type scopes: list[str] - """ - - _attribute_map = { - 'name_claim_type': {'key': 'nameClaimType', 'type': 'str'}, - 'scopes': {'key': 'scopes', 'type': '[str]'}, - } - - def __init__(self, **kwargs): - super(OpenIdConnectLogin, self).__init__(**kwargs) - self.name_claim_type = kwargs.get('name_claim_type', None) - self.scopes = kwargs.get('scopes', None) - - -class OpenIdConnectRegistration(Model): - """The configuration settings of the app registration for the custom Open ID - Connect provider. - - :param client_id: The client id of the custom Open ID Connect provider. - :type client_id: str - :param client_credential: The authentication credentials of the custom - Open ID Connect provider. - :type client_credential: - ~commondefinitions.models.OpenIdConnectClientCredential - :param open_id_connect_configuration: The configuration settings of the - endpoints used for the custom Open ID Connect provider. - :type open_id_connect_configuration: - ~commondefinitions.models.OpenIdConnectConfig - """ - - _attribute_map = { - 'client_id': {'key': 'clientId', 'type': 'str'}, - 'client_credential': {'key': 'clientCredential', 'type': 'OpenIdConnectClientCredential'}, - 'open_id_connect_configuration': {'key': 'openIdConnectConfiguration', 'type': 'OpenIdConnectConfig'}, - } - - def __init__(self, **kwargs): - super(OpenIdConnectRegistration, self).__init__(**kwargs) - self.client_id = kwargs.get('client_id', None) - self.client_credential = kwargs.get('client_credential', None) - self.open_id_connect_configuration = kwargs.get('open_id_connect_configuration', None) - - -class OperationDetail(Model): - """Operation detail payload. - - :param name: Name of the operation - :type name: str - :param is_data_action: Indicates whether the operation is a data action - :type is_data_action: bool - :param display: Display of the operation - :type display: ~commondefinitions.models.OperationDisplay - :param origin: Origin of the operation - :type origin: str - """ - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, - 'display': {'key': 'display', 'type': 'OperationDisplay'}, - 'origin': {'key': 'origin', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(OperationDetail, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.is_data_action = kwargs.get('is_data_action', None) - self.display = kwargs.get('display', None) - self.origin = kwargs.get('origin', None) - - -class OperationDisplay(Model): - """Operation display payload. - - :param provider: Resource provider of the operation - :type provider: str - :param resource: Resource of the operation - :type resource: str - :param operation: Localized friendly name for the operation - :type operation: str - :param description: Localized friendly description for the operation - :type description: str - """ - - _attribute_map = { - 'provider': {'key': 'provider', 'type': 'str'}, - 'resource': {'key': 'resource', 'type': 'str'}, - 'operation': {'key': 'operation', 'type': 'str'}, - 'description': {'key': 'description', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(OperationDisplay, self).__init__(**kwargs) - self.provider = kwargs.get('provider', None) - self.resource = kwargs.get('resource', None) - self.operation = kwargs.get('operation', None) - self.description = kwargs.get('description', None) - - -class QueueScaleRule(Model): - """Container App container Azure Queue based scaling rule. - - :param queue_name: Queue name. - :type queue_name: str - :param queue_length: Queue length. - :type queue_length: int - :param auth: Authentication secrets for the queue scale rule. - :type auth: list[~commondefinitions.models.ScaleRuleAuth] - """ - - _attribute_map = { - 'queue_name': {'key': 'queueName', 'type': 'str'}, - 'queue_length': {'key': 'queueLength', 'type': 'int'}, - 'auth': {'key': 'auth', 'type': '[ScaleRuleAuth]'}, - } - - def __init__(self, **kwargs): - super(QueueScaleRule, self).__init__(**kwargs) - self.queue_name = kwargs.get('queue_name', None) - self.queue_length = kwargs.get('queue_length', None) - self.auth = kwargs.get('auth', None) - - -class RegistryCredentials(Model): - """Container App Private Registry. - - :param server: Container Registry Server - :type server: str - :param username: Container Registry Username - :type username: str - :param password_secret_ref: The name of the Secret that contains the - registry login password - :type password_secret_ref: str - """ - - _attribute_map = { - 'server': {'key': 'server', 'type': 'str'}, - 'username': {'key': 'username', 'type': 'str'}, - 'password_secret_ref': {'key': 'passwordSecretRef', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(RegistryCredentials, self).__init__(**kwargs) - self.server = kwargs.get('server', None) - self.username = kwargs.get('username', None) - self.password_secret_ref = kwargs.get('password_secret_ref', None) - - -class RegistryInfo(Model): - """Container App registry information. - - :param registry_url: registry server Url. - :type registry_url: str - :param registry_user_name: registry username. - :type registry_user_name: str - :param registry_password: registry secret. - :type registry_password: str - """ - - _attribute_map = { - 'registry_url': {'key': 'registryUrl', 'type': 'str'}, - 'registry_user_name': {'key': 'registryUserName', 'type': 'str'}, - 'registry_password': {'key': 'registryPassword', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(RegistryInfo, self).__init__(**kwargs) - self.registry_url = kwargs.get('registry_url', None) - self.registry_user_name = kwargs.get('registry_user_name', None) - self.registry_password = kwargs.get('registry_password', None) - - -class Replica(ProxyResource): - """Container App Revision Replica. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - :vartype id: str - :ivar name: The name of the resource - :vartype name: str - :ivar type: The type of the resource. E.g. - "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy - and modifiedBy information. - :vartype system_data: ~commondefinitions.models.SystemData - :ivar created_time: Timestamp describing when the pod was created by - controller - :vartype created_time: datetime - :param containers: The containers collection under a replica. - :type containers: list[~commondefinitions.models.ReplicaContainer] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'system_data': {'readonly': True}, - 'created_time': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'system_data': {'key': 'systemData', 'type': 'SystemData'}, - 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, - 'containers': {'key': 'properties.containers', 'type': '[ReplicaContainer]'}, - } - - def __init__(self, **kwargs): - super(Replica, self).__init__(**kwargs) - self.created_time = None - self.containers = kwargs.get('containers', None) - - -class ReplicaCollection(Model): - """Container App Revision Replicas collection ARM resource. - - All required parameters must be populated in order to send to Azure. - - :param value: Required. Collection of resources. - :type value: list[~commondefinitions.models.Replica] - """ - - _validation = { - 'value': {'required': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[Replica]'}, - } - - def __init__(self, **kwargs): - super(ReplicaCollection, self).__init__(**kwargs) - self.value = kwargs.get('value', None) - - -class ReplicaContainer(Model): - """Container object under Container App Revision Replica. - - :param name: The Name of the Container - :type name: str - :param container_id: The Id of the Container - :type container_id: str - :param ready: The container ready status - :type ready: bool - :param started: The container start status - :type started: bool - :param restart_count: The container restart count - :type restart_count: int - """ - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'container_id': {'key': 'containerId', 'type': 'str'}, - 'ready': {'key': 'ready', 'type': 'bool'}, - 'started': {'key': 'started', 'type': 'bool'}, - 'restart_count': {'key': 'restartCount', 'type': 'int'}, - } - - def __init__(self, **kwargs): - super(ReplicaContainer, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.container_id = kwargs.get('container_id', None) - self.ready = kwargs.get('ready', None) - self.started = kwargs.get('started', None) - self.restart_count = kwargs.get('restart_count', None) - - -class Revision(ProxyResource): - """Container App Revision. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - :vartype id: str - :ivar name: The name of the resource - :vartype name: str - :ivar type: The type of the resource. E.g. - "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy - and modifiedBy information. - :vartype system_data: ~commondefinitions.models.SystemData - :ivar created_time: Timestamp describing when the revision was created - by controller - :vartype created_time: datetime - :ivar fqdn: Fully qualified domain name of the revision - :vartype fqdn: str - :ivar template: Container App Revision Template with all possible settings - and the - defaults if user did not provide them. The defaults are populated - as they were at the creation time - :vartype template: ~commondefinitions.models.Template - :ivar active: Boolean describing if the Revision is Active - :vartype active: bool - :ivar replicas: Number of pods currently running for this revision - :vartype replicas: int - :ivar traffic_weight: Traffic weight assigned to this revision - :vartype traffic_weight: int - :ivar provisioning_error: Optional Field - Platform Error Message - :vartype provisioning_error: str - :ivar health_state: Current health State of the revision. Possible values - include: 'Healthy', 'Unhealthy', 'None' - :vartype health_state: str or - ~commondefinitions.models.RevisionHealthState - :ivar provisioning_state: Current provisioning State of the revision. - Possible values include: 'Provisioning', 'Provisioned', 'Failed', - 'Deprovisioning', 'Deprovisioned' - :vartype provisioning_state: str or - ~commondefinitions.models.RevisionProvisioningState - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'system_data': {'readonly': True}, - 'created_time': {'readonly': True}, - 'fqdn': {'readonly': True}, - 'template': {'readonly': True}, - 'active': {'readonly': True}, - 'replicas': {'readonly': True}, - 'traffic_weight': {'readonly': True}, - 'provisioning_error': {'readonly': True}, - 'health_state': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'system_data': {'key': 'systemData', 'type': 'SystemData'}, - 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, - 'fqdn': {'key': 'properties.fqdn', 'type': 'str'}, - 'template': {'key': 'properties.template', 'type': 'Template'}, - 'active': {'key': 'properties.active', 'type': 'bool'}, - 'replicas': {'key': 'properties.replicas', 'type': 'int'}, - 'traffic_weight': {'key': 'properties.trafficWeight', 'type': 'int'}, - 'provisioning_error': {'key': 'properties.provisioningError', 'type': 'str'}, - 'health_state': {'key': 'properties.healthState', 'type': 'str'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(Revision, self).__init__(**kwargs) - self.created_time = None - self.fqdn = None - self.template = None - self.active = None - self.replicas = None - self.traffic_weight = None - self.provisioning_error = None - self.health_state = None - self.provisioning_state = None - - -class RevisionCollection(Model): - """Container App Revisions collection ARM resource. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :param value: Required. Collection of resources. - :type value: list[~commondefinitions.models.Revision] - :ivar next_link: Link to next page of resources. - :vartype next_link: str - """ - - _validation = { - 'value': {'required': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[Revision]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(RevisionCollection, self).__init__(**kwargs) - self.value = kwargs.get('value', None) - self.next_link = None - - -class Scale(Model): - """Container App scaling configurations. - - :param min_replicas: Optional. Minimum number of container replicas. - :type min_replicas: int - :param max_replicas: Optional. Maximum number of container replicas. - Defaults to 10 if not set. - :type max_replicas: int - :param rules: Scaling rules. - :type rules: list[~commondefinitions.models.ScaleRule] - """ - - _attribute_map = { - 'min_replicas': {'key': 'minReplicas', 'type': 'int'}, - 'max_replicas': {'key': 'maxReplicas', 'type': 'int'}, - 'rules': {'key': 'rules', 'type': '[ScaleRule]'}, - } - - def __init__(self, **kwargs): - super(Scale, self).__init__(**kwargs) - self.min_replicas = kwargs.get('min_replicas', None) - self.max_replicas = kwargs.get('max_replicas', None) - self.rules = kwargs.get('rules', None) - - -class ScaleRule(Model): - """Container App container scaling rule. - - :param name: Scale Rule Name - :type name: str - :param azure_queue: Azure Queue based scaling. - :type azure_queue: ~commondefinitions.models.QueueScaleRule - :param custom: Custom scale rule. - :type custom: ~commondefinitions.models.CustomScaleRule - :param http: HTTP requests based scaling. - :type http: ~commondefinitions.models.HttpScaleRule - """ - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'azure_queue': {'key': 'azureQueue', 'type': 'QueueScaleRule'}, - 'custom': {'key': 'custom', 'type': 'CustomScaleRule'}, - 'http': {'key': 'http', 'type': 'HttpScaleRule'}, - } - - def __init__(self, **kwargs): - super(ScaleRule, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.azure_queue = kwargs.get('azure_queue', None) - self.custom = kwargs.get('custom', None) - self.http = kwargs.get('http', None) - - -class ScaleRuleAuth(Model): - """Auth Secrets for Container App Scale Rule. - - :param secret_ref: Name of the Container App secret from which to pull the - auth params. - :type secret_ref: str - :param trigger_parameter: Trigger Parameter that uses the secret - :type trigger_parameter: str - """ - - _attribute_map = { - 'secret_ref': {'key': 'secretRef', 'type': 'str'}, - 'trigger_parameter': {'key': 'triggerParameter', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(ScaleRuleAuth, self).__init__(**kwargs) - self.secret_ref = kwargs.get('secret_ref', None) - self.trigger_parameter = kwargs.get('trigger_parameter', None) - - -class Secret(Model): - """Secret definition. - - :param name: Secret Name. - :type name: str - :param value: Secret Value. - :type value: str - """ - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'value': {'key': 'value', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(Secret, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.value = kwargs.get('value', None) - - -class SecretsCollection(Model): - """Container App Secrets Collection ARM resource. - - All required parameters must be populated in order to send to Azure. - - :param value: Required. Collection of resources. - :type value: list[~commondefinitions.models.ContainerAppSecret] - """ - - _validation = { - 'value': {'required': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[ContainerAppSecret]'}, - } - - def __init__(self, **kwargs): - super(SecretsCollection, self).__init__(**kwargs) - self.value = kwargs.get('value', None) - - -class SourceControl(ProxyResource): - """Container App SourceControl. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - :vartype id: str - :ivar name: The name of the resource - :vartype name: str - :ivar type: The type of the resource. E.g. - "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy - and modifiedBy information. - :vartype system_data: ~commondefinitions.models.SystemData - :ivar operation_state: Current provisioning State of the operation. - Possible values include: 'InProgress', 'Succeeded', 'Failed', 'Canceled' - :vartype operation_state: str or - ~commondefinitions.models.SourceControlOperationState - :param repo_url: The repo url which will be integrated to ContainerApp. - :type repo_url: str - :param branch: The branch which will trigger the auto deployment - :type branch: str - :param github_action_configuration: Container App Revision Template with - all possible settings and the - defaults if user did not provide them. The defaults are populated - as they were at the creation time - :type github_action_configuration: - ~commondefinitions.models.GithubActionConfiguration - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'system_data': {'readonly': True}, - 'operation_state': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'system_data': {'key': 'systemData', 'type': 'SystemData'}, - 'operation_state': {'key': 'properties.operationState', 'type': 'str'}, - 'repo_url': {'key': 'properties.repoUrl', 'type': 'str'}, - 'branch': {'key': 'properties.branch', 'type': 'str'}, - 'github_action_configuration': {'key': 'properties.githubActionConfiguration', 'type': 'GithubActionConfiguration'}, - } - - def __init__(self, **kwargs): - super(SourceControl, self).__init__(**kwargs) - self.operation_state = None - self.repo_url = kwargs.get('repo_url', None) - self.branch = kwargs.get('branch', None) - self.github_action_configuration = kwargs.get('github_action_configuration', None) - - -class SourceControlCollection(Model): - """SourceControl collection ARM resource. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :param value: Required. Collection of resources. - :type value: list[~commondefinitions.models.SourceControl] - :ivar next_link: Link to next page of resources. - :vartype next_link: str - """ - - _validation = { - 'value': {'required': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[SourceControl]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(SourceControlCollection, self).__init__(**kwargs) - self.value = kwargs.get('value', None) - self.next_link = None - - -class SystemData(Model): - """Metadata pertaining to creation and last modification of the resource. - - :param created_by: The identity that created the resource. - :type created_by: str - :param created_by_type: The type of identity that created the resource. - Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key' - :type created_by_type: str or ~commondefinitions.models.CreatedByType - :param created_at: The timestamp of resource creation (UTC). - :type created_at: datetime - :param last_modified_by: The identity that last modified the resource. - :type last_modified_by: str - :param last_modified_by_type: The type of identity that last modified the - resource. Possible values include: 'User', 'Application', - 'ManagedIdentity', 'Key' - :type last_modified_by_type: str or - ~commondefinitions.models.CreatedByType - :param last_modified_at: The timestamp of resource last modification (UTC) - :type last_modified_at: datetime - """ - - _attribute_map = { - 'created_by': {'key': 'createdBy', 'type': 'str'}, - 'created_by_type': {'key': 'createdByType', 'type': 'str'}, - 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, - 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, - 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, - 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, - } - - def __init__(self, **kwargs): - super(SystemData, self).__init__(**kwargs) - self.created_by = kwargs.get('created_by', None) - self.created_by_type = kwargs.get('created_by_type', None) - self.created_at = kwargs.get('created_at', None) - self.last_modified_by = kwargs.get('last_modified_by', None) - self.last_modified_by_type = kwargs.get('last_modified_by_type', None) - self.last_modified_at = kwargs.get('last_modified_at', None) - - -class Template(Model): - """Container App versioned application definition. - Defines the desired state of an immutable revision. - Any changes to this section Will result in a new revision being created. - - :param revision_suffix: User friendly suffix that is appended to the - revision name - :type revision_suffix: str - :param containers: List of container definitions for the Container App. - :type containers: list[~commondefinitions.models.Container] - :param scale: Scaling properties for the Container App. - :type scale: ~commondefinitions.models.Scale - :param volumes: List of volume definitions for the Container App. - :type volumes: list[~commondefinitions.models.Volume] - """ - - _attribute_map = { - 'revision_suffix': {'key': 'revisionSuffix', 'type': 'str'}, - 'containers': {'key': 'containers', 'type': '[Container]'}, - 'scale': {'key': 'scale', 'type': 'Scale'}, - 'volumes': {'key': 'volumes', 'type': '[Volume]'}, - } - - def __init__(self, **kwargs): - super(Template, self).__init__(**kwargs) - self.revision_suffix = kwargs.get('revision_suffix', None) - self.containers = kwargs.get('containers', None) - self.scale = kwargs.get('scale', None) - self.volumes = kwargs.get('volumes', None) - - -class TrafficWeight(Model): - """Traffic weight assigned to a revision. - - :param revision_name: Name of a revision - :type revision_name: str - :param weight: Traffic weight assigned to a revision - :type weight: int - :param latest_revision: Indicates that the traffic weight belongs to a - latest stable revision. Default value: False . - :type latest_revision: bool - """ - - _attribute_map = { - 'revision_name': {'key': 'revisionName', 'type': 'str'}, - 'weight': {'key': 'weight', 'type': 'int'}, - 'latest_revision': {'key': 'latestRevision', 'type': 'bool'}, - } - - def __init__(self, **kwargs): - super(TrafficWeight, self).__init__(**kwargs) - self.revision_name = kwargs.get('revision_name', None) - self.weight = kwargs.get('weight', None) - self.latest_revision = kwargs.get('latest_revision', False) - - -class Twitter(Model): - """The configuration settings of the Twitter provider. - - :param state: Disabled if the Twitter provider should not be - enabled despite the set registration; otherwise, Enabled. - Possible values include: 'Enabled', 'Disabled' - :type state: str or ~commondefinitions.models.IdentityProviderState - :param registration: The configuration settings of the app registration - for the Twitter provider. - :type registration: ~commondefinitions.models.TwitterRegistration - """ - - _attribute_map = { - 'state': {'key': 'state', 'type': 'str'}, - 'registration': {'key': 'registration', 'type': 'TwitterRegistration'}, - } - - def __init__(self, **kwargs): - super(Twitter, self).__init__(**kwargs) - self.state = kwargs.get('state', None) - self.registration = kwargs.get('registration', None) - - -class TwitterRegistration(Model): - """The configuration settings of the app registration for the Twitter - provider. - - :param consumer_key: The OAuth 1.0a consumer key of the Twitter - application used for sign-in. - This setting is required for enabling Twitter Sign-In. - Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in - :type consumer_key: str - :param consumer_secret_ref_name: The app secret ref name that contains the - OAuth 1.0a consumer secret of the Twitter - application used for sign-in. - :type consumer_secret_ref_name: str - """ - - _attribute_map = { - 'consumer_key': {'key': 'consumerKey', 'type': 'str'}, - 'consumer_secret_ref_name': {'key': 'consumerSecretRefName', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(TwitterRegistration, self).__init__(**kwargs) - self.consumer_key = kwargs.get('consumer_key', None) - self.consumer_secret_ref_name = kwargs.get('consumer_secret_ref_name', None) - - -class UserAssignedIdentity(Model): - """User assigned identity properties. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar principal_id: The principal ID of the assigned identity. - :vartype principal_id: str - :ivar client_id: The client ID of the assigned identity. - :vartype client_id: str - """ - - _validation = { - 'principal_id': {'readonly': True}, - 'client_id': {'readonly': True}, - } - - _attribute_map = { - 'principal_id': {'key': 'principalId', 'type': 'str'}, - 'client_id': {'key': 'clientId', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(UserAssignedIdentity, self).__init__(**kwargs) - self.principal_id = None - self.client_id = None - - -class VnetConfiguration(Model): - """Configuration properties for apps environment to join a Virtual Network. - - :param internal: Boolean indicating the environment only has an internal - load balancer. These environments do not have a public static IP resource, - must provide ControlPlaneSubnetResourceId and AppSubnetResourceId if - enabling this property - :type internal: bool - :param infrastructure_subnet_id: Resource ID of a subnet for - infrastructure components. This subnet must be in the same VNET as the - subnet defined in runtimeSubnetId. Must not overlap with any other - provided IP ranges. - :type infrastructure_subnet_id: str - :param runtime_subnet_id: Resource ID of a subnet that Container App - containers are injected into. This subnet must be in the same VNET as the - subnet defined in infrastructureSubnetId. Must not overlap with any other - provided IP ranges. - :type runtime_subnet_id: str - :param docker_bridge_cidr: CIDR notation IP range assigned to the Docker - bridge, network. Must not overlap with any other provided IP ranges. - :type docker_bridge_cidr: str - :param platform_reserved_cidr: IP range in CIDR notation that can be - reserved for environment infrastructure IP addresses. Must not overlap - with any other provided IP ranges. - :type platform_reserved_cidr: str - :param platform_reserved_dns_ip: An IP address from the IP range defined - by platformReservedCidr that will be reserved for the internal DNS server. - :type platform_reserved_dns_ip: str - """ - - _attribute_map = { - 'internal': {'key': 'internal', 'type': 'bool'}, - 'infrastructure_subnet_id': {'key': 'infrastructureSubnetId', 'type': 'str'}, - 'runtime_subnet_id': {'key': 'runtimeSubnetId', 'type': 'str'}, - 'docker_bridge_cidr': {'key': 'dockerBridgeCidr', 'type': 'str'}, - 'platform_reserved_cidr': {'key': 'platformReservedCidr', 'type': 'str'}, - 'platform_reserved_dns_ip': {'key': 'platformReservedDnsIP', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(VnetConfiguration, self).__init__(**kwargs) - self.internal = kwargs.get('internal', None) - self.infrastructure_subnet_id = kwargs.get('infrastructure_subnet_id', None) - self.runtime_subnet_id = kwargs.get('runtime_subnet_id', None) - self.docker_bridge_cidr = kwargs.get('docker_bridge_cidr', None) - self.platform_reserved_cidr = kwargs.get('platform_reserved_cidr', None) - self.platform_reserved_dns_ip = kwargs.get('platform_reserved_dns_ip', None) - - -class Volume(Model): - """Volume definitions for the Container App. - - :param name: Volume name. - :type name: str - :param storage_type: Storage type for the volume. If not provided, use - EmptyDir. Possible values include: 'AzureFile', 'EmptyDir' - :type storage_type: str or ~commondefinitions.models.StorageType - :param storage_name: Name of storage resource. No need to provide for - EmptyDir. - :type storage_name: str - """ - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'storage_type': {'key': 'storageType', 'type': 'str'}, - 'storage_name': {'key': 'storageName', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(Volume, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.storage_type = kwargs.get('storage_type', None) - self.storage_name = kwargs.get('storage_name', None) - - -class VolumeMount(Model): - """Volume mount for the Container App. - - :param volume_name: This must match the Name of a Volume. - :type volume_name: str - :param mount_path: Path within the container at which the volume should be - mounted.Must not contain ':'. - :type mount_path: str - """ - - _attribute_map = { - 'volume_name': {'key': 'volumeName', 'type': 'str'}, - 'mount_path': {'key': 'mountPath', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(VolumeMount, self).__init__(**kwargs) - self.volume_name = kwargs.get('volume_name', None) - self.mount_path = kwargs.get('mount_path', None) diff --git a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_ssh_utils.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_ssh_utils.py deleted file mode 100644 index af8169afe7b..00000000000 --- a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_ssh_utils.py +++ /dev/null @@ -1,181 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -# pylint: disable=logging-fstring-interpolation - -import os -import sys -import time -import threading -import urllib -import requests -import websocket - -from knack.log import get_logger -from azure.cli.core.azclierror import CLIInternalError -from azure.cli.core.commands.client_factory import get_subscription_id - -from ._clients import ContainerAppClient -from ._utils import safe_get, is_platform_windows - -# pylint: disable=import-error,ungrouped-imports -if is_platform_windows(): - import msvcrt - from azure.cli.command_modules.container._vt_helper import (enable_vt_mode, _get_conout_mode, - _set_conout_mode, _get_conin_mode, _set_conin_mode) - -logger = get_logger(__name__) - -# SSH control byte values for container app proxy -SSH_PROXY_FORWARD = 0 -SSH_PROXY_INFO = 1 -SSH_PROXY_ERROR = 2 - -# SSH control byte values for container app cluster -SSH_CLUSTER_STDIN = 0 -SSH_CLUSTER_STDOUT = 1 -SSH_CLUSTER_STDERR = 2 - -# forward byte + stdin byte -SSH_INPUT_PREFIX = b"\x00\x00" - -# forward byte + terminal resize byte -SSH_TERM_RESIZE_PREFIX = b"\x00\x04" - -SSH_DEFAULT_ENCODING = "utf-8" -SSH_BACKUP_ENCODING = "latin_1" - -SSH_CTRL_C_MSG = b"\x00\x00\x03" - - -class WebSocketConnection: - def __init__(self, cmd, resource_group_name, name, revision, replica, container, startup_command): - token_response = ContainerAppClient.get_auth_token(cmd, resource_group_name, name) - self._token = token_response["properties"]["token"] - self._logstream_endpoint = token_response["properties"]["logStreamEndpoint"] - self._url = self._get_url(cmd=cmd, resource_group_name=resource_group_name, name=name, revision=revision, - replica=replica, container=container, startup_command=startup_command) - self._socket = websocket.WebSocket(enable_multithread=True) - logger.info("Attempting to connect to %s", self._url) - self._socket.connect(self._url, header=[f"Authorization: Bearer {self._token}"]) - - self.is_connected = True - self._windows_conout_mode = None - self._windows_conin_mode = None - if is_platform_windows(): - self._windows_conout_mode = _get_conout_mode() - self._windows_conin_mode = _get_conin_mode() - - def _get_url(self, cmd, resource_group_name, name, revision, replica, container, startup_command): - sub = get_subscription_id(cmd.cli_ctx) - base_url = self._logstream_endpoint - proxy_api_url = base_url[:base_url.index("/subscriptions/")].replace("https://", "") - encoded_cmd = urllib.parse.quote_plus(startup_command) - - return (f"wss://{proxy_api_url}/subscriptions/{sub}/resourceGroups/{resource_group_name}/containerApps/{name}" - f"/revisions/{revision}/replicas/{replica}/containers/{container}/exec" - f"?command={encoded_cmd}") - - def disconnect(self): - logger.warning("Disconnecting...") - self.is_connected = False - self._socket.close() - if self._windows_conout_mode and self._windows_conin_mode: - _set_conout_mode(self._windows_conout_mode) - _set_conin_mode(self._windows_conin_mode) - - def send(self, *args, **kwargs): - return self._socket.send(*args, **kwargs) - - def recv(self, *args, **kwargs): - return self._socket.recv(*args, **kwargs) - - -def _decode_and_output_to_terminal(connection: WebSocketConnection, response, encodings): - for i, encoding in enumerate(encodings): - try: - print(response[2:].decode(encoding), end="", flush=True) - break - except UnicodeDecodeError as e: - if i == len(encodings) - 1: # ran out of encodings to try - connection.disconnect() - logger.info("Proxy Control Byte: %s", response[0]) - logger.info("Cluster Control Byte: %s", response[1]) - logger.info("Hexdump: %s", response[2:].hex()) - raise CLIInternalError("Failed to decode server data") from e - logger.info("Failed to encode with encoding %s", encoding) - - -def read_ssh(connection: WebSocketConnection, response_encodings): - # response_encodings is the ordered list of Unicode encodings to try to decode with before raising an exception - while connection.is_connected: - response = connection.recv() - if not response: - connection.disconnect() - else: - logger.info("Received raw response %s", response.hex()) - proxy_status = response[0] - if proxy_status == SSH_PROXY_INFO: - print(f"INFO: {response[1:].decode(SSH_DEFAULT_ENCODING)}") - elif proxy_status == SSH_PROXY_ERROR: - print(f"ERROR: {response[1:].decode(SSH_DEFAULT_ENCODING)}") - elif proxy_status == SSH_PROXY_FORWARD: - control_byte = response[1] - if control_byte in (SSH_CLUSTER_STDOUT, SSH_CLUSTER_STDERR): - _decode_and_output_to_terminal(connection, response, response_encodings) - else: - connection.disconnect() - raise CLIInternalError("Unexpected message received") - - -def _send_stdin(connection: WebSocketConnection, getch_fn): - while connection.is_connected: - _resize_terminal(connection) - ch = getch_fn() - _resize_terminal(connection) - if connection.is_connected: - connection.send(b"".join([SSH_INPUT_PREFIX, ch])) - - -def _resize_terminal(connection: WebSocketConnection): - size = os.get_terminal_size() - if connection.is_connected: - connection.send(b"".join([SSH_TERM_RESIZE_PREFIX, - f'{{"Width": {size.columns}, ' - f'"Height": {size.lines}}}'.encode(SSH_DEFAULT_ENCODING)])) - - -def _getch_unix(): - return sys.stdin.read(1).encode(SSH_DEFAULT_ENCODING) - - -def _getch_windows(): - while not msvcrt.kbhit(): - time.sleep(0.01) - return msvcrt.getch() - - -def ping_container_app(app): - site = safe_get(app, "properties", "configuration", "ingress", "fqdn") - if site: - try: - resp = requests.get(f'https://{site}', timeout=30) - if not resp.ok: - logger.info(f"Got bad status pinging app: {resp.status_code}") - except requests.exceptions.ReadTimeout: - logger.info("Timed out while pinging app external URL") - else: - logger.info("Could not fetch site external URL") - - -def get_stdin_writer(connection: WebSocketConnection): - if not is_platform_windows(): - import tty - tty.setcbreak(sys.stdin.fileno()) # needed to prevent printing arrow key characters - writer = threading.Thread(target=_send_stdin, args=(connection, _getch_unix)) - else: - enable_vt_mode() # needed for interactive commands (ie vim) - writer = threading.Thread(target=_send_stdin, args=(connection, _getch_windows)) - - return writer diff --git a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_up_utils.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_up_utils.py deleted file mode 100644 index 304ee4686d2..00000000000 --- a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_up_utils.py +++ /dev/null @@ -1,882 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -# pylint: disable=line-too-long, consider-using-f-string, no-else-return, duplicate-string-formatting-argument, expression-not-assigned, too-many-locals, logging-fstring-interpolation, arguments-differ, abstract-method, logging-format-interpolation, broad-except - - -from urllib.parse import urlparse -import requests - -from azure.cli.core.azclierror import ( - RequiredArgumentMissingError, - ValidationError, - InvalidArgumentValueError, - MutuallyExclusiveArgumentError, -) -from azure.cli.core.commands.client_factory import get_subscription_id -from azure.cli.command_modules.appservice._create_util import ( - check_resource_group_exists, -) -from azure.cli.command_modules.acr.custom import acr_show -from azure.cli.core.commands.client_factory import get_mgmt_service_client -from azure.mgmt.containerregistry import ContainerRegistryManagementClient -from knack.log import get_logger - -from msrestazure.tools import parse_resource_id, is_valid_resource_id, resource_id - -from ._clients import ManagedEnvironmentClient, ContainerAppClient, GitHubActionClient - -from ._utils import ( - get_randomized_name, - get_profile_username, - create_resource_group, - get_resource_group, - queue_acr_build, - _get_acr_cred, - create_new_acr, - _get_default_containerapps_location, - safe_get, - is_int, - create_service_principal_for_rbac, - repo_url_to_name, - get_container_app_if_exists, - trigger_workflow, - _ensure_location_allowed, - _is_resource_provider_registered, - _register_resource_provider -) - -from ._constants import MAXIMUM_SECRET_LENGTH, LOG_ANALYTICS_RP - -from .custom import ( - create_managed_environment, - containerapp_up_logic, - list_containerapp, - list_managed_environments, - create_or_update_github_action, -) - -from ._github_oauth import load_github_token_from_cache, get_github_access_token - -logger = get_logger(__name__) - - -class ResourceGroup: - def __init__(self, cmd, name: str, location: str, exists: bool = None): - self.cmd = cmd - self.name = name - self.location = _get_default_containerapps_location(cmd, location) - if self.location.lower() == "northcentralusstage": - self.location = "eastus" - self.exists = exists - - self.check_exists() - - def create(self): - g = create_resource_group(self.cmd, self.name, self.location) - self.exists = True - return g - - def _get(self): - return get_resource_group(self.cmd, self.name) - - def get(self): - r = None - try: - r = self._get() - except: # pylint: disable=bare-except - pass - return r - - def check_exists(self) -> bool: - if self.name is None: - self.exists = False - else: - self.exists = check_resource_group_exists(self.cmd, self.name) - return self.exists - - def create_if_needed(self): - if not self.check_exists(): - if not self.name: - self.name = get_randomized_name(get_profile_username()) - logger.warning(f"Creating resource group '{self.name}'") - self.create() - else: - logger.warning(f"Using resource group '{self.name}'") # TODO use .info() - - -class Resource: - def __init__( - self, cmd, name: str, resource_group: "ResourceGroup", exists: bool = None - ): - self.cmd = cmd - self.name = name - self.resource_group = resource_group - self.exists = exists - - self.check_exists() - - def create(self, *args, **kwargs): - raise NotImplementedError() - - def _get(self): - raise NotImplementedError() - - def get(self): - r = None - try: - r = self._get() - except: # pylint: disable=bare-except - pass - return r - - def check_exists(self): - if self.name is None or self.resource_group.name is None: - self.exists = False - else: - self.exists = self.get() is not None - return self.exists - - -class ContainerAppEnvironment(Resource): - def __init__( - self, - cmd, - name: str, - resource_group: "ResourceGroup", - exists: bool = None, - location=None, - logs_key=None, - logs_customer_id=None, - ): - - super().__init__(cmd, name, resource_group, exists) - if is_valid_resource_id(name): - self.name = parse_resource_id(name)["name"] - if "resource_group" in parse_resource_id(name): - rg = parse_resource_id(name)["resource_group"] - if resource_group.name != rg: - self.resource_group = ResourceGroup(cmd, rg, location) - self.location = location - self.logs_key = logs_key - self.logs_customer_id = logs_customer_id - - def set_name(self, name_or_rid): - if is_valid_resource_id(name_or_rid): - self.name = parse_resource_id(name_or_rid)["name"] - if "resource_group" in parse_resource_id(name_or_rid): - rg = parse_resource_id(name_or_rid)["resource_group"] - if self.resource_group.name != rg: - self.resource_group = ResourceGroup( - self.cmd, - rg, - self.location, - ) - else: - self.name = name_or_rid - - def _get(self): - return ManagedEnvironmentClient.show( - self.cmd, self.resource_group.name, self.name - ) - - def create_if_needed(self, app_name): - if not self.check_exists(): - if self.name is None: - self.name = "{}-env".format(app_name).replace("_", "-") - logger.warning( - f"Creating {type(self).__name__} '{self.name}' in resource group {self.resource_group.name}" - ) - self.create() - else: - logger.warning( - f"Using {type(self).__name__} '{self.name}' in resource group {self.resource_group.name}" - ) # TODO use .info() - - def create(self): - self.location = validate_environment_location(self.cmd, self.location) - if not _is_resource_provider_registered(self.cmd, LOG_ANALYTICS_RP): - _register_resource_provider(self.cmd, LOG_ANALYTICS_RP) - env = create_managed_environment( - self.cmd, - self.name, - location=self.location, - resource_group_name=self.resource_group.name, - logs_key=self.logs_key, - logs_customer_id=self.logs_customer_id, - disable_warnings=True, - ) - self.exists = True - return env - - def get_rid(self): - rid = self.name - if not is_valid_resource_id(self.name): - rid = resource_id( - subscription=get_subscription_id(self.cmd.cli_ctx), - resource_group=self.resource_group.name, - namespace="Microsoft.App", - type="managedEnvironments", - name=self.name, - ) - return rid - - -class AzureContainerRegistry(Resource): - def __init__(self, name: str, resource_group: "ResourceGroup"): # pylint: disable=super-init-not-called - - self.name = name - self.resource_group = resource_group - - -class ContainerApp(Resource): # pylint: disable=too-many-instance-attributes - def __init__( - self, - cmd, - name: str, - resource_group: "ResourceGroup", - exists: bool = None, - image=None, - env: "ContainerAppEnvironment" = None, - target_port=None, - registry_server=None, - registry_user=None, - registry_pass=None, - env_vars=None, - ingress=None, - ): - - super().__init__(cmd, name, resource_group, exists) - self.image = image - self.env = env - self.target_port = target_port - self.registry_server = registry_server - self.registry_user = registry_user - self.registry_pass = registry_pass - self.env_vars = env_vars - self.ingress = ingress - - self.should_create_acr = False - self.acr: "AzureContainerRegistry" = None - - def _get(self): - return ContainerAppClient.show(self.cmd, self.resource_group.name, self.name) - - def create(self, no_registry=False): - # no_registry: don't pass in a registry during create even if the app has one (used for GH actions) - if get_container_app_if_exists(self.cmd, self.resource_group.name, self.name): - logger.warning( - f"Updating Containerapp {self.name} in resource group {self.resource_group.name}" - ) - else: - logger.warning( - f"Creating Containerapp {self.name} in resource group {self.resource_group.name}" - ) - - return containerapp_up_logic( - cmd=self.cmd, - name=self.name, - resource_group_name=self.resource_group.name, - image=self.image, - managed_env=self.env.get_rid(), - target_port=self.target_port, - registry_server=None if no_registry else self.registry_server, - registry_pass=None if no_registry else self.registry_pass, - registry_user=None if no_registry else self.registry_user, - env_vars=self.env_vars, - ingress=self.ingress, - ) - - def create_acr_if_needed(self): - if self.should_create_acr: - logger.warning( - f"Creating Azure Container Registry {self.acr.name} in resource group " - f"{self.acr.resource_group.name}" - ) - self.create_acr() - - def create_acr(self): - registry_rg = self.resource_group - url = self.registry_server - registry_name = url[: url.rindex(".azurecr.io")] - location = "eastus" - if self.env.location and self.env.location.lower() != "northcentralusstage": - location = self.env.location - registry_def = create_new_acr( - self.cmd, registry_name, registry_rg.name, location - ) - self.registry_server = registry_def.login_server - - if not self.acr: - self.acr = AzureContainerRegistry(registry_name, registry_rg) - - self.registry_user, self.registry_pass, _ = _get_acr_cred( - self.cmd.cli_ctx, registry_name - ) - - def run_acr_build(self, dockerfile, source, quiet=False): - image_name = self.image if self.image is not None else self.name - from datetime import datetime - - now = datetime.now() - # Add version tag for acr image - image_name += ":{}".format( - str(now).replace(" ", "").replace("-", "").replace(".", "").replace(":", "") - ) - - self.image = self.registry_server + "/" + image_name - - queue_acr_build( - self.cmd, - self.acr.resource_group.name, - self.acr.name, - image_name, - source, - dockerfile, - quiet, - ) - - -def _create_service_principal(cmd, resource_group_name, env_resource_group_name): - logger.warning( - "No valid service principal provided. Creating a new service principal..." - ) - scopes = [ - f"/subscriptions/{get_subscription_id(cmd.cli_ctx)}/resourceGroups/{resource_group_name}" - ] - if ( - env_resource_group_name is not None - and env_resource_group_name != resource_group_name - ): - scopes.append( - f"/subscriptions/{get_subscription_id(cmd.cli_ctx)}/resourceGroups/{env_resource_group_name}" - ) - sp = create_service_principal_for_rbac(cmd, scopes=scopes, role="contributor") - - logger.warning(f"Created service principal: {sp['displayName']} with ID {sp['appId']}") - - return sp["appId"], sp["password"], sp["tenant"] - - -def _get_or_create_sp( # pylint: disable=inconsistent-return-statements - cmd, - resource_group_name, - env_resource_group_name, - name, - service_principal_client_id, - service_principal_client_secret, - service_principal_tenant_id, -): - if service_principal_client_id and service_principal_client_secret and service_principal_tenant_id: - return ( - service_principal_client_id, - service_principal_client_secret, - service_principal_tenant_id, - ) - try: - GitHubActionClient.show( - cmd=cmd, resource_group_name=resource_group_name, name=name - ) - return ( - service_principal_client_id, - service_principal_client_secret, - service_principal_tenant_id, - ) - except: # pylint: disable=bare-except - service_principal = None - - # TODO if possible, search for SPs with the right credentials - # I haven't found a way to get SP creds + secrets yet from the API - - if not service_principal: - return _create_service_principal( - cmd, resource_group_name, env_resource_group_name - ) - # return client_id, secret, tenant_id - - -def _get_dockerfile_content_from_repo( - repo_url, branch, token, context_path, dockerfile -): - from github import Github - - g = Github(token) - context_path = context_path or "." - repo = repo_url_to_name(repo_url) - try: - r = g.get_repo(repo) - if not branch: - branch = r.default_branch - except Exception as e: - raise ValidationError(f"Could not find repo {repo_url}") from e - try: - files = r.get_contents(context_path, ref=branch) - except Exception as e: - raise ValidationError(f"Could not find branch {branch}") from e - for f in files: - if f.path == dockerfile or f.path.endswith(f"/{dockerfile}"): - resp = requests.get(f.download_url) - if resp.ok and resp.content: - return resp.content.decode("utf-8").split("\n") - raise ValidationError("Could not find Dockerfile in Github repo/branch. Please ensure it is named 'Dockerfile'. " - "Set the path with --context-path if not in the root directory.") - - -def _get_ingress_and_target_port(ingress, target_port, dockerfile_content: "list[str]"): - if not target_port and not ingress and dockerfile_content is not None: # pylint: disable=too-many-nested-blocks - for line in dockerfile_content: - if line: - line = ( - line.upper() - .strip() - .replace("/TCP", "") - .replace("/UDP", "") - .replace("\n", "") - ) - if line and line[0] != "#": - if "EXPOSE" in line: - parts = line.split(" ") - for i, p in enumerate(parts[:-1]): - if "EXPOSE" in p and is_int(parts[i + 1]): - target_port = parts[i + 1] - ingress = "external" - logger.warning( - "Adding external ingress port {} based on dockerfile expose.".format( - target_port - ) - ) - ingress = "external" if target_port and not ingress else ingress - return ingress, target_port - - -def _validate_up_args(cmd, source, image, repo, registry_server): - disallowed_params = ["--only-show-errors", "--output", "-o"] - command_args = cmd.cli_ctx.data.get("safe_params", []) - for a in disallowed_params: - if a in command_args: - raise ValidationError(f"Argument {a} is not allowed for 'az containerapp up'") - - if not source and not image and not repo: - raise RequiredArgumentMissingError( - "You must specify either --source, --repo, or --image" - ) - if source and repo: - raise MutuallyExclusiveArgumentError( - "Cannot use --source and --repo togther. " - "Can either deploy from a local directory or a Github repo" - ) - if repo and registry_server and "azurecr.io" in registry_server: - parsed = urlparse(registry_server) - registry_name = (parsed.netloc if parsed.scheme else parsed.path).split(".")[0] - if registry_name and len(registry_name) > MAXIMUM_SECRET_LENGTH: - raise ValidationError(f"--registry-server ACR name must be less than {MAXIMUM_SECRET_LENGTH} " - "characters when using --repo") - - -def _reformat_image(source, repo, image): - if source and (image or repo): - image = image.split("/")[-1] # if link is given - image = image.replace(":", "") - return image - - -def _get_dockerfile_content_local(source, dockerfile): - lines = [] - if source: - dockerfile_location = f"{source}/{dockerfile}" - try: - with open(dockerfile_location, "r") as fh: # pylint: disable=unspecified-encoding - lines = list(fh) - except Exception as e: - raise InvalidArgumentValueError( - "Cannot open specified Dockerfile. Check dockerfile name, path, and permissions." - ) from e - return lines - - -def _get_dockerfile_content(repo, branch, token, source, context_path, dockerfile): - if source: - return _get_dockerfile_content_local(source, dockerfile) - elif repo: - return _get_dockerfile_content_from_repo( - repo, branch, token, context_path, dockerfile - ) - return [] - - -def _get_app_env_and_group( - cmd, name, resource_group: "ResourceGroup", env: "ContainerAppEnvironment", location -): - if not resource_group.name and not resource_group.exists: - matched_apps = [c for c in list_containerapp(cmd) if c["name"].lower() == name.lower()] - if env.name: - matched_apps = [c for c in matched_apps if parse_resource_id(c["properties"]["managedEnvironmentId"])["name"].lower() == env.name.lower()] - if location: - matched_apps = [c for c in matched_apps if c["location"].lower() == location.lower()] - if len(matched_apps) == 1: - resource_group.name = parse_resource_id(matched_apps[0]["id"])[ - "resource_group" - ] - env.set_name(matched_apps[0]["properties"]["managedEnvironmentId"]) - elif len(matched_apps) > 1: - raise ValidationError( - f"There are multiple containerapps with name {name} on the subscription. " - "Please specify which resource group your Containerapp is in." - ) - - -def _get_env_and_group_from_log_analytics( - cmd, - resource_group_name, - env: "ContainerAppEnvironment", - resource_group: "ResourceGroup", - logs_customer_id, - location, -): - # resource_group_name is the value the user passed in (if present) - if not env.name: - if (resource_group_name == resource_group.name and resource_group.exists) or ( - not resource_group_name - ): - env_list = list_managed_environments( - cmd=cmd, resource_group_name=resource_group_name - ) - if logs_customer_id: - env_list = [ - e - for e in env_list - if safe_get( - e, - "properties", - "appLogsConfiguration", - "logAnalyticsConfiguration", - "customerId", - ) - == logs_customer_id - ] - if location: - env_list = [e for e in env_list if e["location"] == location] - if env_list: - # TODO check how many CA in env - env_details = parse_resource_id(env_list[0]["id"]) - env.set_name(env_details["name"]) - resource_group.name = env_details["resource_group"] - - -def _get_acr_from_image(cmd, app): - if app.image is not None and "azurecr.io" in app.image: - app.registry_server = app.image.split("/")[ - 0 - ] # TODO what if this conflicts with registry_server param? - parsed = urlparse(app.image) - registry_name = (parsed.netloc if parsed.scheme else parsed.path).split(".")[0] - if app.registry_user is None or app.registry_pass is None: - logger.info( - "No credential was provided to access Azure Container Registry. Trying to look up..." - ) - try: - app.registry_user, app.registry_pass, registry_rg = _get_acr_cred( - cmd.cli_ctx, registry_name - ) - app.acr = AzureContainerRegistry( - registry_name, ResourceGroup(cmd, registry_rg, None, None) - ) - except Exception as ex: - raise RequiredArgumentMissingError( - "Failed to retrieve credentials for container registry. Please provide the registry username and password" - ) from ex - else: - acr_rg = _get_acr_rg(app) - app.acr = AzureContainerRegistry( - name=registry_name, - resource_group=ResourceGroup(app.cmd, acr_rg, None, None), - ) - - -def _get_registry_from_app(app): - containerapp_def = app.get() - if containerapp_def: - if ( - len( - safe_get( - containerapp_def, - "properties", - "configuration", - "registries", - default=[], - ) - ) - == 1 - ): - app.registry_server = containerapp_def["properties"]["configuration"][ - "registries" - ][0]["server"] - - -def _get_acr_rg(app): - registry_name = app.registry_server[: app.registry_server.rindex(".azurecr.io")] - client = get_mgmt_service_client( - app.cmd.cli_ctx, ContainerRegistryManagementClient - ).registries - return parse_resource_id(acr_show(app.cmd, client, registry_name).id)[ - "resource_group" - ] - - -def _get_default_registry_name(app): - import hashlib - - h = hashlib.sha256() - h.update(f"{get_subscription_id(app.cmd.cli_ctx)}/{app.env.resource_group.name}/{app.env.name}".encode("utf-8")) - - registry_name = f"{h.hexdigest()}"[:10] # cap at 15 characters total - return f"ca{registry_name}acr" # ACR names must start + end in a letter - - -def _set_acr_creds(cmd, app: "ContainerApp", registry_name): - logger.info("No credential was provided to access Azure Container Registry. Trying to look up...") - try: - app.registry_user, app.registry_pass, registry_rg = _get_acr_cred( - cmd.cli_ctx, registry_name - ) - return registry_rg - except Exception as ex: - raise RequiredArgumentMissingError( - "Failed to retrieve credentials for container registry. Please provide the registry username and password" - ) from ex - - -def _get_registry_details(cmd, app: "ContainerApp", source): - registry_rg = None - registry_name = None - if app.registry_server: - if "azurecr.io" not in app.registry_server and source: - raise ValidationError( - "Cannot supply non-Azure registry when using --source." - ) - parsed = urlparse(app.registry_server) - registry_name = (parsed.netloc if parsed.scheme else parsed.path).split(".")[0] - if app.registry_user is None or app.registry_pass is None: - registry_rg = _set_acr_creds(cmd, app, registry_name) - else: - registry_rg = _get_acr_rg(app) - else: - registry_name, registry_rg = find_existing_acr(cmd, app) - if registry_name and registry_rg: - _set_acr_creds(cmd, app, registry_name) - app.registry_server = registry_name + ".azurecr.io" - else: - registry_rg = app.resource_group.name - registry_name = _get_default_registry_name(app) - app.registry_server = registry_name + ".azurecr.io" - app.should_create_acr = True - - app.acr = AzureContainerRegistry( - registry_name, ResourceGroup(cmd, registry_rg, None, None) - ) - - -# attempt to populate defaults for managed env, RG, ACR, etc -def _set_up_defaults( - cmd, - name, - resource_group_name, - logs_customer_id, - location, - resource_group: "ResourceGroup", - env: "ContainerAppEnvironment", - app: "ContainerApp", -): - # If no RG passed in and a singular app exists with the same name, get its env and rg - _get_app_env_and_group(cmd, name, resource_group, env, location) - - # If no env passed in (and not creating a new RG), then try getting an env by location / log analytics ID - _get_env_and_group_from_log_analytics( - cmd, resource_group_name, env, resource_group, logs_customer_id, location - ) - - # try to set RG name by env name - if env.name and not resource_group.name: - if not location: - env_list = [e for e in list_managed_environments(cmd=cmd) if e["name"] == env.name] - else: - env_list = [e for e in list_managed_environments(cmd=cmd) if e["name"] == env.name and e["location"] == location] - if len(env_list) == 1: - resource_group.name = parse_resource_id(env_list[0]["id"])["resource_group"] - if len(env_list) > 1: - raise ValidationError( - f"There are multiple environments with name {env.name} on the subscription. " - "Please specify which resource group your Containerapp environment is in." - ) # get ACR details from --image, if possible - _get_acr_from_image(cmd, app) - - -def _create_github_action( - app: "ContainerApp", - env: "ContainerAppEnvironment", - service_principal_client_id, - service_principal_client_secret, - service_principal_tenant_id, - branch, - token, - repo, - context_path, -): - - sp = _get_or_create_sp( - app.cmd, - app.resource_group.name, - env.resource_group.name, - app.name, - service_principal_client_id, - service_principal_client_secret, - service_principal_tenant_id, - ) - ( - service_principal_client_id, - service_principal_client_secret, - service_principal_tenant_id, - ) = sp - - # need to trigger the workflow manually if it already exists (performing an update) - try: - action = GitHubActionClient.show(cmd=app.cmd, resource_group_name=app.resource_group.name, name=app.name) - if action: - trigger_workflow(token, repo, app.name, branch) - except: # pylint: disable=bare-except - pass - - create_or_update_github_action( - cmd=app.cmd, - name=app.name, - resource_group_name=app.resource_group.name, - repo_url=repo, - registry_url=app.registry_server, - registry_username=app.registry_user, - registry_password=app.registry_pass, - branch=branch, - token=token, - login_with_github=False, - service_principal_client_id=service_principal_client_id, - service_principal_client_secret=service_principal_client_secret, - service_principal_tenant_id=service_principal_tenant_id, - image=app.image, - context_path=context_path, - ) - - -def up_output(app): - url = safe_get( - ContainerAppClient.show(app.cmd, app.resource_group.name, app.name), - "properties", - "configuration", - "ingress", - "fqdn", - ) - if url and not url.startswith("http"): - url = f"http://{url}" - - logger.warning( - f"\nYour container app {app.name} has been created and deployed! Congrats! \n" - ) - url and logger.warning(f"Browse to your container app at: {url} \n") - logger.warning( - f"Stream logs for your container with: az containerapp logs show -n {app.name} -g {app.resource_group.name} \n" - ) - logger.warning( - f"See full output using: az containerapp show -n {app.name} -g {app.resource_group.name} \n" - ) - - -def find_existing_acr(cmd, app: "ContainerApp"): - from azure.cli.command_modules.acr._client_factory import cf_acr_registries - client = cf_acr_registries(cmd.cli_ctx) - - acr = None - try: - acr = acr_show(cmd, client=client, registry_name=_get_default_registry_name(app)) - except Exception: - pass - - if acr: - app.should_create_acr = False - return acr.name, parse_resource_id(acr.id)["resource_group"] - return None, None - - -def validate_environment_location(cmd, location): - from ._constants import MAX_ENV_PER_LOCATION - env_list = list_managed_environments(cmd) - - locations = [loc["location"] for loc in env_list] - locations = list(set(locations)) # remove duplicates - - location_count = {} - for loc in locations: - location_count[loc] = len([e for e in env_list if e["location"] == loc]) - - disallowed_locations = [] - for _, value in enumerate(location_count): - if location_count[value] > MAX_ENV_PER_LOCATION - 1: - disallowed_locations.append(value) - - res_locations = list_environment_locations(cmd) - res_locations = [loc for loc in res_locations if loc not in disallowed_locations] - - allowed_locs = ", ".join(res_locations) - - if location: - try: - _ensure_location_allowed(cmd, location, "Microsoft.App", "managedEnvironments") - except Exception as e: # pylint: disable=broad-except - raise ValidationError("You cannot create a Containerapp environment in location {}. List of eligible locations: {}.".format(location, allowed_locs)) from e - - if len(res_locations) > 0: - if not location: - logger.warning("Creating environment on location {}.".format(res_locations[0])) - return res_locations[0] - if location in disallowed_locations: - raise ValidationError("You have more than {} environments in location {}. List of eligible locations: {}.".format(MAX_ENV_PER_LOCATION, location, allowed_locs)) - return location - else: - raise ValidationError("You cannot create any more environments. Environments are limited to {} per location in a subscription. Please specify an existing environment using --environment.".format(MAX_ENV_PER_LOCATION)) - - -def list_environment_locations(cmd): - from ._utils import providers_client_factory - providers_client = providers_client_factory(cmd.cli_ctx, get_subscription_id(cmd.cli_ctx)) - resource_types = getattr(providers_client.get("Microsoft.App"), 'resource_types', []) - res_locations = [] - for res in resource_types: - if res and getattr(res, 'resource_type', "") == "managedEnvironments": - res_locations = getattr(res, 'locations', []) - - res_locations = [res_loc.lower().replace(" ", "").replace("(", "").replace(")", "") for res_loc in res_locations if res_loc.strip()] - - return res_locations - - -def check_env_name_on_rg(cmd, managed_env, resource_group_name, location): - if location: - _ensure_location_allowed(cmd, location, "Microsoft.App", "managedEnvironments") - if managed_env and resource_group_name and location: - env_def = None - try: - env_def = ManagedEnvironmentClient.show(cmd, resource_group_name, parse_resource_id(managed_env)["name"]) - except: # pylint: disable=bare-except - pass - if env_def: - if location != env_def["location"]: - raise ValidationError("Environment {} already exists in resource group {} on location {}, cannot change location of existing environment to {}.".format(parse_resource_id(managed_env)["name"], resource_group_name, env_def["location"], location)) - - -def get_token(cmd, repo, token): - if not repo: - return None - if token: - return token - token = load_github_token_from_cache(cmd, repo) - if not token: - token = get_github_access_token(cmd, ["admin:repo_hook", "repo", "workflow"], token) - return token diff --git a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_utils.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_utils.py deleted file mode 100644 index 93c6c79328d..00000000000 --- a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_utils.py +++ /dev/null @@ -1,1167 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -# pylint: disable=line-too-long, consider-using-f-string, no-else-return, duplicate-string-formatting-argument, expression-not-assigned, too-many-locals, logging-fstring-interpolation - -import time -import json -import platform - -from urllib.parse import urlparse -from datetime import datetime -from dateutil.relativedelta import relativedelta -from azure.cli.core.azclierror import (ValidationError, RequiredArgumentMissingError, CLIInternalError, - ResourceNotFoundError, ArgumentUsageError) -from azure.cli.core.commands.client_factory import get_subscription_id -from knack.log import get_logger -from msrestazure.tools import parse_resource_id, is_valid_resource_id, resource_id - -from ._clients import ContainerAppClient -from ._client_factory import handle_raw_exception, providers_client_factory, cf_resource_groups, log_analytics_client_factory, log_analytics_shared_key_client_factory -from ._constants import (MAXIMUM_CONTAINER_APP_NAME_LENGTH, SHORT_POLLING_INTERVAL_SECS, LONG_POLLING_INTERVAL_SECS, - LOG_ANALYTICS_RP) - -logger = get_logger(__name__) - - -def validate_container_app_name(name): - if name and len(name) > MAXIMUM_CONTAINER_APP_NAME_LENGTH: - raise ValidationError(f"Container App names cannot be longer than {MAXIMUM_CONTAINER_APP_NAME_LENGTH}. " - f"Please shorten {name}") - - -# original implementation at azure.cli.command_modules.role.custom.create_service_principal_for_rbac -# reimplemented to remove incorrect warning statements -def create_service_principal_for_rbac( # pylint:disable=too-many-statements,too-many-locals, too-many-branches, unused-argument, inconsistent-return-statements - cmd, name=None, years=None, create_cert=False, cert=None, scopes=None, role=None, - show_auth_for_sdk=None, skip_assignment=False, keyvault=None): - from azure.cli.command_modules.role.custom import (_graph_client_factory, TZ_UTC, _process_service_principal_creds, - _validate_app_dates, create_application, - _create_service_principal, _create_role_assignment, - _error_caused_by_role_assignment_exists) - - if role and not scopes or not role and scopes: - raise ArgumentUsageError("Usage error: To create role assignments, specify both --role and --scopes.") - - graph_client = _graph_client_factory(cmd.cli_ctx) - - years = years or 1 - _RETRY_TIMES = 36 - existing_sps = None - - if not name: - # No name is provided, create a new one - app_display_name = 'azure-cli-' + datetime.utcnow().strftime('%Y-%m-%d-%H-%M-%S') - else: - app_display_name = name - # patch existing app with the same displayName to make the command idempotent - query_exp = "displayName eq '{}'".format(name) - existing_sps = list(graph_client.service_principals.list(filter=query_exp)) - - app_start_date = datetime.now(TZ_UTC) - app_end_date = app_start_date + relativedelta(years=years or 1) - - password, public_cert_string, cert_file, cert_start_date, cert_end_date = \ - _process_service_principal_creds(cmd.cli_ctx, years, app_start_date, app_end_date, cert, create_cert, - None, keyvault) - - app_start_date, app_end_date, cert_start_date, cert_end_date = \ - _validate_app_dates(app_start_date, app_end_date, cert_start_date, cert_end_date) - - aad_application = create_application(cmd, - display_name=app_display_name, - available_to_other_tenants=False, - password=password, - key_value=public_cert_string, - start_date=app_start_date, - end_date=app_end_date, - credential_description='rbac') - # pylint: disable=no-member - app_id = aad_application.app_id - - # retry till server replication is done - aad_sp = existing_sps[0] if existing_sps else None - if not aad_sp: - for retry_time in range(0, _RETRY_TIMES): - try: - aad_sp = _create_service_principal(cmd.cli_ctx, app_id, resolve_app=False) - break - except Exception as ex: # pylint: disable=broad-except - err_msg = str(ex) - if retry_time < _RETRY_TIMES and ( - ' does not reference ' in err_msg or - ' does not exist ' in err_msg or - 'service principal being created must in the local tenant' in err_msg): - logger.warning("Creating service principal failed with error '%s'. Retrying: %s/%s", - err_msg, retry_time + 1, _RETRY_TIMES) - time.sleep(5) - else: - logger.warning( - "Creating service principal failed for '%s'. Trace followed:\n%s", - app_id, ex.response.headers - if hasattr(ex, 'response') else ex) # pylint: disable=no-member - raise - sp_oid = aad_sp.object_id - - if role: - for scope in scopes: - # logger.warning("Creating '%s' role assignment under scope '%s'", role, scope) - # retry till server replication is done - for retry_time in range(0, _RETRY_TIMES): - try: - _create_role_assignment(cmd.cli_ctx, role, sp_oid, None, scope, resolve_assignee=False, - assignee_principal_type='ServicePrincipal') - break - except Exception as ex: - if retry_time < _RETRY_TIMES and ' does not exist in the directory ' in str(ex): - time.sleep(5) - logger.warning(' Retrying role assignment creation: %s/%s', retry_time + 1, - _RETRY_TIMES) - continue - if _error_caused_by_role_assignment_exists(ex): - logger.warning(' Role assignment already exists.\n') - break - - # dump out history for diagnoses - logger.warning(' Role assignment creation failed.\n') - if getattr(ex, 'response', None) is not None: - logger.warning(' role assignment response headers: %s\n', - ex.response.headers) # pylint: disable=no-member - raise - - if show_auth_for_sdk: - from azure.cli.core._profile import Profile - profile = Profile(cli_ctx=cmd.cli_ctx) - result = profile.get_sp_auth_info(scopes[0].split('/')[2] if scopes else None, - app_id, password, cert_file) - # sdk-auth file should be in json format all the time, hence the print - print(json.dumps(result, indent=2)) - return - - result = { - 'appId': app_id, - 'password': password, - 'displayName': app_display_name, - 'tenant': graph_client.config.tenant_id - } - if cert_file: - logger.warning( - "Please copy %s to a safe place. When you run 'az login', provide the file path in the --password argument", - cert_file) - result['fileWithCertAndPrivateKey'] = cert_file - return result - - -def is_int(s): - try: - int(s) - return True - except ValueError: - pass - return False - - -def get_github_repo(token, repo): - from github import Github - - g = Github(token) - return g.get_repo(repo) - - -def get_workflow(github_repo, name): # pylint: disable=inconsistent-return-statements - workflows = list(github_repo.get_workflows()) - workflows.sort(key=lambda r: r.created_at, reverse=True) # sort by latest first - for wf in workflows: - if wf.path.startswith(f".github/workflows/{name}") and "Trigger auto deployment for" in wf.name: - return wf - - -def trigger_workflow(token, repo, name, branch): - wf = get_workflow(get_github_repo(token, repo), name) - logger.warning(f"Triggering Github Action: {wf.path}") - wf.create_dispatch(branch) - - -# pylint:disable=unused-argument -def await_github_action(cmd, token, repo, branch, name, resource_group_name, timeout_secs=1200): - from .custom import show_github_action - from ._clients import PollingAnimation - - start = datetime.utcnow() - animation = PollingAnimation() - animation.tick() - - github_repo = get_github_repo(token, repo) - - gh_action_status = "InProgress" - while gh_action_status == "InProgress": - time.sleep(SHORT_POLLING_INTERVAL_SECS) - animation.tick() - gh_action_status = safe_get(show_github_action(cmd, name, resource_group_name), "properties", "operationState") - if (datetime.utcnow() - start).seconds >= timeout_secs: - raise CLIInternalError("Timed out while waiting for the Github action to be created.") - animation.flush() - if gh_action_status == "Failed": - raise CLIInternalError("The Github Action creation failed.") # TODO ask backend team for a status url / message - - workflow = None - while workflow is None: - animation.tick() - time.sleep(SHORT_POLLING_INTERVAL_SECS) - workflow = get_workflow(github_repo, name) - animation.flush() - - if (datetime.utcnow() - start).seconds >= timeout_secs: - raise CLIInternalError("Timed out while waiting for the Github action to start.") - - runs = workflow.get_runs() - while runs is None or not [r for r in runs if r.status in ('queued', 'in_progress')]: - time.sleep(SHORT_POLLING_INTERVAL_SECS) - runs = workflow.get_runs() - if (datetime.utcnow() - start).seconds >= timeout_secs: - raise CLIInternalError("Timed out while waiting for the Github action to be started.") - runs = [r for r in runs if r.status in ('queued', 'in_progress')] - runs.sort(key=lambda r: r.created_at, reverse=True) - run = runs[0] # run with the latest created_at date that's either in progress or queued - logger.warning(f"Github action run: https://github.com/{repo}/actions/runs/{run.id}") - logger.warning("Waiting for deployment to complete...") - run_id = run.id - status = run.status - while status in ('queued', 'in_progress'): - time.sleep(LONG_POLLING_INTERVAL_SECS) - animation.tick() - status = github_repo.get_workflow_run(run_id).status - animation.flush() - if (datetime.utcnow() - start).seconds >= timeout_secs: - raise CLIInternalError("Timed out while waiting for the Github action to complete.") - - animation.flush() # needed to clear the animation from the terminal - run = github_repo.get_workflow_run(run_id) - if run.status != "completed" or run.conclusion != "success": - raise ValidationError("Github action build or deployment failed. " - f"Please see https://github.com/{repo}/actions/runs/{run.id} for more details") - - -def repo_url_to_name(repo_url): - repo = None - repo = [s for s in repo_url.split('/') if s] - if len(repo) >= 2: - repo = '/'.join(repo[-2:]) - return repo - - -def _get_location_from_resource_group(cli_ctx, resource_group_name): - client = cf_resource_groups(cli_ctx) - group = client.get(resource_group_name) - return group.location - - -def _register_resource_provider(cmd, resource_provider): - from azure.mgmt.resource.resources.models import ProviderRegistrationRequest, ProviderConsentDefinition - - logger.warning(f"Registering resource provider {resource_provider} ...") - properties = ProviderRegistrationRequest(third_party_provider_consent=ProviderConsentDefinition(consent_to_authorization=True)) - - client = providers_client_factory(cmd.cli_ctx) - try: - client.register(resource_provider, properties=properties) - # wait for registration to finish - timeout_secs = 120 - registration = _is_resource_provider_registered(cmd, resource_provider) - start = datetime.utcnow() - while not registration: - registration = _is_resource_provider_registered(cmd, resource_provider) - time.sleep(SHORT_POLLING_INTERVAL_SECS) - if (datetime.utcnow() - start).seconds >= timeout_secs: - raise CLIInternalError(f"Timed out while waiting for the {resource_provider} resource provider to be registered.") - - except Exception as e: - msg = ("This operation requires requires registering the resource provider {0}. " - "We were unable to perform that registration on your behalf: " - "Server responded with error message -- {1} . " - "Please check with your admin on permissions, " - "or try running registration manually with: az provider register --wait --namespace {0}") - raise ValidationError(resource_provider, msg.format(e.args)) from e - - -def _is_resource_provider_registered(cmd, resource_provider, subscription_id=None): - registered = None - if not subscription_id: - subscription_id = get_subscription_id(cmd.cli_ctx) - try: - providers_client = providers_client_factory(cmd.cli_ctx, subscription_id) - registration_state = getattr(providers_client.get(resource_provider), 'registration_state', "NotRegistered") - - registered = (registration_state and registration_state.lower() == 'registered') - except Exception: # pylint: disable=broad-except - pass - return registered - - -def _validate_subscription_registered(cmd, resource_provider, subscription_id=None): - if not subscription_id: - subscription_id = get_subscription_id(cmd.cli_ctx) - registered = _is_resource_provider_registered(cmd, resource_provider, subscription_id) - if registered is False: - raise ValidationError(f'Subscription {subscription_id} is not registered for the {resource_provider} ' - f'resource provider. Please run "az provider register -n {resource_provider} --wait" ' - 'to register your subscription.') - - -def _ensure_location_allowed(cmd, location, resource_provider, resource_type): - providers_client = None - try: - providers_client = providers_client_factory(cmd.cli_ctx, get_subscription_id(cmd.cli_ctx)) - - if providers_client is not None: - resource_types = getattr(providers_client.get(resource_provider), 'resource_types', []) - res_locations = [] - for res in resource_types: - if res and getattr(res, 'resource_type', "") == resource_type: - res_locations = getattr(res, 'locations', []) - - res_locations = [res_loc.lower().replace(" ", "").replace("(", "").replace(")", "") for res_loc in res_locations if res_loc.strip()] - - location_formatted = location.lower().replace(" ", "") - if location_formatted not in res_locations: - raise ValidationError("Location '{}' is not currently supported. To get list of supported locations, run `az provider show -n {} --query \"resourceTypes[?resourceType=='{}'].locations\"`".format( - location, resource_provider, resource_type)) - except ValidationError as ex: - raise ex - except Exception: # pylint: disable=broad-except - pass - - -def parse_env_var_flags(env_list, is_update_containerapp=False): - env_pairs = {} - - for pair in env_list: - key_val = pair.split('=', 1) - if len(key_val) != 2: - if is_update_containerapp: - raise ValidationError("Environment variables must be in the format \"= =secretref: ...\".") - raise ValidationError("Environment variables must be in the format \"= =secretref: ...\".") - if key_val[0] in env_pairs: - raise ValidationError("Duplicate environment variable {env} found, environment variable names must be unique.".format(env=key_val[0])) - value = key_val[1].split('secretref:') - env_pairs[key_val[0]] = value - - env_var_def = [] - for key, value in env_pairs.items(): - if len(value) == 2: - env_var_def.append({ - "name": key, - "secretRef": value[1] - }) - else: - env_var_def.append({ - "name": key, - "value": value[0] - }) - - return env_var_def - - -def parse_secret_flags(secret_list): - secret_pairs = {} - - for pair in secret_list: - key_val = pair.split('=', 1) - if len(key_val) != 2: - raise ValidationError("Secrets must be in format \"= = ...\".") - if key_val[0] in secret_pairs: - raise ValidationError("Duplicate secret \"{secret}\" found, secret names must be unique.".format(secret=key_val[0])) - secret_pairs[key_val[0]] = key_val[1] - - secret_var_def = [] - for key, value in secret_pairs.items(): - secret_var_def.append({ - "name": key, - "value": value - }) - - return secret_var_def - - -def _update_revision_env_secretrefs(containers, name): - for container in containers: - if "env" in container: - for var in container["env"]: - if "secretRef" in var: - var["secretRef"] = var["secretRef"].replace("{}-".format(name), "") - - -def _update_revision_env_secretrefs(containers, name): - for container in containers: - if "env" in container: - for var in container["env"]: - if "secretRef" in var: - var["secretRef"] = var["secretRef"].replace("{}-".format(name), "") - - -def store_as_secret_and_return_secret_ref(secrets_list, registry_user, registry_server, registry_pass, update_existing_secret=False, disable_warnings=False): - if registry_pass.startswith("secretref:"): - # If user passed in registry password using a secret - - registry_pass = registry_pass.split("secretref:") - if len(registry_pass) <= 1: - raise ValidationError("Invalid registry password secret. Value must be a non-empty value starting with \'secretref:\'.") - registry_pass = registry_pass[1:] - registry_pass = ''.join(registry_pass) - - if not any(secret for secret in secrets_list if secret['name'].lower() == registry_pass.lower()): - raise ValidationError("Registry password secret with name '{}' does not exist. Add the secret using --secrets".format(registry_pass)) - - return registry_pass - else: - # If user passed in registry password - if urlparse(registry_server).hostname is not None: - registry_secret_name = "{server}-{user}".format(server=urlparse(registry_server).hostname.replace('.', ''), user=registry_user.lower()) - else: - registry_secret_name = "{server}-{user}".format(server=registry_server.replace('.', ''), user=registry_user.lower()) - - for secret in secrets_list: - if secret['name'].lower() == registry_secret_name.lower(): - if secret['value'].lower() != registry_pass.lower(): - if update_existing_secret: - secret['value'] = registry_pass - else: - raise ValidationError('Found secret with name \"{}\" but value does not equal the supplied registry password.'.format(registry_secret_name)) - return registry_secret_name - - if not disable_warnings: - logger.warning('Adding registry password as a secret with name \"{}\"'.format(registry_secret_name)) # pylint: disable=logging-format-interpolation - secrets_list.append({ - "name": registry_secret_name, - "value": registry_pass - }) - - return registry_secret_name - - -def parse_list_of_strings(comma_separated_string): - comma_separated = comma_separated_string.split(',') - return [s.strip() for s in comma_separated] - - -def raise_missing_token_suggestion(): - pat_documentation = "https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line" - raise RequiredArgumentMissingError("GitHub access token is required to authenticate to your repositories. " - "If you need to create a Github Personal Access Token, " - "please run with the '--login-with-github' flag or follow " - "the steps found at the following link:\n{0}".format(pat_documentation)) - - -def _get_default_log_analytics_location(cmd): - default_location = "eastus" - providers_client = None - try: - providers_client = providers_client_factory(cmd.cli_ctx, get_subscription_id(cmd.cli_ctx)) - resource_types = getattr(providers_client.get(LOG_ANALYTICS_RP), 'resource_types', []) - res_locations = [] - for res in resource_types: - if res and getattr(res, 'resource_type', "") == "workspaces": - res_locations = getattr(res, 'locations', []) - - if len(res_locations) > 0: - location = res_locations[0].lower().replace(" ", "").replace("(", "").replace(")", "") - if location: - return location - - except Exception: # pylint: disable=broad-except - return default_location - return default_location - - -def get_container_app_if_exists(cmd, resource_group_name, name): - app = None - try: - app = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - except: # pylint: disable=bare-except - pass - return app - - -def _get_name(name_or_rid): - if is_valid_resource_id(name_or_rid): - return parse_resource_id(name_or_rid)["name"] - return name_or_rid - - -def _get_default_containerapps_location(cmd, location=None): - if location: - return location - default_location = "eastus" - providers_client = None - try: - providers_client = providers_client_factory(cmd.cli_ctx, get_subscription_id(cmd.cli_ctx)) - resource_types = getattr(providers_client.get("Microsoft.App"), 'resource_types', []) - res_locations = [] - for res in resource_types: - if res and getattr(res, 'resource_type', "") == "workspaces": - res_locations = getattr(res, 'locations', []) - - if len(res_locations) > 0: - location = res_locations[0].lower().replace(" ", "").replace("(", "").replace(")", "") - if location: - return location - - except Exception: # pylint: disable=broad-except - return default_location - return default_location - - -# Generate random 4 character string -def _new_tiny_guid(): - import random - import string - return ''.join(random.choices(string.ascii_letters + string.digits, k=4)) - - -# Follow same naming convention as Portal -def _generate_log_analytics_workspace_name(resource_group_name): - import re - prefix = "workspace" - suffix = _new_tiny_guid() - alphaNumericRG = resource_group_name - alphaNumericRG = re.sub(r'[^0-9a-z]', '', resource_group_name) - maxLength = 40 - - name = "{}-{}{}".format( - prefix, - alphaNumericRG, - suffix - ) - - if len(name) > maxLength: - name = name[:maxLength] - return name - - -def _get_log_analytics_workspace_name(cmd, logs_customer_id, resource_group_name): - log_analytics_client = log_analytics_client_factory(cmd.cli_ctx) - logs_list = log_analytics_client.list_by_resource_group(resource_group_name) - for log in logs_list: - if log.customer_id.lower() == logs_customer_id.lower(): - return log.name - raise ResourceNotFoundError("Cannot find Log Analytics workspace with customer ID {}".format(logs_customer_id)) - - -def _generate_log_analytics_if_not_provided(cmd, logs_customer_id, logs_key, location, resource_group_name): - if logs_customer_id is None and logs_key is None: - logger.warning("No Log Analytics workspace provided.") - _validate_subscription_registered(cmd, LOG_ANALYTICS_RP) - try: - log_analytics_client = log_analytics_client_factory(cmd.cli_ctx) - log_analytics_shared_key_client = log_analytics_shared_key_client_factory(cmd.cli_ctx) - - log_analytics_location = location - try: - _ensure_location_allowed(cmd, log_analytics_location, LOG_ANALYTICS_RP, "workspaces") - except Exception: # pylint: disable=broad-except - log_analytics_location = _get_default_log_analytics_location(cmd) - - from azure.cli.core.commands import LongRunningOperation - from azure.mgmt.loganalytics.models import Workspace - - workspace_name = _generate_log_analytics_workspace_name(resource_group_name) - workspace_instance = Workspace(location=log_analytics_location) - logger.warning("Generating a Log Analytics workspace with name \"{}\"".format(workspace_name)) # pylint: disable=logging-format-interpolation - - poller = log_analytics_client.begin_create_or_update(resource_group_name, workspace_name, workspace_instance) - log_analytics_workspace = LongRunningOperation(cmd.cli_ctx)(poller) - - logs_customer_id = log_analytics_workspace.customer_id - logs_key = log_analytics_shared_key_client.get_shared_keys( - workspace_name=workspace_name, - resource_group_name=resource_group_name).primary_shared_key - - except Exception as ex: - raise ValidationError("Unable to generate a Log Analytics workspace. You can use \"az monitor log-analytics workspace create\" to create one and supply --logs-customer-id and --logs-key") from ex - elif logs_customer_id is None: - raise ValidationError("Usage error: Supply the --logs-customer-id associated with the --logs-key") - elif logs_key is None: # Try finding the logs-key - log_analytics_client = log_analytics_client_factory(cmd.cli_ctx) - log_analytics_shared_key_client = log_analytics_shared_key_client_factory(cmd.cli_ctx) - - log_analytics_name = None - log_analytics_rg = None - log_analytics = log_analytics_client.list() - - for la in log_analytics: - if la.customer_id and la.customer_id.lower() == logs_customer_id.lower(): - log_analytics_name = la.name - parsed_la = parse_resource_id(la.id) - log_analytics_rg = parsed_la['resource_group'] - - if log_analytics_name is None: - raise ValidationError('Usage error: Supply the --logs-key associated with the --logs-customer-id') - - shared_keys = log_analytics_shared_key_client.get_shared_keys(workspace_name=log_analytics_name, resource_group_name=log_analytics_rg) - - if not shared_keys or not shared_keys.primary_shared_key: - raise ValidationError('Usage error: Supply the --logs-key associated with the --logs-customer-id') - - logs_key = shared_keys.primary_shared_key - - return logs_customer_id, logs_key - - -def _get_existing_secrets(cmd, resource_group_name, name, containerapp_def): - if "secrets" not in containerapp_def["properties"]["configuration"]: - containerapp_def["properties"]["configuration"]["secrets"] = [] - else: - secrets = [] - try: - secrets = ContainerAppClient.list_secrets(cmd=cmd, resource_group_name=resource_group_name, name=name) - except Exception as e: # pylint: disable=broad-except - handle_raw_exception(e) - - containerapp_def["properties"]["configuration"]["secrets"] = secrets["value"] - - -def _ensure_identity_resource_id(subscription_id, resource_group, resource): - if is_valid_resource_id(resource): - return resource - - return resource_id(subscription=subscription_id, - resource_group=resource_group, - namespace='Microsoft.ManagedIdentity', - type='userAssignedIdentities', - name=resource) - - -def _add_or_update_secrets(containerapp_def, add_secrets): - if "secrets" not in containerapp_def["properties"]["configuration"]: - containerapp_def["properties"]["configuration"]["secrets"] = [] - - for new_secret in add_secrets: - is_existing = False - for existing_secret in containerapp_def["properties"]["configuration"]["secrets"]: - if existing_secret["name"].lower() == new_secret["name"].lower(): - is_existing = True - existing_secret["value"] = new_secret["value"] - break - - if not is_existing: - containerapp_def["properties"]["configuration"]["secrets"].append(new_secret) - - -def _remove_registry_secret(containerapp_def, server, username): - if urlparse(server).hostname is not None: - registry_secret_name = "{server}-{user}".format(server=urlparse(server).hostname.replace('.', ''), user=username.lower()) - else: - registry_secret_name = "{server}-{user}".format(server=server.replace('.', ''), user=username.lower()) - - _remove_secret(containerapp_def, secret_name=registry_secret_name) - - -def _remove_secret(containerapp_def, secret_name): - if "secrets" not in containerapp_def["properties"]["configuration"]: - containerapp_def["properties"]["configuration"]["secrets"] = [] - - for index, value in enumerate(containerapp_def["properties"]["configuration"]["secrets"]): - existing_secret = value - if existing_secret["name"].lower() == secret_name.lower(): - containerapp_def["properties"]["configuration"]["secrets"].pop(index) - break - - -def _add_or_update_env_vars(existing_env_vars, new_env_vars): - for new_env_var in new_env_vars: - - # Check if updating existing env var - is_existing = False - for existing_env_var in existing_env_vars: - if existing_env_var["name"].lower() == new_env_var["name"].lower(): - is_existing = True - - if "value" in new_env_var: - existing_env_var["value"] = new_env_var["value"] - else: - existing_env_var["value"] = None - - if "secretRef" in new_env_var: - existing_env_var["secretRef"] = new_env_var["secretRef"] - else: - existing_env_var["secretRef"] = None - break - - # If not updating existing env var, add it as a new env var - if not is_existing: - existing_env_vars.append(new_env_var) - - -def _remove_env_vars(existing_env_vars, remove_env_vars): - for old_env_var in remove_env_vars: - - # Check if updating existing env var - is_existing = False - for i, value in enumerate(existing_env_vars): - existing_env_var = value - if existing_env_var["name"].lower() == old_env_var.lower(): - is_existing = True - existing_env_vars.pop(i) - break - - # If not updating existing env var, add it as a new env var - if not is_existing: - logger.warning("Environment variable {} does not exist.".format(old_env_var)) # pylint: disable=logging-format-interpolation - - -def _remove_env_vars(existing_env_vars, remove_env_vars): - for old_env_var in remove_env_vars: - - # Check if updating existing env var - is_existing = False - for index, value in enumerate(existing_env_vars): - existing_env_var = value - if existing_env_var["name"].lower() == old_env_var.lower(): - is_existing = True - existing_env_vars.pop(index) - break - - # If not updating existing env var, add it as a new env var - if not is_existing: - logger.warning("Environment variable {} does not exist.".format(old_env_var)) # pylint: disable=logging-format-interpolation - - -def _add_or_update_tags(containerapp_def, tags): - if 'tags' not in containerapp_def: - if tags: - containerapp_def['tags'] = tags - else: - containerapp_def['tags'] = {} - else: - for key in tags: - containerapp_def['tags'][key] = tags[key] - - -def _object_to_dict(obj): - - def default_handler(x): - if isinstance(x, datetime): - return x.isoformat() - return x.__dict__ - - return json.loads(json.dumps(obj, default=default_handler)) - - -def _to_camel_case(snake_str): - components = snake_str.split('_') - return components[0] + ''.join(x.title() for x in components[1:]) - - -def _convert_object_from_snake_to_camel_case(o): - if isinstance(o, list): - return [_convert_object_from_snake_to_camel_case(i) if isinstance(i, (dict, list)) else i for i in o] - return { - _to_camel_case(a): _convert_object_from_snake_to_camel_case(b) if isinstance(b, (dict, list)) else b for a, b in o.items() - } - - -def _remove_additional_attributes(o): - if isinstance(o, list): - for i in o: - _remove_additional_attributes(i) - elif isinstance(o, dict): - if "additionalProperties" in o: - del o["additionalProperties"] - - for key in o: - _remove_additional_attributes(o[key]) - - -def _remove_readonly_attributes(containerapp_def): - unneeded_properties = [ - "id", - "name", - "type", - "systemData", - "provisioningState", - "latestRevisionName", - "latestRevisionFqdn", - "customDomainVerificationId", - "outboundIpAddresses", - "fqdn" - ] - - for unneeded_property in unneeded_properties: - if unneeded_property in containerapp_def: - del containerapp_def[unneeded_property] - elif unneeded_property in containerapp_def['properties']: - del containerapp_def['properties'][unneeded_property] - - -def _remove_dapr_readonly_attributes(daprcomponent_def): - unneeded_properties = [ - "id", - "name", - "type", - "systemData", - "provisioningState", - "latestRevisionName", - "latestRevisionFqdn", - "customDomainVerificationId", - "outboundIpAddresses", - "fqdn" - ] - - for unneeded_property in unneeded_properties: - if unneeded_property in daprcomponent_def: - del daprcomponent_def[unneeded_property] - - -def update_nested_dictionary(orig_dict, new_dict): - # Recursively update a nested dictionary. If the value is a list, replace the old list with new list - from collections.abc import Mapping - - for key, val in new_dict.items(): - if isinstance(val, Mapping): - tmp = update_nested_dictionary(orig_dict.get(key, {}), val) - orig_dict[key] = tmp - elif isinstance(val, list): - if new_dict[key]: - orig_dict[key] = new_dict[key] - else: - if new_dict[key] is not None: - orig_dict[key] = new_dict[key] - return orig_dict - - -def _validate_weight(weight): - try: - n = int(weight) - if 0 <= n <= 100: - return True - raise ValidationError('Traffic weights must be integers between 0 and 100') - except ValueError as ex: - raise ValidationError('Traffic weights must be integers between 0 and 100') from ex - - -def _update_revision_weights(containerapp_def, list_weights): - old_weight_sum = 0 - if "traffic" not in containerapp_def["properties"]["configuration"]["ingress"]: - containerapp_def["properties"]["configuration"]["ingress"]["traffic"] = [] - - if not list_weights: - return 0 - - for new_weight in list_weights: - key_val = new_weight.split('=', 1) - if len(key_val) != 2: - raise ValidationError('Traffic weights must be in format \"= = ...\"') - revision = key_val[0] - weight = key_val[1] - _validate_weight(weight) - is_existing = False - - for existing_weight in containerapp_def["properties"]["configuration"]["ingress"]["traffic"]: - if "latestRevision" in existing_weight and existing_weight["latestRevision"]: - if revision.lower() == "latest": - old_weight_sum += existing_weight["weight"] - existing_weight["weight"] = weight - is_existing = True - break - elif "revisionName" in existing_weight and existing_weight["revisionName"].lower() == revision.lower(): - old_weight_sum += existing_weight["weight"] - existing_weight["weight"] = weight - is_existing = True - break - if not is_existing: - containerapp_def["properties"]["configuration"]["ingress"]["traffic"].append({ - "revisionName": revision if revision.lower() != "latest" else None, - "weight": int(weight), - "latestRevision": revision.lower() == "latest" - }) - return old_weight_sum - - -def _append_label_weights(containerapp_def, label_weights, revision_weights): - if "traffic" not in containerapp_def["properties"]["configuration"]["ingress"]: - containerapp_def["properties"]["configuration"]["ingress"]["traffic"] = [] - - if not label_weights: - return - - revision_weight_names = [w.split('=', 1)[0].lower() for w in revision_weights] # this is to check if we already have that revision weight passed - for new_weight in label_weights: - key_val = new_weight.split('=', 1) - if len(key_val) != 2: - raise ValidationError('Traffic weights must be in format \"= = ...\"') - label = key_val[0] - weight = key_val[1] - _validate_weight(weight) - is_existing = False - - for existing_weight in containerapp_def["properties"]["configuration"]["ingress"]["traffic"]: - if "label" in existing_weight and existing_weight["label"].lower() == label.lower(): - if "revisionName" in existing_weight and existing_weight["revisionName"] and existing_weight["revisionName"].lower() in revision_weight_names: - logger.warning("Already passed value for revision {}, will not overwrite with {}.".format(existing_weight["revisionName"], new_weight)) # pylint: disable=logging-format-interpolation - is_existing = True - break - revision_weights.append("{}={}".format(existing_weight["revisionName"] if "revisionName" in existing_weight and existing_weight["revisionName"] else "latest", weight)) - is_existing = True - break - - if not is_existing: - raise ValidationError(f"No label {label} assigned to any traffic weight.") - - -def _update_weights(containerapp_def, revision_weights, old_weight_sum): - - new_weight_sum = sum([int(w.split('=', 1)[1]) for w in revision_weights]) - revision_weight_names = [w.split('=', 1)[0].lower() for w in revision_weights] - divisor = sum([int(w["weight"]) for w in containerapp_def["properties"]["configuration"]["ingress"]["traffic"]]) - new_weight_sum - round_up = True - # if there is no change to be made, don't even try (also can't divide by zero) - if divisor == 0: - return - - scale_factor = (old_weight_sum - new_weight_sum) / divisor + 1 - - for existing_weight in containerapp_def["properties"]["configuration"]["ingress"]["traffic"]: - if "latestRevision" in existing_weight and existing_weight["latestRevision"]: - if "latest" not in revision_weight_names: - existing_weight["weight"], round_up = _round(scale_factor * existing_weight["weight"], round_up) - elif "revisionName" in existing_weight and existing_weight["revisionName"].lower() not in revision_weight_names: - existing_weight["weight"], round_up = _round(scale_factor * existing_weight["weight"], round_up) - - -# required because what if .5, .5? We need sum to be 100, so can't round up or down both times -def _round(number, round_up): - import math - number = round(number, 2) # required because we are dealing with floats - if round_up: - return math.ceil(number), not round_up - return math.floor(number), not round_up - - -def _validate_traffic_sum(revision_weights): - weight_sum = sum([int(w.split('=', 1)[1]) for w in revision_weights if len(w.split('=', 1)) == 2 and _validate_weight(w.split('=', 1)[1])]) - if weight_sum > 100: - raise ValidationError("Traffic sums may not exceed 100.") - - -def _get_app_from_revision(revision): - if not revision: - raise ValidationError('Invalid revision. Revision must not be empty') - if revision.lower() == "latest": - raise ValidationError('Please provide a name for your containerapp. Cannot lookup name of containerapp without a full revision name.') - revision = revision.split('--') - revision.pop() - revision = "--".join(revision) - return revision - - -def _infer_acr_credentials(cmd, registry_server, disable_warnings=False): - # If registry is Azure Container Registry, we can try inferring credentials - if '.azurecr.io' not in registry_server: - raise RequiredArgumentMissingError('Registry username and password are required if not using Azure Container Registry.') - not disable_warnings and logger.warning('No credential was provided to access Azure Container Registry. Trying to look up credentials...') - parsed = urlparse(registry_server) - registry_name = (parsed.netloc if parsed.scheme else parsed.path).split('.')[0] - - try: - registry_user, registry_pass, registry_rg = _get_acr_cred(cmd.cli_ctx, registry_name) # pylint: disable=unused-variable - return (registry_user, registry_pass) - except Exception as ex: - raise RequiredArgumentMissingError('Failed to retrieve credentials for container registry {}. Please provide the registry username and password'.format(registry_name)) from ex - - -def _registry_exists(containerapp_def, registry_server): - exists = False - if "properties" in containerapp_def and "configuration" in containerapp_def["properties"] and "registries" in containerapp_def["properties"]["configuration"]: - for registry in containerapp_def["properties"]["configuration"]["registries"]: - if "server" in registry and registry["server"] and registry["server"].lower() == registry_server.lower(): - exists = True - break - return exists - - -# get a value from nested dict without getting IndexError (returns None instead) -# for example, model["key1"]["key2"]["key3"] would become safe_get(model, "key1", "key2", "key3") -def safe_get(model, *keys, default=None): - for k in keys[:-1]: - model = model.get(k, {}) - return model.get(keys[-1], default) - - -def is_platform_windows(): - return platform.system() == "Windows" - - -def get_randomized_name(prefix, name=None, initial="rg"): - from random import randint - default = "{}_{}_{:04}".format(prefix, initial, randint(0, 9999)) - if name is not None: - return name - return default - - -def _set_webapp_up_default_args(cmd, resource_group_name, location, name, registry_server): - from azure.cli.core.util import ConfiguredDefaultSetter - with ConfiguredDefaultSetter(cmd.cli_ctx.config, True): - logger.warning("Setting 'az containerapp up' default arguments for current directory. " - "Manage defaults with 'az configure --scope local'") - - cmd.cli_ctx.config.set_value('defaults', 'resource_group_name', resource_group_name) - logger.warning("--resource-group/-g default: %s", resource_group_name) - - cmd.cli_ctx.config.set_value('defaults', 'location', location) - logger.warning("--location/-l default: %s", location) - - cmd.cli_ctx.config.set_value('defaults', 'name', name) - logger.warning("--name/-n default: %s", name) - - # cmd.cli_ctx.config.set_value('defaults', 'managed_env', managed_env) - # logger.warning("--environment default: %s", managed_env) - - cmd.cli_ctx.config.set_value('defaults', 'registry_server', registry_server) - logger.warning("--registry-server default: %s", registry_server) - - -def get_profile_username(): - from azure.cli.core._profile import Profile - user = Profile().get_current_account_user() - user = user.split('@', 1)[0] - if len(user.split('#', 1)) > 1: # on cloudShell user is in format live.com#user@domain.com - user = user.split('#', 1)[1] - return user - - -def create_resource_group(cmd, rg_name, location): - from azure.cli.core.profiles import ResourceType, get_sdk - rcf = _resource_client_factory(cmd.cli_ctx) - resource_group = get_sdk(cmd.cli_ctx, ResourceType.MGMT_RESOURCE_RESOURCES, 'ResourceGroup', mod='models') - rg_params = resource_group(location=location) - return rcf.resource_groups.create_or_update(rg_name, rg_params) - - -def get_resource_group(cmd, rg_name): - rcf = _resource_client_factory(cmd.cli_ctx) - return rcf.resource_groups.get(rg_name) - - -def _resource_client_factory(cli_ctx, **_): - from azure.cli.core.commands.client_factory import get_mgmt_service_client - from azure.cli.core.profiles import ResourceType - return get_mgmt_service_client(cli_ctx, ResourceType.MGMT_RESOURCE_RESOURCES) - - -def queue_acr_build(cmd, registry_rg, registry_name, img_name, src_dir, dockerfile="Dockerfile", quiet=False): - import os - import uuid - import tempfile - from ._archive_utils import upload_source_code - from azure.cli.command_modules.acr._stream_utils import stream_logs - from azure.cli.command_modules.acr._client_factory import cf_acr_registries_tasks - from azure.cli.core.commands import LongRunningOperation - - # client_registries = get_acr_service_client(cmd.cli_ctx).registries - client_registries = cf_acr_registries_tasks(cmd.cli_ctx) - - if not os.path.isdir(src_dir): - raise ValidationError("Source directory should be a local directory path.") - - docker_file_path = os.path.join(src_dir, dockerfile) - if not os.path.isfile(docker_file_path): - raise ValidationError("Unable to find '{}'.".format(docker_file_path)) - - # NOTE: os.path.basename is unable to parse "\" in the file path - original_docker_file_name = os.path.basename(docker_file_path.replace("\\", "/")) - docker_file_in_tar = '{}_{}'.format(uuid.uuid4().hex, original_docker_file_name) - tar_file_path = os.path.join(tempfile.gettempdir(), 'build_archive_{}.tar.gz'.format(uuid.uuid4().hex)) - - source_location = upload_source_code(cmd, client_registries, registry_name, registry_rg, src_dir, tar_file_path, docker_file_path, docker_file_in_tar) - - # For local source, the docker file is added separately into tar as the new file name (docker_file_in_tar) - # So we need to update the docker_file_path - docker_file_path = docker_file_in_tar - - from azure.cli.core.profiles import ResourceType - OS, Architecture = cmd.get_models('OS', 'Architecture', resource_type=ResourceType.MGMT_CONTAINERREGISTRY, operation_group='runs') - # Default platform values - platform_os = OS.linux.value - platform_arch = Architecture.amd64.value - platform_variant = None - - DockerBuildRequest, PlatformProperties = cmd.get_models('DockerBuildRequest', 'PlatformProperties', - resource_type=ResourceType.MGMT_CONTAINERREGISTRY, operation_group='runs') - docker_build_request = DockerBuildRequest( - image_names=[img_name], - is_push_enabled=True, - source_location=source_location, - platform=PlatformProperties( - os=platform_os, - architecture=platform_arch, - variant=platform_variant - ), - docker_file_path=docker_file_path, - timeout=None, - arguments=[]) - - queued_build = LongRunningOperation(cmd.cli_ctx)(client_registries.begin_schedule_run( - resource_group_name=registry_rg, - registry_name=registry_name, - run_request=docker_build_request)) - - run_id = queued_build.run_id - logger.info("Queued a build with ID: %s", run_id) - not quiet and logger.info("Waiting for agent...") - - from azure.cli.command_modules.acr._client_factory import (cf_acr_runs) - from ._acr_run_polling import get_run_with_polling - client_runs = cf_acr_runs(cmd.cli_ctx) - - if quiet: - lro_poller = get_run_with_polling(cmd, client_runs, run_id, registry_name, registry_rg) - acr = LongRunningOperation(cmd.cli_ctx)(lro_poller) - logger.info("Build {}.".format(acr.status.lower())) # pylint: disable=logging-format-interpolation - if acr.status.lower() != "succeeded": - raise CLIInternalError("ACR build {}.".format(acr.status.lower())) - return acr - - return stream_logs(cmd, client_runs, run_id, registry_name, registry_rg, None, False, True) - - -def _get_acr_cred(cli_ctx, registry_name): - from azure.mgmt.containerregistry import ContainerRegistryManagementClient - from azure.cli.core.commands.parameters import get_resources_in_subscription - from azure.cli.core.commands.client_factory import get_mgmt_service_client - - client = get_mgmt_service_client(cli_ctx, ContainerRegistryManagementClient).registries - - result = get_resources_in_subscription(cli_ctx, 'Microsoft.ContainerRegistry/registries') - result = [item for item in result if item.name.lower() == registry_name] - if not result or len(result) > 1: - raise ResourceNotFoundError("No resource or more than one were found with name '{}'.".format(registry_name)) - resource_group_name = parse_resource_id(result[0].id)['resource_group'] - - registry = client.get(resource_group_name, registry_name) - - if registry.admin_user_enabled: # pylint: disable=no-member - cred = client.list_credentials(resource_group_name, registry_name) - return cred.username, cred.passwords[0].value, resource_group_name - raise ResourceNotFoundError("Failed to retrieve container registry credentials. Please either provide the " - "credentials or run 'az acr update -n {} --admin-enabled true' to enable " - "admin first.".format(registry_name)) - - -def create_new_acr(cmd, registry_name, resource_group_name, location=None, sku="Basic"): - # from azure.cli.command_modules.acr.custom import acr_create - from azure.cli.command_modules.acr._client_factory import cf_acr_registries - from azure.cli.core.profiles import ResourceType - from azure.cli.core.commands import LongRunningOperation - - client = cf_acr_registries(cmd.cli_ctx) - # return acr_create(cmd, client, registry_name, resource_group_name, sku, location) - - Registry, Sku = cmd.get_models('Registry', 'Sku', resource_type=ResourceType.MGMT_CONTAINERREGISTRY, operation_group="registries") - registry = Registry(location=location, sku=Sku(name=sku), admin_user_enabled=True, - zone_redundancy=None, tags=None) - - lro_poller = client.begin_create(resource_group_name, registry_name, registry) - acr = LongRunningOperation(cmd.cli_ctx)(lro_poller) - return acr diff --git a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_validators.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_validators.py deleted file mode 100644 index 9c1e53ed50e..00000000000 --- a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/_validators.py +++ /dev/null @@ -1,157 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -# pylint: disable=line-too-long - -from azure.cli.core.azclierror import (ValidationError, ResourceNotFoundError) - -from ._clients import ContainerAppClient -from ._ssh_utils import ping_container_app -from ._utils import safe_get - - -def _is_number(s): - try: - float(s) - return True - except ValueError: - return False - - -def validate_memory(namespace): - if namespace.memory is not None: - valid = False - - if not namespace.memory.endswith("Gi"): - namespace.memory = namespace.memory.rstrip() - namespace.memory += "Gi" - - valid = _is_number(namespace.memory[:-2]) - - if not valid: - raise ValidationError("Usage error: --memory must be a number ending with \"Gi\"") - - -def validate_cpu(namespace): - if namespace.cpu: - cpu = namespace.cpu - try: - float(cpu) - except ValueError as e: - raise ValidationError("Usage error: --cpu must be a number eg. \"0.5\"") from e - - -def validate_managed_env_name_or_id(cmd, namespace): - from azure.cli.core.commands.client_factory import get_subscription_id - from msrestazure.tools import is_valid_resource_id, resource_id - - if namespace.managed_env: - if not is_valid_resource_id(namespace.managed_env): - namespace.managed_env = resource_id( - subscription=get_subscription_id(cmd.cli_ctx), - resource_group=namespace.resource_group_name, - namespace='Microsoft.App', - type='managedEnvironments', - name=namespace.managed_env - ) - - -def validate_registry_server(namespace): - if "create" in namespace.command.lower(): - if namespace.registry_server: - if not namespace.registry_user or not namespace.registry_pass: - if ".azurecr.io" not in namespace.registry_server: - raise ValidationError("Usage error: --registry-server, --registry-password and --registry-username are required together if not using Azure Container Registry") - - -def validate_registry_user(namespace): - if "create" in namespace.command.lower(): - if namespace.registry_user: - if not namespace.registry_server or (not namespace.registry_pass and ".azurecr.io" not in namespace.registry_server): - raise ValidationError("Usage error: --registry-server, --registry-password and --registry-username are required together if not using Azure Container Registry") - - -def validate_registry_pass(namespace): - if "create" in namespace.command.lower(): - if namespace.registry_pass: - if not namespace.registry_server or (not namespace.registry_user and ".azurecr.io" not in namespace.registry_server): - raise ValidationError("Usage error: --registry-server, --registry-password and --registry-username are required together if not using Azure Container Registry") - - -def validate_target_port(namespace): - if "create" in namespace.command.lower(): - if namespace.target_port: - if not namespace.ingress: - raise ValidationError("Usage error: must specify --ingress with --target-port") - - -def validate_ingress(namespace): - if "create" in namespace.command.lower(): - if namespace.ingress: - if not namespace.target_port: - raise ValidationError("Usage error: must specify --target-port with --ingress") - - -def _set_ssh_defaults(cmd, namespace): - app = ContainerAppClient.show(cmd, namespace.resource_group_name, namespace.name) - if not app: - raise ResourceNotFoundError("Could not find a container app") - replicas = [] - if not namespace.revision: - namespace.revision = app.get("properties", {}).get("latestRevisionName") - if not namespace.revision: - raise ResourceNotFoundError("Could not find a revision") - if not namespace.replica: - # VVV this may not be necessary according to Anthony Chu - ping_container_app(app) # needed to get an alive replica - replicas = ContainerAppClient.list_replicas(cmd=cmd, - resource_group_name=namespace.resource_group_name, - container_app_name=namespace.name, - revision_name=namespace.revision) - if not replicas: - raise ResourceNotFoundError("Could not find a replica for this app") - namespace.replica = replicas[0]["name"] - if not namespace.container: - revision = ContainerAppClient.show_revision(cmd, resource_group_name=namespace.resource_group_name, - container_app_name=namespace.name, - name=namespace.revision) - revision_containers = safe_get(revision, "properties", "template", "containers") - if revision_containers: - namespace.container = revision_containers[0]["name"] - - -def _validate_revision_exists(cmd, namespace): - revision = ContainerAppClient.show_revision(cmd, resource_group_name=namespace.resource_group_name, - container_app_name=namespace.name, name=namespace.revision) - if not revision: - raise ResourceNotFoundError("Could not find revision") - - -def _validate_replica_exists(cmd, namespace): - replica = ContainerAppClient.get_replica(cmd=cmd, - resource_group_name=namespace.resource_group_name, - container_app_name=namespace.name, - revision_name=namespace.revision, - replica_name=namespace.replica) - if not replica: - raise ResourceNotFoundError("Could not find replica") - - -def _validate_container_exists(cmd, namespace): - replica_containers = ContainerAppClient.get_replica(cmd=cmd, - resource_group_name=namespace.resource_group_name, - container_app_name=namespace.name, - revision_name=namespace.revision, - replica_name=namespace.replica)["properties"]["containers"] - matches = [r for r in replica_containers if r["name"].lower() == namespace.container.lower()] - if not matches: - raise ResourceNotFoundError("Could not find container") - - -# also used to validate logstream -def validate_ssh(cmd, namespace): - _set_ssh_defaults(cmd, namespace) - _validate_revision_exists(cmd, namespace) - _validate_replica_exists(cmd, namespace) - _validate_container_exists(cmd, namespace) diff --git a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/azext_metadata.json b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/azext_metadata.json deleted file mode 100644 index d7b2b115bf9..00000000000 --- a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/azext_metadata.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "azext.isPreview": true, - "azext.minCliCoreVersion": "2.15.0", - "azext.maxCliCoreVersion": "2.36.0" -} diff --git a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/commands.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/commands.py deleted file mode 100644 index 3ef540e70bf..00000000000 --- a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/commands.py +++ /dev/null @@ -1,128 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - -# pylint: disable=line-too-long, too-many-statements, bare-except -# from azure.cli.core.commands import CliCommandType -# from msrestazure.tools import is_valid_resource_id, parse_resource_id -from azext_containerapp._client_factory import ex_handler_factory -from ._validators import validate_ssh - - -def transform_containerapp_output(app): - props = ['name', 'location', 'resourceGroup', 'provisioningState'] - result = {k: app[k] for k in app if k in props} - - try: - result['fqdn'] = app['properties']['configuration']['ingress']['fqdn'] - except: - result['fqdn'] = None - - return result - - -def transform_containerapp_list_output(apps): - return [transform_containerapp_output(a) for a in apps] - - -def transform_revision_output(rev): - props = ['name', 'active', 'createdTime', 'trafficWeight', 'healthState', 'provisioningState', 'replicas'] - result = {k: rev['properties'][k] for k in rev['properties'] if k in props} - - if 'name' in rev: - result['name'] = rev['name'] - - if 'fqdn' in rev['properties']['template']: - result['fqdn'] = rev['properties']['template']['fqdn'] - - return result - - -def transform_revision_list_output(revs): - return [transform_revision_output(r) for r in revs] - - -def load_command_table(self, _): - with self.command_group('containerapp', is_preview=True) as g: - g.custom_show_command('show', 'show_containerapp', table_transformer=transform_containerapp_output) - g.custom_command('list', 'list_containerapp', table_transformer=transform_containerapp_list_output) - g.custom_command('create', 'create_containerapp', supports_no_wait=True, exception_handler=ex_handler_factory(), table_transformer=transform_containerapp_output) - g.custom_command('update', 'update_containerapp', supports_no_wait=True, exception_handler=ex_handler_factory(), table_transformer=transform_containerapp_output) - g.custom_command('delete', 'delete_containerapp', supports_no_wait=True, confirmation=True, exception_handler=ex_handler_factory()) - g.custom_command('exec', 'containerapp_ssh', validator=validate_ssh) - g.custom_command('up', 'containerapp_up', supports_no_wait=False, exception_handler=ex_handler_factory()) - g.custom_command('browse', 'open_containerapp_in_browser') - - with self.command_group('containerapp replica', is_preview=True) as g: - g.custom_show_command('show', 'get_replica') # TODO implement the table transformer - g.custom_command('list', 'list_replicas') - - with self.command_group('containerapp logs', is_preview=True) as g: - g.custom_show_command('show', 'stream_containerapp_logs', validator=validate_ssh) - - with self.command_group('containerapp env') as g: - g.custom_show_command('show', 'show_managed_environment') - g.custom_command('list', 'list_managed_environments') - g.custom_command('create', 'create_managed_environment', supports_no_wait=True, exception_handler=ex_handler_factory()) - g.custom_command('delete', 'delete_managed_environment', supports_no_wait=True, confirmation=True, exception_handler=ex_handler_factory()) - - with self.command_group('containerapp env dapr-component') as g: - g.custom_command('list', 'list_dapr_components') - g.custom_show_command('show', 'show_dapr_component') - g.custom_command('set', 'create_or_update_dapr_component') - g.custom_command('remove', 'remove_dapr_component') - - with self.command_group('containerapp env storage') as g: - g.custom_show_command('show', 'show_storage') - g.custom_command('list', 'list_storage') - g.custom_command('set', 'create_or_update_storage', supports_no_wait=True, exception_handler=ex_handler_factory()) - g.custom_command('remove', 'remove_storage', supports_no_wait=True, confirmation=True, exception_handler=ex_handler_factory()) - - with self.command_group('containerapp identity') as g: - g.custom_command('assign', 'assign_managed_identity', supports_no_wait=True, exception_handler=ex_handler_factory()) - g.custom_command('remove', 'remove_managed_identity', supports_no_wait=True, exception_handler=ex_handler_factory()) - g.custom_show_command('show', 'show_managed_identity') - - with self.command_group('containerapp github-action') as g: - g.custom_command('add', 'create_or_update_github_action', exception_handler=ex_handler_factory()) - g.custom_show_command('show', 'show_github_action', exception_handler=ex_handler_factory()) - g.custom_command('delete', 'delete_github_action', exception_handler=ex_handler_factory()) - - with self.command_group('containerapp revision') as g: - g.custom_command('activate', 'activate_revision') - g.custom_command('deactivate', 'deactivate_revision') - g.custom_command('list', 'list_revisions', table_transformer=transform_revision_list_output, exception_handler=ex_handler_factory()) - g.custom_command('restart', 'restart_revision') - g.custom_show_command('show', 'show_revision', table_transformer=transform_revision_output, exception_handler=ex_handler_factory()) - g.custom_command('copy', 'copy_revision', exception_handler=ex_handler_factory()) - g.custom_command('set-mode', 'set_revision_mode', exception_handler=ex_handler_factory()) - - with self.command_group('containerapp revision label') as g: - g.custom_command('add', 'add_revision_label') - g.custom_command('remove', 'remove_revision_label') - - with self.command_group('containerapp ingress') as g: - g.custom_command('enable', 'enable_ingress', exception_handler=ex_handler_factory()) - g.custom_command('disable', 'disable_ingress', exception_handler=ex_handler_factory()) - g.custom_show_command('show', 'show_ingress') - - with self.command_group('containerapp ingress traffic') as g: - g.custom_command('set', 'set_ingress_traffic', exception_handler=ex_handler_factory()) - g.custom_show_command('show', 'show_ingress_traffic') - - with self.command_group('containerapp registry') as g: - g.custom_command('set', 'set_registry', exception_handler=ex_handler_factory()) - g.custom_show_command('show', 'show_registry') - g.custom_command('list', 'list_registry') - g.custom_command('remove', 'remove_registry', exception_handler=ex_handler_factory()) - - with self.command_group('containerapp secret') as g: - g.custom_command('list', 'list_secrets') - g.custom_show_command('show', 'show_secret') - g.custom_command('remove', 'remove_secrets', exception_handler=ex_handler_factory()) - g.custom_command('set', 'set_secrets', exception_handler=ex_handler_factory()) - - with self.command_group('containerapp dapr') as g: - g.custom_command('enable', 'enable_dapr', exception_handler=ex_handler_factory()) - g.custom_command('disable', 'disable_dapr', exception_handler=ex_handler_factory()) diff --git a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/custom.py b/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/custom.py deleted file mode 100644 index f4fe046f9a3..00000000000 --- a/src/containerapp-compose/azext_containerapp_compose/vendored_sdks/azext_containerapp/custom.py +++ /dev/null @@ -1,2376 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -# pylint: disable=line-too-long, consider-using-f-string, logging-format-interpolation, inconsistent-return-statements, broad-except, bare-except, too-many-statements, too-many-locals, too-many-boolean-expressions, too-many-branches, too-many-nested-blocks, pointless-statement, expression-not-assigned, unbalanced-tuple-unpacking - -import threading -import sys -import time -from urllib.parse import urlparse -import requests - -from azure.cli.core.azclierror import ( - RequiredArgumentMissingError, - ValidationError, - ResourceNotFoundError, - CLIError, - CLIInternalError, - InvalidArgumentValueError) -from azure.cli.core.commands.client_factory import get_subscription_id -from azure.cli.core.util import open_page_in_browser -from knack.log import get_logger - -from msrestazure.tools import parse_resource_id, is_valid_resource_id -from msrest.exceptions import DeserializationError - -from ._client_factory import handle_raw_exception -from ._clients import ManagedEnvironmentClient, ContainerAppClient, GitHubActionClient, DaprComponentClient, StorageClient -from ._github_oauth import get_github_access_token -from ._models import ( - ManagedEnvironment as ManagedEnvironmentModel, - VnetConfiguration as VnetConfigurationModel, - AppLogsConfiguration as AppLogsConfigurationModel, - LogAnalyticsConfiguration as LogAnalyticsConfigurationModel, - Ingress as IngressModel, - Configuration as ConfigurationModel, - Template as TemplateModel, - RegistryCredentials as RegistryCredentialsModel, - ContainerApp as ContainerAppModel, - Dapr as DaprModel, - ContainerResources as ContainerResourcesModel, - Scale as ScaleModel, - Container as ContainerModel, - GitHubActionConfiguration, - RegistryInfo as RegistryInfoModel, - AzureCredentials as AzureCredentialsModel, - SourceControl as SourceControlModel, - ManagedServiceIdentity as ManagedServiceIdentityModel, - AzureFileProperties as AzureFilePropertiesModel) -from ._utils import (_validate_subscription_registered, _get_location_from_resource_group, _ensure_location_allowed, - parse_secret_flags, store_as_secret_and_return_secret_ref, parse_env_var_flags, - _generate_log_analytics_if_not_provided, _get_existing_secrets, _convert_object_from_snake_to_camel_case, - _object_to_dict, _add_or_update_secrets, _remove_additional_attributes, _remove_readonly_attributes, - _add_or_update_env_vars, _add_or_update_tags, update_nested_dictionary, _update_revision_weights, _append_label_weights, - _get_app_from_revision, raise_missing_token_suggestion, _infer_acr_credentials, _remove_registry_secret, _remove_secret, - _ensure_identity_resource_id, _remove_dapr_readonly_attributes, _remove_env_vars, _validate_traffic_sum, - _update_revision_env_secretrefs, _get_acr_cred, safe_get, await_github_action, repo_url_to_name, - validate_container_app_name, _update_weights) - -from ._ssh_utils import (SSH_DEFAULT_ENCODING, WebSocketConnection, read_ssh, get_stdin_writer, SSH_CTRL_C_MSG, - SSH_BACKUP_ENCODING) -from ._constants import MAXIMUM_SECRET_LENGTH - -logger = get_logger(__name__) - - -# These properties should be under the "properties" attribute. Move the properties under "properties" attribute -def process_loaded_yaml(yaml_containerapp): - if not yaml_containerapp.get('properties'): - yaml_containerapp['properties'] = {} - - nested_properties = ["provisioningState", "managedEnvironmentId", "latestRevisionName", "latestRevisionFqdn", - "customDomainVerificationId", "configuration", "template", "outboundIPAddresses"] - for nested_property in nested_properties: - tmp = yaml_containerapp.get(nested_property) - if tmp: - yaml_containerapp['properties'][nested_property] = tmp - del yaml_containerapp[nested_property] - - return yaml_containerapp - - -def load_yaml_file(file_name): - import yaml - import errno - - try: - with open(file_name) as stream: # pylint: disable=unspecified-encoding - return yaml.safe_load(stream) - except (IOError, OSError) as ex: - if getattr(ex, 'errno', 0) == errno.ENOENT: - raise ValidationError('{} does not exist'.format(file_name)) from ex - raise - except (yaml.parser.ParserError, UnicodeDecodeError) as ex: - raise ValidationError('Error parsing {} ({})'.format(file_name, str(ex))) from ex - - -def create_deserializer(): - from ._sdk_models import ContainerApp # pylint: disable=unused-import - from msrest import Deserializer - import inspect - - sdkClasses = inspect.getmembers(sys.modules["azext_containerapp._sdk_models"]) - deserializer = {} - - for sdkClass in sdkClasses: - deserializer[sdkClass[0]] = sdkClass[1] - - return Deserializer(deserializer) - - -def update_containerapp_yaml(cmd, name, resource_group_name, file_name, from_revision=None, no_wait=False): - yaml_containerapp = process_loaded_yaml(load_yaml_file(file_name)) - if type(yaml_containerapp) != dict: # pylint: disable=unidiomatic-typecheck - raise ValidationError('Invalid YAML provided. Please see https://aka.ms/azure-container-apps-yaml for a valid containerapps YAML spec.') - - if not yaml_containerapp.get('name'): - yaml_containerapp['name'] = name - elif yaml_containerapp.get('name').lower() != name.lower(): - logger.warning('The app name provided in the --yaml file "{}" does not match the one provided in the --name flag "{}". The one provided in the --yaml file will be used.'.format( - yaml_containerapp.get('name'), name)) - name = yaml_containerapp.get('name') - - if not yaml_containerapp.get('type'): - yaml_containerapp['type'] = 'Microsoft.App/containerApps' - elif yaml_containerapp.get('type').lower() != "microsoft.app/containerapps": - raise ValidationError('Containerapp type must be \"Microsoft.App/ContainerApps\"') - - current_containerapp_def = None - containerapp_def = None - try: - current_containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - except Exception: - pass - - if not current_containerapp_def: - raise ValidationError("The containerapp '{}' does not exist".format(name)) - - # Change which revision we update from - if from_revision: - try: - r = ContainerAppClient.show_revision(cmd=cmd, resource_group_name=resource_group_name, container_app_name=name, name=from_revision) - except CLIError as e: - handle_raw_exception(e) - _update_revision_env_secretrefs(r["properties"]["template"]["containers"], name) - current_containerapp_def["properties"]["template"] = r["properties"]["template"] - - # Deserialize the yaml into a ContainerApp object. Need this since we're not using SDK - try: - deserializer = create_deserializer() - - containerapp_def = deserializer('ContainerApp', yaml_containerapp) - except DeserializationError as ex: - raise ValidationError('Invalid YAML provided. Please see https://aka.ms/azure-container-apps-yaml for a valid containerapps YAML spec.') from ex - - # Remove tags before converting from snake case to camel case, then re-add tags. We don't want to change the case of the tags. Need this since we're not using SDK - tags = None - if yaml_containerapp.get('tags'): - tags = yaml_containerapp.get('tags') - del yaml_containerapp['tags'] - - containerapp_def = _convert_object_from_snake_to_camel_case(_object_to_dict(containerapp_def)) - containerapp_def['tags'] = tags - - # After deserializing, some properties may need to be moved under the "properties" attribute. Need this since we're not using SDK - containerapp_def = process_loaded_yaml(containerapp_def) - - _get_existing_secrets(cmd, resource_group_name, name, current_containerapp_def) - - update_nested_dictionary(current_containerapp_def, containerapp_def) - - # Remove "additionalProperties" and read-only attributes that are introduced in the deserialization. Need this since we're not using SDK - _remove_additional_attributes(current_containerapp_def) - _remove_readonly_attributes(current_containerapp_def) - - try: - r = ContainerAppClient.create_or_update( - cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=current_containerapp_def, no_wait=no_wait) - - if "properties" in r and "provisioningState" in r["properties"] and r["properties"]["provisioningState"].lower() == "waiting" and not no_wait: - logger.warning('Containerapp creation in progress. Please monitor the creation using `az containerapp show -n {} -g {}`'.format( - name, resource_group_name - )) - - return r - except Exception as e: - handle_raw_exception(e) - - -def create_containerapp_yaml(cmd, name, resource_group_name, file_name, no_wait=False): - yaml_containerapp = process_loaded_yaml(load_yaml_file(file_name)) - if type(yaml_containerapp) != dict: # pylint: disable=unidiomatic-typecheck - raise ValidationError('Invalid YAML provided. Please see https://aka.ms/azure-container-apps-yaml for a valid containerapps YAML spec.') - - if not yaml_containerapp.get('name'): - yaml_containerapp['name'] = name - elif yaml_containerapp.get('name').lower() != name.lower(): - logger.warning('The app name provided in the --yaml file "{}" does not match the one provided in the --name flag "{}". The one provided in the --yaml file will be used.'.format( - yaml_containerapp.get('name'), name)) - name = yaml_containerapp.get('name') - - if not yaml_containerapp.get('type'): - yaml_containerapp['type'] = 'Microsoft.App/containerApps' - elif yaml_containerapp.get('type').lower() != "microsoft.app/containerapps": - raise ValidationError('Containerapp type must be \"Microsoft.App/ContainerApps\"') - - # Deserialize the yaml into a ContainerApp object. Need this since we're not using SDK - containerapp_def = None - try: - deserializer = create_deserializer() - - containerapp_def = deserializer('ContainerApp', yaml_containerapp) - except DeserializationError as ex: - raise ValidationError('Invalid YAML provided. Please see https://aka.ms/azure-container-apps-yaml for a valid containerapps YAML spec.') from ex - - # Remove tags before converting from snake case to camel case, then re-add tags. We don't want to change the case of the tags. Need this since we're not using SDK - tags = None - if yaml_containerapp.get('tags'): - tags = yaml_containerapp.get('tags') - del yaml_containerapp['tags'] - - containerapp_def = _convert_object_from_snake_to_camel_case(_object_to_dict(containerapp_def)) - containerapp_def['tags'] = tags - - # After deserializing, some properties may need to be moved under the "properties" attribute. Need this since we're not using SDK - containerapp_def = process_loaded_yaml(containerapp_def) - - # Remove "additionalProperties" and read-only attributes that are introduced in the deserialization. Need this since we're not using SDK - _remove_additional_attributes(containerapp_def) - _remove_readonly_attributes(containerapp_def) - - # Validate managed environment - if not containerapp_def["properties"].get('managedEnvironmentId'): - raise RequiredArgumentMissingError('managedEnvironmentId is required. This can be retrieved using the `az containerapp env show -g MyResourceGroup -n MyContainerappEnvironment --query id` command. Please see https://aka.ms/azure-container-apps-yaml for a valid containerapps YAML spec.') - - env_id = containerapp_def["properties"]['managedEnvironmentId'] - env_name = None - env_rg = None - env_info = None - - if is_valid_resource_id(env_id): - parsed_managed_env = parse_resource_id(env_id) - env_name = parsed_managed_env['name'] - env_rg = parsed_managed_env['resource_group'] - else: - raise ValidationError('Invalid managedEnvironmentId specified. Environment not found') - - try: - env_info = ManagedEnvironmentClient.show(cmd=cmd, resource_group_name=env_rg, name=env_name) - except: - pass - - if not env_info: - raise ValidationError("The environment '{}' in resource group '{}' was not found".format(env_name, env_rg)) - - # Validate location - if not containerapp_def.get('location'): - containerapp_def['location'] = env_info['location'] - - try: - r = ContainerAppClient.create_or_update( - cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_def, no_wait=no_wait) - - if "properties" in r and "provisioningState" in r["properties"] and r["properties"]["provisioningState"].lower() == "waiting" and not no_wait: - logger.warning('Containerapp creation in progress. Please monitor the creation using `az containerapp show -n {} -g {}`'.format( - name, resource_group_name - )) - - if "configuration" in r["properties"] and "ingress" in r["properties"]["configuration"] and "fqdn" in r["properties"]["configuration"]["ingress"]: - logger.warning("\nContainer app created. Access your app at https://{}/\n".format(r["properties"]["configuration"]["ingress"]["fqdn"])) - else: - logger.warning("\nContainer app created. To access it over HTTPS, enable ingress: az containerapp ingress enable --help\n") - - return r - except Exception as e: - handle_raw_exception(e) - - -def create_containerapp(cmd, - name, - resource_group_name, - yaml=None, - image=None, - container_name=None, - managed_env=None, - min_replicas=None, - max_replicas=None, - target_port=None, - transport="auto", - ingress=None, - revisions_mode="single", - secrets=None, - env_vars=None, - cpu=None, - memory=None, - registry_server=None, - registry_user=None, - registry_pass=None, - dapr_enabled=False, - dapr_app_port=None, - dapr_app_id=None, - dapr_app_protocol=None, - revision_suffix=None, - startup_command=None, - args=None, - tags=None, - no_wait=False, - system_assigned=False, - disable_warnings=False, - user_assigned=None): - _validate_subscription_registered(cmd, "Microsoft.App") - validate_container_app_name(name) - - if yaml: - if image or managed_env or min_replicas or max_replicas or target_port or ingress or\ - revisions_mode or secrets or env_vars or cpu or memory or registry_server or\ - registry_user or registry_pass or dapr_enabled or dapr_app_port or dapr_app_id or\ - startup_command or args or tags: - not disable_warnings and logger.warning('Additional flags were passed along with --yaml. These flags will be ignored, and the configuration defined in the yaml will be used instead') - return create_containerapp_yaml(cmd=cmd, name=name, resource_group_name=resource_group_name, file_name=yaml, no_wait=no_wait) - - if not image: - image = "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest" - - if managed_env is None: - raise RequiredArgumentMissingError('Usage error: --environment is required if not using --yaml') - - # Validate managed environment - parsed_managed_env = parse_resource_id(managed_env) - managed_env_name = parsed_managed_env['name'] - managed_env_rg = parsed_managed_env['resource_group'] - managed_env_info = None - - try: - managed_env_info = ManagedEnvironmentClient.show(cmd=cmd, resource_group_name=managed_env_rg, name=managed_env_name) - except: - pass - - if not managed_env_info: - raise ValidationError("The environment '{}' does not exist. Specify a valid environment".format(managed_env)) - - location = managed_env_info["location"] - _ensure_location_allowed(cmd, location, "Microsoft.App", "containerApps") - - external_ingress = None - if ingress is not None: - if ingress.lower() == "internal": - external_ingress = False - elif ingress.lower() == "external": - external_ingress = True - - ingress_def = None - if target_port is not None and ingress is not None: - ingress_def = IngressModel - ingress_def["external"] = external_ingress - ingress_def["targetPort"] = target_port - ingress_def["transport"] = transport - - secrets_def = None - if secrets is not None: - secrets_def = parse_secret_flags(secrets) - - registries_def = None - if registry_server is not None: - registries_def = RegistryCredentialsModel - - # Infer credentials if not supplied and its azurecr - if registry_user is None or registry_pass is None: - registry_user, registry_pass = _infer_acr_credentials(cmd, registry_server, disable_warnings) - - registries_def["server"] = registry_server - registries_def["username"] = registry_user - - if secrets_def is None: - secrets_def = [] - registries_def["passwordSecretRef"] = store_as_secret_and_return_secret_ref(secrets_def, registry_user, registry_server, registry_pass, disable_warnings=disable_warnings) - - dapr_def = None - if dapr_enabled: - dapr_def = DaprModel - dapr_def["enabled"] = True - dapr_def["appId"] = dapr_app_id - dapr_def["appPort"] = dapr_app_port - dapr_def["appProtocol"] = dapr_app_protocol - - config_def = ConfigurationModel - config_def["secrets"] = secrets_def - config_def["activeRevisionsMode"] = revisions_mode - config_def["ingress"] = ingress_def - config_def["registries"] = [registries_def] if registries_def is not None else None - config_def["dapr"] = dapr_def - - # Identity actions - identity_def = ManagedServiceIdentityModel - identity_def["type"] = "None" - - assign_system_identity = system_assigned - if user_assigned: - assign_user_identities = [x.lower() for x in user_assigned] - else: - assign_user_identities = [] - - if assign_system_identity and assign_user_identities: - identity_def["type"] = "SystemAssigned, UserAssigned" - elif assign_system_identity: - identity_def["type"] = "SystemAssigned" - elif assign_user_identities: - identity_def["type"] = "UserAssigned" - - if assign_user_identities: - identity_def["userAssignedIdentities"] = {} - subscription_id = get_subscription_id(cmd.cli_ctx) - - for r in assign_user_identities: - r = _ensure_identity_resource_id(subscription_id, resource_group_name, r) - identity_def["userAssignedIdentities"][r] = {} # pylint: disable=unsupported-assignment-operation - - scale_def = None - if min_replicas is not None or max_replicas is not None: - scale_def = ScaleModel - scale_def["minReplicas"] = min_replicas - scale_def["maxReplicas"] = max_replicas - - resources_def = None - if cpu is not None or memory is not None: - resources_def = ContainerResourcesModel - resources_def["cpu"] = cpu - resources_def["memory"] = memory - - container_def = ContainerModel - container_def["name"] = container_name if container_name else name - container_def["image"] = image - if env_vars is not None: - container_def["env"] = parse_env_var_flags(env_vars) - if startup_command is not None: - container_def["command"] = startup_command - if args is not None: - container_def["args"] = args - if resources_def is not None: - container_def["resources"] = resources_def - - template_def = TemplateModel - template_def["containers"] = [container_def] - template_def["scale"] = scale_def - - if revision_suffix is not None: - template_def["revisionSuffix"] = revision_suffix - - containerapp_def = ContainerAppModel - containerapp_def["location"] = location - containerapp_def["identity"] = identity_def - containerapp_def["properties"]["managedEnvironmentId"] = managed_env - containerapp_def["properties"]["configuration"] = config_def - containerapp_def["properties"]["template"] = template_def - containerapp_def["tags"] = tags - - try: - r = ContainerAppClient.create_or_update( - cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_def, no_wait=no_wait) - - if "properties" in r and "provisioningState" in r["properties"] and r["properties"]["provisioningState"].lower() == "waiting" and not no_wait: - not disable_warnings and logger.warning('Containerapp creation in progress. Please monitor the creation using `az containerapp show -n {} -g {}`'.format(name, resource_group_name)) - - if "configuration" in r["properties"] and "ingress" in r["properties"]["configuration"] and "fqdn" in r["properties"]["configuration"]["ingress"]: - not disable_warnings and logger.warning("\nContainer app created. Access your app at https://{}/\n".format(r["properties"]["configuration"]["ingress"]["fqdn"])) - else: - not disable_warnings and logger.warning("\nContainer app created. To access it over HTTPS, enable ingress: az containerapp ingress enable --help\n") - - return r - except Exception as e: - handle_raw_exception(e) - - -def update_containerapp_logic(cmd, - name, - resource_group_name, - yaml=None, - image=None, - container_name=None, - min_replicas=None, - max_replicas=None, - set_env_vars=None, - remove_env_vars=None, - replace_env_vars=None, - remove_all_env_vars=False, - cpu=None, - memory=None, - revision_suffix=None, - startup_command=None, - args=None, - tags=None, - no_wait=False, - from_revision=None): - _validate_subscription_registered(cmd, "Microsoft.App") - - if yaml: - if image or min_replicas or max_replicas or\ - set_env_vars or remove_env_vars or replace_env_vars or remove_all_env_vars or cpu or memory or\ - startup_command or args or tags: - logger.warning('Additional flags were passed along with --yaml. These flags will be ignored, and the configuration defined in the yaml will be used instead') - return update_containerapp_yaml(cmd=cmd, name=name, resource_group_name=resource_group_name, file_name=yaml, no_wait=no_wait, from_revision=from_revision) - - containerapp_def = None - try: - containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - except: - pass - - if not containerapp_def: - raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) - - if from_revision: - try: - r = ContainerAppClient.show_revision(cmd=cmd, resource_group_name=resource_group_name, container_app_name=name, name=from_revision) - except CLIError as e: - # Error handle the case where revision not found? - handle_raw_exception(e) - - _update_revision_env_secretrefs(r["properties"]["template"]["containers"], name) - containerapp_def["properties"]["template"] = r["properties"]["template"] - - # Doing this while API has bug. If env var is an empty string, API doesn't return "value" even though the "value" should be an empty string - if "properties" in containerapp_def and "template" in containerapp_def["properties"] and "containers" in containerapp_def["properties"]["template"]: - for container in containerapp_def["properties"]["template"]["containers"]: - if "env" in container: - for e in container["env"]: - if "value" not in e: - e["value"] = "" - - update_map = {} - update_map['scale'] = min_replicas or max_replicas - update_map['container'] = image or container_name or set_env_vars is not None or remove_env_vars is not None or replace_env_vars is not None or remove_all_env_vars or cpu or memory or startup_command is not None or args is not None - - if tags: - _add_or_update_tags(containerapp_def, tags) - - if revision_suffix is not None: - containerapp_def["properties"]["template"]["revisionSuffix"] = revision_suffix - - # Containers - if update_map["container"]: - if not container_name: - if len(containerapp_def["properties"]["template"]["containers"]) == 1: - container_name = containerapp_def["properties"]["template"]["containers"][0]["name"] - else: - raise ValidationError("Usage error: --container-name is required when adding or updating a container") - - # Check if updating existing container - updating_existing_container = False - for c in containerapp_def["properties"]["template"]["containers"]: - if c["name"].lower() == container_name.lower(): - updating_existing_container = True - - if image is not None: - c["image"] = image - - if set_env_vars is not None: - if "env" not in c or not c["env"]: - c["env"] = [] - # env vars - _add_or_update_env_vars(c["env"], parse_env_var_flags(set_env_vars)) - - if replace_env_vars is not None: - # Remove other existing env_vars, then add them - c["env"] = [] - _add_or_update_env_vars(c["env"], parse_env_var_flags(replace_env_vars)) - - if remove_env_vars is not None: - if "env" not in c or not c["env"]: - c["env"] = [] - # env vars - _remove_env_vars(c["env"], remove_env_vars) - - if remove_all_env_vars: - c["env"] = [] - - if startup_command is not None: - if isinstance(startup_command, list) and not startup_command: - c["command"] = None - else: - c["command"] = startup_command - if args is not None: - if isinstance(args, list) and not args: - c["args"] = None - else: - c["args"] = args - if cpu is not None or memory is not None: - if "resources" in c and c["resources"]: - if cpu is not None: - c["resources"]["cpu"] = cpu - if memory is not None: - c["resources"]["memory"] = memory - else: - c["resources"] = { - "cpu": cpu, - "memory": memory - } - - # If not updating existing container, add as new container - if not updating_existing_container: - if image is None: - raise ValidationError("Usage error: --image is required when adding a new container") - - resources_def = None - if cpu is not None or memory is not None: - resources_def = ContainerResourcesModel - resources_def["cpu"] = cpu - resources_def["memory"] = memory - - container_def = ContainerModel - container_def["name"] = container_name - container_def["image"] = image - container_def["env"] = [] - - if set_env_vars is not None: - # env vars - _add_or_update_env_vars(container_def["env"], parse_env_var_flags(set_env_vars)) - - if replace_env_vars is not None: - # env vars - _add_or_update_env_vars(container_def["env"], parse_env_var_flags(replace_env_vars)) - - if remove_env_vars is not None: - # env vars - _remove_env_vars(container_def["env"], remove_env_vars) - - if remove_all_env_vars: - container_def["env"] = [] - - if startup_command is not None: - if isinstance(startup_command, list) and not startup_command: - container_def["command"] = None - else: - container_def["command"] = startup_command - if args is not None: - if isinstance(args, list) and not args: - container_def["args"] = None - else: - container_def["args"] = args - if resources_def is not None: - container_def["resources"] = resources_def - - containerapp_def["properties"]["template"]["containers"].append(container_def) - - # Scale - if update_map["scale"]: - if "scale" not in containerapp_def["properties"]["template"]: - containerapp_def["properties"]["template"]["scale"] = {} - if min_replicas is not None: - containerapp_def["properties"]["template"]["scale"]["minReplicas"] = min_replicas - if max_replicas is not None: - containerapp_def["properties"]["template"]["scale"]["maxReplicas"] = max_replicas - - _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) - - try: - r = ContainerAppClient.create_or_update( - cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_def, no_wait=no_wait) - - if "properties" in r and "provisioningState" in r["properties"] and r["properties"]["provisioningState"].lower() == "waiting" and not no_wait: - logger.warning('Containerapp update in progress. Please monitor the update using `az containerapp show -n {} -g {}`'.format(name, resource_group_name)) - - return r - except Exception as e: - handle_raw_exception(e) - - -def update_containerapp(cmd, - name, - resource_group_name, - yaml=None, - image=None, - container_name=None, - min_replicas=None, - max_replicas=None, - set_env_vars=None, - remove_env_vars=None, - replace_env_vars=None, - remove_all_env_vars=False, - cpu=None, - memory=None, - revision_suffix=None, - startup_command=None, - args=None, - tags=None, - no_wait=False): - _validate_subscription_registered(cmd, "Microsoft.App") - - return update_containerapp_logic(cmd, - name, - resource_group_name, - yaml, - image, - container_name, - min_replicas, - max_replicas, - set_env_vars, - remove_env_vars, - replace_env_vars, - remove_all_env_vars, - cpu, - memory, - revision_suffix, - startup_command, - args, - tags, - no_wait) - - -def show_containerapp(cmd, name, resource_group_name): - _validate_subscription_registered(cmd, "Microsoft.App") - - try: - return ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - except CLIError as e: - handle_raw_exception(e) - - -def list_containerapp(cmd, resource_group_name=None): - _validate_subscription_registered(cmd, "Microsoft.App") - - try: - containerapps = [] - if resource_group_name is None: - containerapps = ContainerAppClient.list_by_subscription(cmd=cmd) - else: - containerapps = ContainerAppClient.list_by_resource_group(cmd=cmd, resource_group_name=resource_group_name) - - return containerapps - except CLIError as e: - handle_raw_exception(e) - - -def delete_containerapp(cmd, name, resource_group_name, no_wait=False): - _validate_subscription_registered(cmd, "Microsoft.App") - - try: - return ContainerAppClient.delete(cmd=cmd, name=name, resource_group_name=resource_group_name, no_wait=no_wait) - except CLIError as e: - handle_raw_exception(e) - - -def create_managed_environment(cmd, - name, - resource_group_name, - logs_customer_id=None, - logs_key=None, - location=None, - instrumentation_key=None, - infrastructure_subnet_resource_id=None, - docker_bridge_cidr=None, - platform_reserved_cidr=None, - platform_reserved_dns_ip=None, - internal_only=False, - tags=None, - disable_warnings=False, - no_wait=False): - - location = location or _get_location_from_resource_group(cmd.cli_ctx, resource_group_name) - - _validate_subscription_registered(cmd, "Microsoft.App") - _ensure_location_allowed(cmd, location, "Microsoft.App", "managedEnvironments") - - if logs_customer_id is None or logs_key is None: - logs_customer_id, logs_key = _generate_log_analytics_if_not_provided(cmd, logs_customer_id, logs_key, location, resource_group_name) - - log_analytics_config_def = LogAnalyticsConfigurationModel - log_analytics_config_def["customerId"] = logs_customer_id - log_analytics_config_def["sharedKey"] = logs_key - - app_logs_config_def = AppLogsConfigurationModel - app_logs_config_def["destination"] = "log-analytics" - app_logs_config_def["logAnalyticsConfiguration"] = log_analytics_config_def - - managed_env_def = ManagedEnvironmentModel - managed_env_def["location"] = location - managed_env_def["properties"]["internalLoadBalancerEnabled"] = False - managed_env_def["properties"]["appLogsConfiguration"] = app_logs_config_def - managed_env_def["tags"] = tags - - if instrumentation_key is not None: - managed_env_def["properties"]["daprAIInstrumentationKey"] = instrumentation_key - - if infrastructure_subnet_resource_id or docker_bridge_cidr or platform_reserved_cidr or platform_reserved_dns_ip: - vnet_config_def = VnetConfigurationModel - - if infrastructure_subnet_resource_id is not None: - vnet_config_def["infrastructureSubnetId"] = infrastructure_subnet_resource_id - - if docker_bridge_cidr is not None: - vnet_config_def["dockerBridgeCidr"] = docker_bridge_cidr - - if platform_reserved_cidr is not None: - vnet_config_def["platformReservedCidr"] = platform_reserved_cidr - - if platform_reserved_dns_ip is not None: - vnet_config_def["platformReservedDnsIP"] = platform_reserved_dns_ip - - managed_env_def["properties"]["vnetConfiguration"] = vnet_config_def - - if internal_only: - if not infrastructure_subnet_resource_id: - raise ValidationError('Infrastructure subnet resource ID needs to be supplied for internal only environments.') - managed_env_def["properties"]["internalLoadBalancerEnabled"] = True - - try: - r = ManagedEnvironmentClient.create( - cmd=cmd, resource_group_name=resource_group_name, name=name, managed_environment_envelope=managed_env_def, no_wait=no_wait) - - if "properties" in r and "provisioningState" in r["properties"] and r["properties"]["provisioningState"].lower() == "waiting" and not no_wait: - not disable_warnings and logger.warning('Containerapp environment creation in progress. Please monitor the creation using `az containerapp env show -n {} -g {}`'.format(name, resource_group_name)) - - not disable_warnings and logger.warning("\nContainer Apps environment created. To deploy a container app, use: az containerapp create --help\n") - - return r - except Exception as e: - handle_raw_exception(e) - - -def update_managed_environment(cmd, - name, - resource_group_name, - tags=None, - no_wait=False): - raise CLIInternalError('Containerapp env update is not yet supported.') - - -def show_managed_environment(cmd, name, resource_group_name): - _validate_subscription_registered(cmd, "Microsoft.App") - - try: - return ManagedEnvironmentClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - except CLIError as e: - handle_raw_exception(e) - - -def list_managed_environments(cmd, resource_group_name=None): - _validate_subscription_registered(cmd, "Microsoft.App") - - try: - managed_envs = [] - if resource_group_name is None: - managed_envs = ManagedEnvironmentClient.list_by_subscription(cmd=cmd) - else: - managed_envs = ManagedEnvironmentClient.list_by_resource_group(cmd=cmd, resource_group_name=resource_group_name) - - return managed_envs - except CLIError as e: - handle_raw_exception(e) - - -def delete_managed_environment(cmd, name, resource_group_name, no_wait=False): - _validate_subscription_registered(cmd, "Microsoft.App") - - try: - return ManagedEnvironmentClient.delete(cmd=cmd, name=name, resource_group_name=resource_group_name, no_wait=no_wait) - except CLIError as e: - handle_raw_exception(e) - - -def assign_managed_identity(cmd, name, resource_group_name, system_assigned=False, user_assigned=None, no_wait=False): - _validate_subscription_registered(cmd, "Microsoft.App") - - assign_system_identity = system_assigned - if not user_assigned: - user_assigned = [] - assign_user_identities = [x.lower() for x in user_assigned] - - containerapp_def = None - - # Get containerapp properties of CA we are updating - try: - containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - except: - pass - - if not containerapp_def: - raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) - - _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) - - # If identity not returned - try: - containerapp_def["identity"] - containerapp_def["identity"]["type"] - except: - containerapp_def["identity"] = {} - containerapp_def["identity"]["type"] = "None" - - if assign_system_identity and containerapp_def["identity"]["type"].__contains__("SystemAssigned"): - logger.warning("System identity is already assigned to containerapp") - - # Assign correct type - try: - if containerapp_def["identity"]["type"] != "None": - if containerapp_def["identity"]["type"] == "SystemAssigned" and assign_user_identities: - containerapp_def["identity"]["type"] = "SystemAssigned,UserAssigned" - if containerapp_def["identity"]["type"] == "UserAssigned" and assign_system_identity: - containerapp_def["identity"]["type"] = "SystemAssigned,UserAssigned" - else: - if assign_system_identity and assign_user_identities: - containerapp_def["identity"]["type"] = "SystemAssigned,UserAssigned" - elif assign_system_identity: - containerapp_def["identity"]["type"] = "SystemAssigned" - elif assign_user_identities: - containerapp_def["identity"]["type"] = "UserAssigned" - except: - # Always returns "type": "None" when CA has no previous identities - pass - - if assign_user_identities: - try: - containerapp_def["identity"]["userAssignedIdentities"] - except: - containerapp_def["identity"]["userAssignedIdentities"] = {} - - subscription_id = get_subscription_id(cmd.cli_ctx) - - for r in assign_user_identities: - r = _ensure_identity_resource_id(subscription_id, resource_group_name, r).replace("resourceGroup", "resourcegroup") - isExisting = False - - for old_user_identity in containerapp_def["identity"]["userAssignedIdentities"]: - if old_user_identity.lower() == r.lower(): - isExisting = True - logger.warning("User identity {} is already assigned to containerapp".format(old_user_identity)) - break - - if not isExisting: - containerapp_def["identity"]["userAssignedIdentities"][r] = {} - - try: - r = ContainerAppClient.create_or_update(cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_def, no_wait=no_wait) - # If identity is not returned, do nothing - return r["identity"] - - except Exception as e: - handle_raw_exception(e) - - -def remove_managed_identity(cmd, name, resource_group_name, system_assigned=False, user_assigned=None, no_wait=False): - _validate_subscription_registered(cmd, "Microsoft.App") - - remove_system_identity = system_assigned - remove_user_identities = user_assigned - - if user_assigned: - remove_id_size = len(remove_user_identities) - - # Remove duplicate identities that are passed and notify - remove_user_identities = list(set(remove_user_identities)) - if remove_id_size != len(remove_user_identities): - logger.warning("At least one identity was passed twice.") - - containerapp_def = None - # Get containerapp properties of CA we are updating - try: - containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - except: - pass - - if not containerapp_def: - raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) - - _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) - - # If identity not returned - try: - containerapp_def["identity"] - containerapp_def["identity"]["type"] - except: - containerapp_def["identity"] = {} - containerapp_def["identity"]["type"] = "None" - - if containerapp_def["identity"]["type"] == "None": - raise InvalidArgumentValueError("The containerapp {} has no system or user assigned identities.".format(name)) - - if remove_system_identity: - if containerapp_def["identity"]["type"] == "UserAssigned": - raise InvalidArgumentValueError("The containerapp {} has no system assigned identities.".format(name)) - containerapp_def["identity"]["type"] = ("None" if containerapp_def["identity"]["type"] == "SystemAssigned" else "UserAssigned") - - if isinstance(user_assigned, list) and not user_assigned: - containerapp_def["identity"]["userAssignedIdentities"] = {} - remove_user_identities = [] - - if containerapp_def["identity"]["userAssignedIdentities"] == {}: - containerapp_def["identity"]["userAssignedIdentities"] = None - containerapp_def["identity"]["type"] = ("None" if containerapp_def["identity"]["type"] == "UserAssigned" else "SystemAssigned") - - if remove_user_identities: - subscription_id = get_subscription_id(cmd.cli_ctx) - try: - containerapp_def["identity"]["userAssignedIdentities"] - except: - containerapp_def["identity"]["userAssignedIdentities"] = {} - for remove_id in remove_user_identities: - given_id = remove_id - remove_id = _ensure_identity_resource_id(subscription_id, resource_group_name, remove_id) - wasRemoved = False - - for old_user_identity in containerapp_def["identity"]["userAssignedIdentities"]: - if old_user_identity.lower() == remove_id.lower(): - containerapp_def["identity"]["userAssignedIdentities"].pop(old_user_identity) - wasRemoved = True - break - - if not wasRemoved: - raise InvalidArgumentValueError("The containerapp does not have specified user identity '{}' assigned, so it cannot be removed.".format(given_id)) - - if containerapp_def["identity"]["userAssignedIdentities"] == {}: - containerapp_def["identity"]["userAssignedIdentities"] = None - containerapp_def["identity"]["type"] = ("None" if containerapp_def["identity"]["type"] == "UserAssigned" else "SystemAssigned") - - try: - r = ContainerAppClient.create_or_update(cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_def, no_wait=no_wait) - return r["identity"] - except Exception as e: - handle_raw_exception(e) - - -def show_managed_identity(cmd, name, resource_group_name): - _validate_subscription_registered(cmd, "Microsoft.App") - - try: - r = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - except CLIError as e: - handle_raw_exception(e) - - try: - return r["identity"] - except: - r["identity"] = {} - r["identity"]["type"] = "None" - return r["identity"] - - -def _validate_github(repo, branch, token): - from github import Github, GithubException - from github.GithubException import BadCredentialsException - - if repo: - g = Github(token) - github_repo = None - try: - github_repo = g.get_repo(repo) - if not branch: - branch = github_repo.default_branch - if not github_repo.permissions.push or not github_repo.permissions.maintain: - raise ValidationError("The token does not have appropriate access rights to repository {}.".format(repo)) - try: - github_repo.get_branch(branch=branch) - except GithubException as e: - error_msg = "Encountered GitHub error when accessing {} branch in {} repo.".format(branch, repo) - if e.data and e.data['message']: - error_msg += " Error: {}".format(e.data['message']) - raise CLIInternalError(error_msg) from e - logger.warning('Verified GitHub repo and branch') - except BadCredentialsException as e: - raise ValidationError("Could not authenticate to the repository. Please create a Personal Access Token and use " - "the --token argument. Run 'az webapp deployment github-actions add --help' " - "for more information.") from e - except GithubException as e: - error_msg = "Encountered GitHub error when accessing {} repo".format(repo) - if e.data and e.data['message']: - error_msg += " Error: {}".format(e.data['message']) - raise CLIInternalError(error_msg) from e - return branch - - -def create_or_update_github_action(cmd, - name, - resource_group_name, - repo_url, - registry_url=None, - registry_username=None, - registry_password=None, - branch=None, - token=None, - login_with_github=False, - image=None, - context_path=None, - service_principal_client_id=None, - service_principal_client_secret=None, - service_principal_tenant_id=None, - no_wait=False): - if not token and not login_with_github: - raise_missing_token_suggestion() - elif not token: - scopes = ["admin:repo_hook", "repo", "workflow"] - token = get_github_access_token(cmd, scopes) - elif token and login_with_github: - logger.warning("Both token and --login-with-github flag are provided. Will use provided token") - - repo = repo_url_to_name(repo_url) - repo_url = f"https://github.com/{repo}" # allow specifying repo as / without the full github url - - branch = _validate_github(repo, branch, token) - - source_control_info = None - - try: - source_control_info = GitHubActionClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - - except Exception as ex: - if not service_principal_client_id or not service_principal_client_secret or not service_principal_tenant_id: - raise RequiredArgumentMissingError('Service principal client ID, secret and tenant ID are required to add github actions for the first time. Please create one using the command \"az ad sp create-for-rbac --name {{name}} --role contributor --scopes /subscriptions/{{subscription}}/resourceGroups/{{resourceGroup}} --sdk-auth\"') from ex - source_control_info = SourceControlModel - - source_control_info["properties"]["repoUrl"] = repo_url - source_control_info["properties"]["branch"] = branch - - azure_credentials = None - - if service_principal_client_id or service_principal_client_secret or service_principal_tenant_id: - azure_credentials = AzureCredentialsModel - azure_credentials["clientId"] = service_principal_client_id - azure_credentials["clientSecret"] = service_principal_client_secret - azure_credentials["tenantId"] = service_principal_tenant_id - azure_credentials["subscriptionId"] = get_subscription_id(cmd.cli_ctx) - - # Registry - if registry_username is None or registry_password is None: - # If registry is Azure Container Registry, we can try inferring credentials - if not registry_url or '.azurecr.io' not in registry_url: - raise RequiredArgumentMissingError('Registry url is required if using Azure Container Registry, otherwise Registry username and password are required if using Dockerhub') - logger.warning('No credential was provided to access Azure Container Registry. Trying to look up...') - parsed = urlparse(registry_url) - registry_name = (parsed.netloc if parsed.scheme else parsed.path).split('.')[0] - - try: - registry_username, registry_password, _ = _get_acr_cred(cmd.cli_ctx, registry_name) - except Exception as ex: - raise RequiredArgumentMissingError('Failed to retrieve credentials for container registry. Please provide the registry username and password') from ex - - registry_info = RegistryInfoModel - registry_info["registryUrl"] = registry_url - registry_info["registryUserName"] = registry_username - registry_info["registryPassword"] = registry_password - - github_action_configuration = GitHubActionConfiguration - github_action_configuration["registryInfo"] = registry_info - github_action_configuration["azureCredentials"] = azure_credentials - github_action_configuration["contextPath"] = context_path - github_action_configuration["image"] = image - - source_control_info["properties"]["githubActionConfiguration"] = github_action_configuration - - headers = ["x-ms-github-auxiliary={}".format(token)] - - try: - logger.warning("Creating Github action...") - r = GitHubActionClient.create_or_update(cmd=cmd, resource_group_name=resource_group_name, name=name, github_action_envelope=source_control_info, headers=headers, no_wait=no_wait) - if not no_wait: - await_github_action(cmd, token, repo, branch, name, resource_group_name) - return r - except Exception as e: - handle_raw_exception(e) - - -def show_github_action(cmd, name, resource_group_name): - try: - return GitHubActionClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - except Exception as e: - handle_raw_exception(e) - - -def delete_github_action(cmd, name, resource_group_name, token=None, login_with_github=False): - # Check if there is an existing source control to delete - try: - github_action_config = GitHubActionClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - except Exception as e: - handle_raw_exception(e) - - repo_url = github_action_config["properties"]["repoUrl"] - - if not token and not login_with_github: - raise_missing_token_suggestion() - elif not token: - scopes = ["admin:repo_hook", "repo", "workflow"] - token = get_github_access_token(cmd, scopes) - elif token and login_with_github: - logger.warning("Both token and --login-with-github flag are provided. Will use provided token") - - # Check if PAT can access repo - try: - # Verify github repo - from github import Github, GithubException - from github.GithubException import BadCredentialsException - - repo = None - repo = repo_url.split('/') - if len(repo) >= 2: - repo = '/'.join(repo[-2:]) - - if repo: - g = Github(token) - github_repo = None - try: - github_repo = g.get_repo(repo) - if not github_repo.permissions.push or not github_repo.permissions.maintain: - raise ValidationError("The token does not have appropriate access rights to repository {}.".format(repo)) - except BadCredentialsException as e: - raise CLIInternalError("Could not authenticate to the repository. Please create a Personal Access Token and use " - "the --token argument. Run 'az webapp deployment github-actions add --help' " - "for more information.") from e - except GithubException as e: - error_msg = "Encountered GitHub error when accessing {} repo".format(repo) - if e.data and e.data['message']: - error_msg += " Error: {}".format(e.data['message']) - raise CLIInternalError(error_msg) from e - except CLIError as clierror: - raise clierror - except Exception: - # If exception due to github package missing, etc just continue without validating the repo and rely on api validation - pass - - headers = ["x-ms-github-auxiliary={}".format(token)] - - try: - return GitHubActionClient.delete(cmd=cmd, resource_group_name=resource_group_name, name=name, headers=headers) - except Exception as e: - handle_raw_exception(e) - - -def list_revisions(cmd, name, resource_group_name): - try: - return ContainerAppClient.list_revisions(cmd=cmd, resource_group_name=resource_group_name, name=name) - except CLIError as e: - handle_raw_exception(e) - - -def show_revision(cmd, resource_group_name, revision_name, name=None): - if not name: - name = _get_app_from_revision(revision_name) - - try: - return ContainerAppClient.show_revision(cmd=cmd, resource_group_name=resource_group_name, container_app_name=name, name=revision_name) - except CLIError as e: - handle_raw_exception(e) - - -def restart_revision(cmd, resource_group_name, revision_name, name=None): - if not name: - name = _get_app_from_revision(revision_name) - - try: - return ContainerAppClient.restart_revision(cmd=cmd, resource_group_name=resource_group_name, container_app_name=name, name=revision_name) - except CLIError as e: - handle_raw_exception(e) - - -def activate_revision(cmd, resource_group_name, revision_name, name=None): - if not name: - name = _get_app_from_revision(revision_name) - - try: - return ContainerAppClient.activate_revision(cmd=cmd, resource_group_name=resource_group_name, container_app_name=name, name=revision_name) - except CLIError as e: - handle_raw_exception(e) - - -def deactivate_revision(cmd, resource_group_name, revision_name, name=None): - if not name: - name = _get_app_from_revision(revision_name) - - try: - return ContainerAppClient.deactivate_revision(cmd=cmd, resource_group_name=resource_group_name, container_app_name=name, name=revision_name) - except CLIError as e: - handle_raw_exception(e) - - -def copy_revision(cmd, - resource_group_name, - from_revision=None, - # label=None, - name=None, - yaml=None, - image=None, - container_name=None, - min_replicas=None, - max_replicas=None, - set_env_vars=None, - replace_env_vars=None, - remove_env_vars=None, - remove_all_env_vars=False, - cpu=None, - memory=None, - revision_suffix=None, - startup_command=None, - args=None, - tags=None, - no_wait=False): - _validate_subscription_registered(cmd, "Microsoft.App") - - if not name and not from_revision: - raise RequiredArgumentMissingError('Usage error: --name is required if not using --from-revision.') - - if not name: - name = _get_app_from_revision(from_revision) - - return update_containerapp_logic(cmd, - name, - resource_group_name, - yaml, - image, - container_name, - min_replicas, - max_replicas, - set_env_vars, - remove_env_vars, - replace_env_vars, - remove_all_env_vars, - cpu, - memory, - revision_suffix, - startup_command, - args, - tags, - no_wait, - from_revision) - - -def set_revision_mode(cmd, resource_group_name, name, mode, no_wait=False): - _validate_subscription_registered(cmd, "Microsoft.App") - - containerapp_def = None - try: - containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - except: - pass - - if not containerapp_def: - raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) - - containerapp_def["properties"]["configuration"]["activeRevisionsMode"] = mode.lower() - - _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) - - try: - r = ContainerAppClient.create_or_update( - cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_def, no_wait=no_wait) - return r["properties"]["configuration"]["activeRevisionsMode"] - except Exception as e: - handle_raw_exception(e) - - -def add_revision_label(cmd, resource_group_name, revision, label, name=None, no_wait=False): - _validate_subscription_registered(cmd, "Microsoft.App") - - if not name: - name = _get_app_from_revision(revision) - - containerapp_def = None - try: - containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - except: - pass - - if not containerapp_def: - raise ResourceNotFoundError(f"The containerapp '{name}' does not exist in group '{resource_group_name}'") - - if "ingress" not in containerapp_def['properties']['configuration'] and "traffic" not in containerapp_def['properties']['configuration']['ingress']: - raise ValidationError("Ingress and traffic weights are required to set labels.") - - traffic_weight = containerapp_def['properties']['configuration']['ingress']['traffic'] - - label_added = False - for weight in traffic_weight: - if "latestRevision" in weight: - if revision.lower() == "latest" and weight["latestRevision"]: - label_added = True - weight["label"] = label - break - else: - if revision.lower() == weight["revisionName"].lower(): - label_added = True - weight["label"] = label - break - - if not label_added: - raise ValidationError("Please specify a revision name with an associated traffic weight.") - - containerapp_patch_def = {} - containerapp_patch_def['properties'] = {} - containerapp_patch_def['properties']['configuration'] = {} - containerapp_patch_def['properties']['configuration']['ingress'] = {} - - containerapp_patch_def['properties']['configuration']['ingress']['traffic'] = traffic_weight - - try: - r = ContainerAppClient.update( - cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_patch_def, no_wait=no_wait) - return r['properties']['configuration']['ingress']['traffic'] - except Exception as e: - handle_raw_exception(e) - - -def remove_revision_label(cmd, resource_group_name, name, label, no_wait=False): - _validate_subscription_registered(cmd, "Microsoft.App") - - containerapp_def = None - try: - containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - except: - pass - - if not containerapp_def: - raise ResourceNotFoundError(f"The containerapp '{name}' does not exist in group '{resource_group_name}'") - - if "ingress" not in containerapp_def['properties']['configuration'] and "traffic" not in containerapp_def['properties']['configuration']['ingress']: - raise ValidationError("Ingress and traffic weights are required to set labels.") - - traffic_weight = containerapp_def['properties']['configuration']['ingress']['traffic'] - - label_removed = False - for weight in traffic_weight: - if "label" in weight and weight["label"].lower() == label.lower(): - label_removed = True - weight["label"] = None - break - if not label_removed: - raise ValidationError("Please specify a label name with an associated traffic weight.") - - containerapp_patch_def = {} - containerapp_patch_def['properties'] = {} - containerapp_patch_def['properties']['configuration'] = {} - containerapp_patch_def['properties']['configuration']['ingress'] = {} - - containerapp_patch_def['properties']['configuration']['ingress']['traffic'] = traffic_weight - - try: - r = ContainerAppClient.update( - cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_patch_def, no_wait=no_wait) - return r['properties']['configuration']['ingress']['traffic'] - except Exception as e: - handle_raw_exception(e) - - -def show_ingress(cmd, name, resource_group_name): - _validate_subscription_registered(cmd, "Microsoft.App") - - containerapp_def = None - try: - containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - except: - pass - - if not containerapp_def: - raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) - - try: - return containerapp_def["properties"]["configuration"]["ingress"] - except Exception as e: - raise ValidationError("The containerapp '{}' does not have ingress enabled.".format(name)) from e - - -def enable_ingress(cmd, name, resource_group_name, type, target_port, transport="auto", allow_insecure=False, disable_warnings=False, no_wait=False): # pylint: disable=redefined-builtin - _validate_subscription_registered(cmd, "Microsoft.App") - - containerapp_def = None - try: - containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - except: - pass - - if not containerapp_def: - raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) - - external_ingress = None - if type is not None: - if type.lower() == "internal": - external_ingress = False - elif type.lower() == "external": - external_ingress = True - - ingress_def = None - if target_port is not None and type is not None: - ingress_def = IngressModel - ingress_def["external"] = external_ingress - ingress_def["targetPort"] = target_port - ingress_def["transport"] = transport - ingress_def["allowInsecure"] = allow_insecure - - containerapp_def["properties"]["configuration"]["ingress"] = ingress_def - - _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) - - try: - r = ContainerAppClient.create_or_update( - cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_def, no_wait=no_wait) - not disable_warnings and logger.warning("\nIngress enabled. Access your app at https://{}/\n".format(r["properties"]["configuration"]["ingress"]["fqdn"])) - return r["properties"]["configuration"]["ingress"] - except Exception as e: - handle_raw_exception(e) - - -def disable_ingress(cmd, name, resource_group_name, no_wait=False): - _validate_subscription_registered(cmd, "Microsoft.App") - - containerapp_def = None - try: - containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - except: - pass - - if not containerapp_def: - raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) - - containerapp_def["properties"]["configuration"]["ingress"] = None - - _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) - - try: - ContainerAppClient.create_or_update( - cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_def, no_wait=no_wait) - logger.warning("Ingress has been disabled successfully.") - return - except Exception as e: - handle_raw_exception(e) - - -def set_ingress_traffic(cmd, name, resource_group_name, label_weights=None, revision_weights=None, no_wait=False): - _validate_subscription_registered(cmd, "Microsoft.App") - if not label_weights and not revision_weights: - raise ValidationError("Must specify either --label-weight or --revision-weight.") - - containerapp_def = None - try: - containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - except: - pass - - if not containerapp_def: - raise ResourceNotFoundError(f"The containerapp '{name}' does not exist in group '{resource_group_name}'") - - try: - containerapp_def["properties"]["configuration"]["ingress"] - containerapp_def["properties"]["configuration"]["ingress"]["traffic"] - except Exception as e: - raise ValidationError("Ingress must be enabled to set ingress traffic. Try running `az containerapp ingress -h` for more info.") from e - - if not revision_weights: - revision_weights = [] - - # convert label weights to appropriate revision name - _append_label_weights(containerapp_def, label_weights, revision_weights) - - # validate sum is less than 100 - _validate_traffic_sum(revision_weights) - - # update revision weights to containerapp, get the old weight sum - old_weight_sum = _update_revision_weights(containerapp_def, revision_weights) - - _update_weights(containerapp_def, revision_weights, old_weight_sum) - - containerapp_patch_def = {} - containerapp_patch_def['properties'] = {} - containerapp_patch_def['properties']['configuration'] = {} - containerapp_patch_def['properties']['configuration']['ingress'] = {} - containerapp_patch_def['properties']['configuration']['ingress']['traffic'] = containerapp_def["properties"]["configuration"]["ingress"]["traffic"] - - try: - r = ContainerAppClient.update( - cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_patch_def, no_wait=no_wait) - return r['properties']['configuration']['ingress']['traffic'] - except Exception as e: - handle_raw_exception(e) - - -def show_ingress_traffic(cmd, name, resource_group_name): - _validate_subscription_registered(cmd, "Microsoft.App") - - containerapp_def = None - try: - containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - except: - pass - - if not containerapp_def: - raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) - - try: - return containerapp_def["properties"]["configuration"]["ingress"]["traffic"] - except Exception as e: - raise ValidationError("Ingress must be enabled to show ingress traffic. Try running `az containerapp ingress -h` for more info.") from e - - -def show_registry(cmd, name, resource_group_name, server): - _validate_subscription_registered(cmd, "Microsoft.App") - - containerapp_def = None - try: - containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - except: - pass - - if not containerapp_def: - raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) - - try: - containerapp_def["properties"]["configuration"]["registries"] - except Exception as e: - raise ValidationError("The containerapp {} has no assigned registries.".format(name)) from e - - registries_def = containerapp_def["properties"]["configuration"]["registries"] - - for r in registries_def: - if r['server'].lower() == server.lower(): - return r - raise InvalidArgumentValueError("The containerapp {} does not have specified registry assigned.".format(name)) - - -def list_registry(cmd, name, resource_group_name): - _validate_subscription_registered(cmd, "Microsoft.App") - - containerapp_def = None - try: - containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - except: - pass - - if not containerapp_def: - raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) - - try: - return containerapp_def["properties"]["configuration"]["registries"] - except Exception as e: - raise ValidationError("The containerapp {} has no assigned registries.".format(name)) from e - - -def set_registry(cmd, name, resource_group_name, server, username=None, password=None, disable_warnings=False, no_wait=False): - _validate_subscription_registered(cmd, "Microsoft.App") - - containerapp_def = None - try: - containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - except: - pass - - if not containerapp_def: - raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) - - _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) - - registries_def = None - registry = None - - if "registries" not in containerapp_def["properties"]["configuration"]: - containerapp_def["properties"]["configuration"]["registries"] = [] - - registries_def = containerapp_def["properties"]["configuration"]["registries"] - - if not username or not password: - # If registry is Azure Container Registry, we can try inferring credentials - if '.azurecr.io' not in server: - raise RequiredArgumentMissingError('Registry username and password are required if you are not using Azure Container Registry.') - not disable_warnings and logger.warning('No credential was provided to access Azure Container Registry. Trying to look up...') - parsed = urlparse(server) - registry_name = (parsed.netloc if parsed.scheme else parsed.path).split('.')[0] - - try: - username, password, _ = _get_acr_cred(cmd.cli_ctx, registry_name) - except Exception as ex: - raise RequiredArgumentMissingError('Failed to retrieve credentials for container registry. Please provide the registry username and password') from ex - - # Check if updating existing registry - updating_existing_registry = False - for r in registries_def: - if r['server'].lower() == server.lower(): - not disable_warnings and logger.warning("Updating existing registry.") - updating_existing_registry = True - if username: - r["username"] = username - if password: - r["passwordSecretRef"] = store_as_secret_and_return_secret_ref( - containerapp_def["properties"]["configuration"]["secrets"], - r["username"], - r["server"], - password, - update_existing_secret=True) - - # If not updating existing registry, add as new registry - if not updating_existing_registry: - registry = RegistryCredentialsModel - registry["server"] = server - registry["username"] = username - registry["passwordSecretRef"] = store_as_secret_and_return_secret_ref( - containerapp_def["properties"]["configuration"]["secrets"], - username, - server, - password, - update_existing_secret=True) - - registries_def.append(registry) - - try: - r = ContainerAppClient.create_or_update( - cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_def, no_wait=no_wait) - - return r["properties"]["configuration"]["registries"] - except Exception as e: - handle_raw_exception(e) - - -def remove_registry(cmd, name, resource_group_name, server, no_wait=False): - _validate_subscription_registered(cmd, "Microsoft.App") - - containerapp_def = None - try: - containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - except: - pass - - if not containerapp_def: - raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) - - _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) - - registries_def = None - - try: - containerapp_def["properties"]["configuration"]["registries"] - except Exception as e: - raise ValidationError("The containerapp {} has no assigned registries.".format(name)) from e - - registries_def = containerapp_def["properties"]["configuration"]["registries"] - - wasRemoved = False - for i, value in enumerate(registries_def): - r = value - if r['server'].lower() == server.lower(): - registries_def.pop(i) - _remove_registry_secret(containerapp_def=containerapp_def, server=server, username=r["username"]) - wasRemoved = True - break - - if not wasRemoved: - raise ValidationError("Containerapp does not have registry server {} assigned.".format(server)) - - if len(containerapp_def["properties"]["configuration"]["registries"]) == 0: - containerapp_def["properties"]["configuration"].pop("registries") - - try: - r = ContainerAppClient.create_or_update( - cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_def, no_wait=no_wait) - logger.warning("Registry successfully removed.") - return r["properties"]["configuration"]["registries"] - # No registries to return, so return nothing - except Exception: - pass - - -def list_secrets(cmd, name, resource_group_name, show_values=False): - _validate_subscription_registered(cmd, "Microsoft.App") - - containerapp_def = None - try: - r = containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - except: - pass - - if not containerapp_def: - raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) - - if not show_values: - try: - return r["properties"]["configuration"]["secrets"] - except: - return [] - try: - return ContainerAppClient.list_secrets(cmd=cmd, resource_group_name=resource_group_name, name=name)["value"] - except Exception: - return [] - # raise ValidationError("The containerapp {} has no assigned secrets.".format(name)) from e - - -def show_secret(cmd, name, resource_group_name, secret_name): - _validate_subscription_registered(cmd, "Microsoft.App") - - containerapp_def = None - try: - containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - except: - pass - - if not containerapp_def: - raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) - - r = ContainerAppClient.list_secrets(cmd=cmd, resource_group_name=resource_group_name, name=name) - for secret in r["value"]: - if secret["name"].lower() == secret_name.lower(): - return secret - raise ValidationError("The containerapp {} does not have a secret assigned with name {}.".format(name, secret_name)) - - -def remove_secrets(cmd, name, resource_group_name, secret_names, no_wait=False): - _validate_subscription_registered(cmd, "Microsoft.App") - - containerapp_def = None - try: - containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - except: - pass - - if not containerapp_def: - raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) - - _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) - - for secret_name in secret_names: - wasRemoved = False - for secret in containerapp_def["properties"]["configuration"]["secrets"]: - if secret["name"].lower() == secret_name.lower(): - _remove_secret(containerapp_def, secret_name=secret["name"]) - wasRemoved = True - break - if not wasRemoved: - raise ValidationError("The containerapp {} does not have a secret assigned with name {}.".format(name, secret_name)) - try: - r = ContainerAppClient.create_or_update( - cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_def, no_wait=no_wait) - logger.warning("Secret(s) successfully removed.") - try: - return r["properties"]["configuration"]["secrets"] - # No secrets to return - except: - pass - except Exception as e: - handle_raw_exception(e) - - -def set_secrets(cmd, name, resource_group_name, secrets, - # yaml=None, - no_wait=False): - _validate_subscription_registered(cmd, "Microsoft.App") - - for s in secrets: - if s: - parsed = s.split("=") - if parsed: - if len(parsed[0]) > MAXIMUM_SECRET_LENGTH: - raise ValidationError(f"Secret names cannot be longer than {MAXIMUM_SECRET_LENGTH}. " - f"Please shorten {parsed[0]}") - - # if not yaml and not secrets: - # raise RequiredArgumentMissingError('Usage error: --secrets is required if not using --yaml') - - # if not secrets: - # secrets = [] - - # if yaml: - # yaml_secrets = load_yaml_file(yaml).split(' ') - # try: - # parse_secret_flags(yaml_secrets) - # except: - # raise ValidationError("YAML secrets must be a list of secrets in key=value format, delimited by new line.") - # for secret in yaml_secrets: - # secrets.append(secret.strip()) - - containerapp_def = None - try: - containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - except: - pass - - if not containerapp_def: - raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) - - _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) - _add_or_update_secrets(containerapp_def, parse_secret_flags(secrets)) - - try: - r = ContainerAppClient.create_or_update( - cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_def, no_wait=no_wait) - logger.warning("Containerapp '{}' must be restarted in order for secret changes to take effect.".format(name)) - return r["properties"]["configuration"]["secrets"] - except Exception as e: - handle_raw_exception(e) - - -def enable_dapr(cmd, name, resource_group_name, dapr_app_id=None, dapr_app_port=None, dapr_app_protocol=None, no_wait=False): - _validate_subscription_registered(cmd, "Microsoft.App") - - containerapp_def = None - try: - containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - except: - pass - - if not containerapp_def: - raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) - - _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) - - if 'configuration' not in containerapp_def['properties']: - containerapp_def['properties']['configuration'] = {} - - if 'dapr' not in containerapp_def['properties']['configuration']: - containerapp_def['properties']['configuration']['dapr'] = {} - - if dapr_app_id: - containerapp_def['properties']['configuration']['dapr']['appId'] = dapr_app_id - - if dapr_app_port: - containerapp_def['properties']['configuration']['dapr']['appPort'] = dapr_app_port - - if dapr_app_protocol: - containerapp_def['properties']['configuration']['dapr']['appProtocol'] = dapr_app_protocol - - containerapp_def['properties']['configuration']['dapr']['enabled'] = True - - try: - r = ContainerAppClient.create_or_update( - cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_def, no_wait=no_wait) - return r["properties"]['configuration']['dapr'] - except Exception as e: - handle_raw_exception(e) - - -def disable_dapr(cmd, name, resource_group_name, no_wait=False): - _validate_subscription_registered(cmd, "Microsoft.App") - - containerapp_def = None - try: - containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - except: - pass - - if not containerapp_def: - raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) - - _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) - - if 'configuration' not in containerapp_def['properties']: - containerapp_def['properties']['configuration'] = {} - - if 'dapr' not in containerapp_def['properties']['configuration']: - containerapp_def['properties']['configuration']['dapr'] = {} - - containerapp_def['properties']['configuration']['dapr']['enabled'] = False - - try: - r = ContainerAppClient.create_or_update( - cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_def, no_wait=no_wait) - return r["properties"]['configuration']['dapr'] - except Exception as e: - handle_raw_exception(e) - - -def list_dapr_components(cmd, resource_group_name, environment_name): - _validate_subscription_registered(cmd, "Microsoft.App") - - return DaprComponentClient.list(cmd, resource_group_name, environment_name) - - -def show_dapr_component(cmd, resource_group_name, dapr_component_name, environment_name): - _validate_subscription_registered(cmd, "Microsoft.App") - - return DaprComponentClient.show(cmd, resource_group_name, environment_name, name=dapr_component_name) - - -def create_or_update_dapr_component(cmd, resource_group_name, environment_name, dapr_component_name, yaml): - _validate_subscription_registered(cmd, "Microsoft.App") - - yaml_containerapp = load_yaml_file(yaml) - if type(yaml_containerapp) != dict: # pylint: disable=unidiomatic-typecheck - raise ValidationError('Invalid YAML provided. Please see https://aka.ms/azure-container-apps-yaml for a valid containerapps YAML spec.') - - # Deserialize the yaml into a DaprComponent object. Need this since we're not using SDK - daprcomponent_def = None - try: - deserializer = create_deserializer() - - daprcomponent_def = deserializer('DaprComponent', yaml_containerapp) - except DeserializationError as ex: - raise ValidationError('Invalid YAML provided. Please see https://aka.ms/azure-container-apps-yaml for a valid containerapps YAML spec.') from ex - - daprcomponent_def = _convert_object_from_snake_to_camel_case(_object_to_dict(daprcomponent_def)) - - # Remove "additionalProperties" and read-only attributes that are introduced in the deserialization. Need this since we're not using SDK - _remove_additional_attributes(daprcomponent_def) - _remove_dapr_readonly_attributes(daprcomponent_def) - - if not daprcomponent_def["ignoreErrors"]: - daprcomponent_def["ignoreErrors"] = False - - dapr_component_envelope = {} - - dapr_component_envelope["properties"] = daprcomponent_def - - try: - r = DaprComponentClient.create_or_update(cmd, resource_group_name=resource_group_name, environment_name=environment_name, dapr_component_envelope=dapr_component_envelope, name=dapr_component_name) - return r - except Exception as e: - handle_raw_exception(e) - - -def remove_dapr_component(cmd, resource_group_name, dapr_component_name, environment_name): - _validate_subscription_registered(cmd, "Microsoft.App") - - try: - DaprComponentClient.show(cmd, resource_group_name, environment_name, name=dapr_component_name) - except Exception as e: - raise ResourceNotFoundError("Dapr component not found.") from e - - try: - r = DaprComponentClient.delete(cmd, resource_group_name, environment_name, name=dapr_component_name) - logger.warning("Dapr componenet successfully deleted.") - return r - except Exception as e: - handle_raw_exception(e) - - -def list_replicas(cmd, resource_group_name, name, revision=None): - app = ContainerAppClient.show(cmd, resource_group_name, name) - if not revision: - revision = app["properties"]["latestRevisionName"] - return ContainerAppClient.list_replicas(cmd=cmd, - resource_group_name=resource_group_name, - container_app_name=name, - revision_name=revision) - - -def get_replica(cmd, resource_group_name, name, replica, revision=None): - app = ContainerAppClient.show(cmd, resource_group_name, name) - if not revision: - revision = app["properties"]["latestRevisionName"] - return ContainerAppClient.get_replica(cmd=cmd, - resource_group_name=resource_group_name, - container_app_name=name, - revision_name=revision, - replica_name=replica) - - -def containerapp_ssh(cmd, resource_group_name, name, container=None, revision=None, replica=None, startup_command="sh"): - if isinstance(startup_command, list): - startup_command = startup_command[0] # CLI seems a little buggy when calling a param "--command" - - conn = WebSocketConnection(cmd=cmd, resource_group_name=resource_group_name, name=name, revision=revision, - replica=replica, container=container, startup_command=startup_command) - - encodings = [SSH_DEFAULT_ENCODING, SSH_BACKUP_ENCODING] - reader = threading.Thread(target=read_ssh, args=(conn, encodings)) - reader.daemon = True - reader.start() - - writer = get_stdin_writer(conn) - writer.daemon = True - writer.start() - - logger.warning("Use ctrl + D to exit.") - while conn.is_connected: - try: - time.sleep(0.1) - except KeyboardInterrupt: - if conn.is_connected: - logger.info("Caught KeyboardInterrupt. Sending ctrl+c to server") - conn.send(SSH_CTRL_C_MSG) - - -def stream_containerapp_logs(cmd, resource_group_name, name, container=None, revision=None, replica=None, follow=False, - tail=None, output_format=None): - if tail: - if tail < 0 or tail > 300: - raise ValidationError("--tail must be between 0 and 300.") - - sub = get_subscription_id(cmd.cli_ctx) - token_response = ContainerAppClient.get_auth_token(cmd, resource_group_name, name) - token = token_response["properties"]["token"] - logstream_endpoint = token_response["properties"]["logStreamEndpoint"] - base_url = logstream_endpoint[:logstream_endpoint.index("/subscriptions/")] - - url = (f"{base_url}/subscriptions/{sub}/resourceGroups/{resource_group_name}/containerApps/{name}" - f"/revisions/{revision}/replicas/{replica}/containers/{container}/logstream") - - logger.info("connecting to : %s", url) - request_params = {"follow": str(follow).lower(), "output": output_format, "tailLines": tail} - headers = {"Authorization": f"Bearer {token}"} - resp = requests.get(url, timeout=None, stream=True, params=request_params, headers=headers) - - if not resp.ok: - ValidationError(f"Got bad status from the logstream API: {resp.status_code}") - - for line in resp.iter_lines(): - if line: - logger.info("received raw log line: %s", line) - # these .replaces are needed to display color/quotations properly - # for some reason the API returns garbled unicode special characters (may need to add more in the future) - print(line.decode("utf-8").replace("\\u0022", "\u0022").replace("\\u001B", "\u001B").replace("\\u002B", "\u002B").replace("\\u0027", "\u0027")) - - -def open_containerapp_in_browser(cmd, name, resource_group_name): - app = ContainerAppClient.show(cmd, resource_group_name, name) - url = safe_get(app, "properties", "configuration", "ingress", "fqdn") - if not url: - raise ValidationError("Could not open in browser: no public URL for this app") - if not url.startswith("http"): - url = f"http://{url}" - open_page_in_browser(url) - - -def containerapp_up(cmd, - name, - resource_group_name=None, - managed_env=None, - location=None, - registry_server=None, - image=None, - source=None, - ingress=None, - target_port=None, - registry_user=None, - registry_pass=None, - env_vars=None, - logs_customer_id=None, - logs_key=None, - repo=None, - token=None, - branch=None, - browse=False, - context_path=None, - service_principal_client_id=None, - service_principal_client_secret=None, - service_principal_tenant_id=None): - from ._up_utils import (_validate_up_args, _reformat_image, _get_dockerfile_content, _get_ingress_and_target_port, - ResourceGroup, ContainerAppEnvironment, ContainerApp, _get_registry_from_app, - _get_registry_details, _create_github_action, _set_up_defaults, up_output, - check_env_name_on_rg, get_token) - from ._github_oauth import cache_github_token - HELLOWORLD = "mcr.microsoft.com/azuredocs/containerapps-helloworld" - dockerfile = "Dockerfile" # for now the dockerfile name must be "Dockerfile" (until GH actions API is updated) - - _validate_up_args(cmd, source, image, repo, registry_server) - validate_container_app_name(name) - check_env_name_on_rg(cmd, managed_env, resource_group_name, location) - - image = _reformat_image(source, repo, image) - token = get_token(cmd, repo, token) - - if image and HELLOWORLD in image.lower(): - ingress = "external" if not ingress else ingress - target_port = 80 if not target_port else target_port - - if image: - if ingress and not target_port: - target_port = 80 - logger.warning("No ingress provided, defaulting to port 80. Try `az containerapp up --ingress %s --target-port ` to set a custom port.", ingress) - - dockerfile_content = _get_dockerfile_content(repo, branch, token, source, context_path, dockerfile) - ingress, target_port = _get_ingress_and_target_port(ingress, target_port, dockerfile_content) - - resource_group = ResourceGroup(cmd, name=resource_group_name, location=location) - env = ContainerAppEnvironment(cmd, managed_env, resource_group, location=location, logs_key=logs_key, logs_customer_id=logs_customer_id) - app = ContainerApp(cmd, name, resource_group, None, image, env, target_port, registry_server, registry_user, registry_pass, env_vars, ingress) - - _set_up_defaults(cmd, name, resource_group_name, logs_customer_id, location, resource_group, env, app) - - if app.check_exists(): - if app.get()["properties"]["provisioningState"] == "InProgress": - raise ValidationError("Containerapp has an existing provisioning in progress. Please wait until provisioning has completed and rerun the command.") - - resource_group.create_if_needed() - env.create_if_needed(name) - - if source or repo: - _get_registry_from_app(app) # if the app exists, get the registry - _get_registry_details(cmd, app, source) # fetch ACR creds from arguments registry arguments - - app.create_acr_if_needed() - - if source: - app.run_acr_build(dockerfile, source, False) - - app.create(no_registry=bool(repo)) - if repo: - _create_github_action(app, env, service_principal_client_id, service_principal_client_secret, - service_principal_tenant_id, branch, token, repo, context_path) - cache_github_token(cmd, token, repo) - - if browse: - open_containerapp_in_browser(cmd, app.name, app.resource_group.name) - - up_output(app) - - -def containerapp_up_logic(cmd, resource_group_name, name, managed_env, image, env_vars, ingress, target_port, registry_server, registry_user, registry_pass): - containerapp_def = None - try: - containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - except: - pass - - try: - location = ManagedEnvironmentClient.show(cmd, resource_group_name, managed_env.split('/')[-1])["location"] - except: - pass - - ca_exists = False - if containerapp_def: - ca_exists = True - - # When using repo, image is not passed, so we have to assign it a value (will be overwritten with gh-action) - if image is None: - image = "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest" - - if not ca_exists: - containerapp_def = None - containerapp_def = ContainerAppModel - containerapp_def["location"] = location - containerapp_def["properties"]["managedEnvironmentId"] = managed_env - containerapp_def["properties"]["configuration"] = ConfigurationModel - else: - # check provisioning state here instead of secrets so no error - _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) - - container = ContainerModel - container["image"] = image - container["name"] = name - - if env_vars: - container["env"] = parse_env_var_flags(env_vars) - - external_ingress = None - if ingress is not None: - if ingress.lower() == "internal": - external_ingress = False - elif ingress.lower() == "external": - external_ingress = True - - ingress_def = None - if target_port is not None and ingress is not None: - ingress_def = IngressModel - ingress_def["external"] = external_ingress - ingress_def["targetPort"] = target_port - containerapp_def["properties"]["configuration"]["ingress"] = ingress_def - - # handle multi-container case - if ca_exists: - existing_containers = containerapp_def["properties"]["template"]["containers"] - if len(existing_containers) == 0: - # No idea how this would ever happen, failed provisioning maybe? - containerapp_def["properties"]["template"] = TemplateModel - containerapp_def["properties"]["template"]["containers"] = [container] - if len(existing_containers) == 1: - # Assume they want it updated - existing_containers[0] = container - if len(existing_containers) > 1: - # Assume they want to update, if not existing just add it - existing_containers = [x for x in existing_containers if x['name'].lower() == name.lower()] - if len(existing_containers) == 1: - existing_containers[0] = container - else: - existing_containers.append(container) - containerapp_def["properties"]["template"]["containers"] = existing_containers - else: - containerapp_def["properties"]["template"] = TemplateModel - containerapp_def["properties"]["template"]["containers"] = [container] - - registries_def = None - registry = None - - if "secrets" not in containerapp_def["properties"]["configuration"] or containerapp_def["properties"]["configuration"]["secrets"] is None: - containerapp_def["properties"]["configuration"]["secrets"] = [] - - if "registries" not in containerapp_def["properties"]["configuration"] or containerapp_def["properties"]["configuration"]["registries"] is None: - containerapp_def["properties"]["configuration"]["registries"] = [] - - registries_def = containerapp_def["properties"]["configuration"]["registries"] - - if registry_server: - if not registry_pass or not registry_user: - if '.azurecr.io' not in registry_server: - raise RequiredArgumentMissingError('Registry url is required if using Azure Container Registry, otherwise Registry username and password are required if using Dockerhub') - logger.warning('No credential was provided to access Azure Container Registry. Trying to look up...') - parsed = urlparse(registry_server) - registry_name = (parsed.netloc if parsed.scheme else parsed.path).split('.')[0] - registry_user, registry_pass, _ = _get_acr_cred(cmd.cli_ctx, registry_name) - # Check if updating existing registry - updating_existing_registry = False - for r in registries_def: - if r['server'].lower() == registry_server.lower(): - updating_existing_registry = True - if registry_user: - r["username"] = registry_user - if registry_pass: - r["passwordSecretRef"] = store_as_secret_and_return_secret_ref( - containerapp_def["properties"]["configuration"]["secrets"], - r["username"], - r["server"], - registry_pass, - update_existing_secret=True, - disable_warnings=True) - - # If not updating existing registry, add as new registry - if not updating_existing_registry: - registry = RegistryCredentialsModel - registry["server"] = registry_server - registry["username"] = registry_user - registry["passwordSecretRef"] = store_as_secret_and_return_secret_ref( - containerapp_def["properties"]["configuration"]["secrets"], - registry_user, - registry_server, - registry_pass, - update_existing_secret=True, - disable_warnings=True) - - registries_def.append(registry) - - try: - if ca_exists: - return ContainerAppClient.update(cmd, resource_group_name, name, containerapp_def) - return ContainerAppClient.create_or_update(cmd, resource_group_name, name, containerapp_def) - except Exception as e: - handle_raw_exception(e) - - -def show_storage(cmd, name, storage_name, resource_group_name): - _validate_subscription_registered(cmd, "Microsoft.App") - - try: - return StorageClient.show(cmd, resource_group_name, name, storage_name) - except CLIError as e: - handle_raw_exception(e) - - -def list_storage(cmd, name, resource_group_name): - _validate_subscription_registered(cmd, "Microsoft.App") - - try: - return StorageClient.list(cmd, resource_group_name, name) - except CLIError as e: - handle_raw_exception(e) - - -def create_or_update_storage(cmd, storage_name, resource_group_name, name, azure_file_account_name, azure_file_share_name, azure_file_account_key, access_mode, no_wait=False): # pylint: disable=redefined-builtin - _validate_subscription_registered(cmd, "Microsoft.App") - - if len(azure_file_share_name) < 3: - raise ValidationError("File share name must be longer than 2 characters.") - - if len(azure_file_account_name) < 3: - raise ValidationError("Account name must be longer than 2 characters.") - - r = None - - try: - r = StorageClient.show(cmd, resource_group_name, name, storage_name) - except: - pass - - if r: - logger.warning("Only AzureFile account keys can be updated. In order to change the AzureFile share name or account name, please delete this storage and create a new one.") - - storage_def = AzureFilePropertiesModel - storage_def["accountKey"] = azure_file_account_key - storage_def["accountName"] = azure_file_account_name - storage_def["shareName"] = azure_file_share_name - storage_def["accessMode"] = access_mode - storage_envelope = {} - storage_envelope["properties"] = {} - storage_envelope["properties"]["azureFile"] = storage_def - - try: - return StorageClient.create_or_update(cmd, resource_group_name, name, storage_name, storage_envelope, no_wait) - except CLIError as e: - handle_raw_exception(e) - - -def remove_storage(cmd, storage_name, name, resource_group_name, no_wait=False): - _validate_subscription_registered(cmd, "Microsoft.App") - - try: - return StorageClient.delete(cmd, resource_group_name, name, storage_name, no_wait) - except CLIError as e: - handle_raw_exception(e) diff --git a/src/containerapp-compose/setup.py b/src/containerapp-compose/setup.py index 8f863a41cd0..451923f82d5 100644 --- a/src/containerapp-compose/setup.py +++ b/src/containerapp-compose/setup.py @@ -32,7 +32,7 @@ 'License :: OSI Approved :: MIT License', ] -DEPENDENCIES = ['pycomposefile>=0.0.26'] +DEPENDENCIES = ['azure-cli-core', 'pycomposefile>=0.0.26'] with open('README.rst', 'r', encoding='utf-8') as f: README = f.read() From 75b87d6d2f2f4e2d71265828f69d640702231873 Mon Sep 17 00:00:00 2001 From: Steven Murawski Date: Wed, 1 Jun 2022 17:29:33 +0000 Subject: [PATCH 17/17] update tests to pre-install the az containerapp extension --- .../tests/latest/common.py | 26 ++++++++ .../latest/test_containerapp_preview_basic.py | 21 +++--- .../test_containerapp_preview_command.py | 37 +++++------ .../test_containerapp_preview_environment.py | 31 ++++----- .../test_containerapp_preview_ingress.py | 51 +++++++-------- .../test_containerapp_preview_registries.py | 31 ++++----- .../test_containerapp_preview_resources.py | 37 +++++------ .../latest/test_containerapp_preview_scale.py | 29 ++++----- .../test_containerapp_preview_secrets.py | 64 ++++++++----------- ...ontainerapp_preview_transport_overrides.py | 21 +++--- src/containerapp-compose/setup.py | 2 +- 11 files changed, 167 insertions(+), 183 deletions(-) create mode 100644 src/containerapp-compose/azext_containerapp_compose/tests/latest/common.py diff --git a/src/containerapp-compose/azext_containerapp_compose/tests/latest/common.py b/src/containerapp-compose/azext_containerapp_compose/tests/latest/common.py new file mode 100644 index 00000000000..2a4a05e4207 --- /dev/null +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/common.py @@ -0,0 +1,26 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +import os +from azure.cli.testsdk import (ScenarioTest) + +TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) + + +def write_test_file(filename, content): + test_file = open(filename, "w", encoding='utf-8') + _ = test_file.write(content) + test_file.close() + + +def clean_up_test_file(filename): + if os.path.exists(filename): + os.remove(filename) + + +class ContainerappComposePreviewScenarioTest(ScenarioTest): + def setUp(self): + self.cmd("extension add --name containerapp") + return super().setUp() diff --git a/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_basic.py b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_basic.py index 63615f4bed8..9f7737abe8b 100644 --- a/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_basic.py +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_basic.py @@ -3,17 +3,19 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- -import os import unittest # pylint: disable=unused-import -from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) +from azure.cli.testsdk import (ResourceGroupPreparer) +from azure.cli.testsdk.decorators import serial_test +from azext_containerapp_compose.tests.latest.common import (ContainerappComposePreviewScenarioTest, # pylint: disable=unused-import + write_test_file, + clean_up_test_file, + TEST_DIR) -TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) - - -class ContainerappComposePreviewScenarioTest(ScenarioTest): +class ContainerappComposeBaseScenarioTest(ContainerappComposePreviewScenarioTest): + @serial_test() @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') def test_containerapp_compose_create_basic_no_existing_resources(self, resource_group): compose_text = """ @@ -22,9 +24,7 @@ def test_containerapp_compose_create_basic_no_existing_resources(self, resource_ image: smurawski/printenv:latest """ compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() + write_test_file(compose_file_name, compose_text) self.kwargs.update({ 'environment': self.create_random_name(prefix='containerapp-compose', length=24), @@ -42,5 +42,4 @@ def test_containerapp_compose_create_basic_no_existing_resources(self, resource_ self.check('[] | length(@)', 1), ]) - if os.path.exists(compose_file_name): - os.remove(compose_file_name) + clean_up_test_file(compose_file_name) diff --git a/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_command.py b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_command.py index 4a913d69e35..30392dd9603 100644 --- a/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_command.py +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_command.py @@ -3,16 +3,18 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- -import os import unittest # pylint: disable=unused-import -from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) +from azure.cli.testsdk import (ResourceGroupPreparer) +from azure.cli.testsdk.decorators import serial_test +from azext_containerapp_compose.tests.latest.common import (ContainerappComposePreviewScenarioTest, # pylint: disable=unused-import + write_test_file, + clean_up_test_file, + TEST_DIR) -TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) - - -class ContainerappComposePreviewCommandScenarioTest(ScenarioTest): +class ContainerappComposePreviewCommandScenarioTest(ContainerappComposePreviewScenarioTest): + @serial_test() @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') def test_containerapp_compose_with_command_string(self, resource_group): compose_text = """ @@ -24,9 +26,7 @@ def test_containerapp_compose_with_command_string(self, resource_group): - "5000" """ compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() + write_test_file(compose_file_name, compose_text) self.kwargs.update({ 'environment': self.create_random_name(prefix='containerapp-compose', length=24), @@ -43,9 +43,9 @@ def test_containerapp_compose_with_command_string(self, resource_group): self.check('[?name==`foo`].properties.template.containers[0].command[0]', "['echo \"hello world\"']"), ]) - if os.path.exists(compose_file_name): - os.remove(compose_file_name) + clean_up_test_file(compose_file_name) + @serial_test() @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') def test_containerapp_compose_with_command_list(self, resource_group): compose_text = """ @@ -57,9 +57,7 @@ def test_containerapp_compose_with_command_list(self, resource_group): - "5000" """ compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() + write_test_file(compose_file_name, compose_text) self.kwargs.update({ 'environment': self.create_random_name(prefix='containerapp-compose', length=24), @@ -76,9 +74,9 @@ def test_containerapp_compose_with_command_list(self, resource_group): self.check('[?name==`foo`].properties.template.containers[0].command[0]', "['echo \"hello world\"']"), ]) - if os.path.exists(compose_file_name): - os.remove(compose_file_name) + clean_up_test_file(compose_file_name) + @serial_test() @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') def test_containerapp_compose_with_command_list_and_entrypoint(self, resource_group): compose_text = """ @@ -91,9 +89,7 @@ def test_containerapp_compose_with_command_list_and_entrypoint(self, resource_gr - "5000" """ compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() + write_test_file(compose_file_name, compose_text) self.kwargs.update({ 'environment': self.create_random_name(prefix='containerapp-compose', length=24), @@ -111,5 +107,4 @@ def test_containerapp_compose_with_command_list_and_entrypoint(self, resource_gr self.check('[?name==`foo`].properties.template.containers[0].args[0]', "['echo \"hello world\"']"), ]) - if os.path.exists(compose_file_name): - os.remove(compose_file_name) + clean_up_test_file(compose_file_name) diff --git a/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_environment.py b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_environment.py index 569c8348821..6ce64accc3a 100644 --- a/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_environment.py +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_environment.py @@ -3,16 +3,18 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- -import os import unittest # pylint: disable=unused-import -from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) +from azure.cli.testsdk import (ResourceGroupPreparer) +from azure.cli.testsdk.decorators import serial_test +from azext_containerapp_compose.tests.latest.common import (ContainerappComposePreviewScenarioTest, # pylint: disable=unused-import + write_test_file, + clean_up_test_file, + TEST_DIR) -TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) - - -class ContainerappComposePreviewEnvironmentSettingsScenarioTest(ScenarioTest): +class ContainerappComposePreviewEnvironmentSettingsScenarioTest(ContainerappComposePreviewScenarioTest): + @serial_test() @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') def test_containerapp_compose_create_with_environment(self, resource_group): compose_text = """ @@ -25,9 +27,7 @@ def test_containerapp_compose_create_with_environment(self, resource_group): - BAZ="snafu" """ compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() + write_test_file(compose_file_name, compose_text) self.kwargs.update({ 'environment': self.create_random_name(prefix='containerapp-compose', length=24), @@ -49,11 +49,11 @@ def test_containerapp_compose_create_with_environment(self, resource_group): self.check('[?name==`foo`].properties.template.containers[0].env[2].value', ['"snafu"']) ]) - if os.path.exists(compose_file_name): - os.remove(compose_file_name) + clean_up_test_file(compose_file_name) -class ContainerappComposePreviewEnvironmentSettingsExpectedExceptionScenarioTest(ScenarioTest): +class ContainerappComposePreviewEnvironmentSettingsExpectedExceptionScenarioTest(ContainerappComposePreviewScenarioTest): # pylint: disable=line-too-long + @serial_test() @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') def test_containerapp_compose_create_with_environment_prompt(self, resource_group): compose_text = """ @@ -64,9 +64,7 @@ def test_containerapp_compose_create_with_environment_prompt(self, resource_grou - LOREM= """ compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() + write_test_file(compose_file_name, compose_text) self.kwargs.update({ 'environment': self.create_random_name(prefix='containerapp-compose', length=24), @@ -83,5 +81,4 @@ def test_containerapp_compose_create_with_environment_prompt(self, resource_grou # This test fails because prompts are not supported in NoTTY environments self.cmd(command_string, expect_failure=True) - if os.path.exists(compose_file_name): - os.remove(compose_file_name) + clean_up_test_file(compose_file_name) diff --git a/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_ingress.py b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_ingress.py index 28e23e0ac5a..71ebb8dc20c 100644 --- a/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_ingress.py +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_ingress.py @@ -3,16 +3,18 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- -import os import unittest # pylint: disable=unused-import -from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) +from azure.cli.testsdk import (ResourceGroupPreparer) +from azure.cli.testsdk.decorators import serial_test +from azext_containerapp_compose.tests.latest.common import (ContainerappComposePreviewScenarioTest, # pylint: disable=unused-import + write_test_file, + clean_up_test_file, + TEST_DIR) -TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) - - -class ContainerappComposePreviewIngressScenarioTest(ScenarioTest): +class ContainerappComposePreviewIngressScenarioTest(ContainerappComposePreviewScenarioTest): + @serial_test() @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') def test_containerapp_compose_create_with_ingress_external(self, resource_group): compose_text = """ @@ -22,9 +24,7 @@ def test_containerapp_compose_create_with_ingress_external(self, resource_group) ports: 8080:80 """ compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() + write_test_file(compose_file_name, compose_text) self.kwargs.update({ 'environment': self.create_random_name(prefix='containerapp-compose', length=24), @@ -42,11 +42,11 @@ def test_containerapp_compose_create_with_ingress_external(self, resource_group) self.check('[?name==`foo`].properties.configuration.ingress.external', [True]), ]) - if os.path.exists(compose_file_name): - os.remove(compose_file_name) + clean_up_test_file(compose_file_name) -class ContainerappComposePreviewIngressInternalScenarioTest(ScenarioTest): +class ContainerappComposePreviewIngressInternalScenarioTest(ContainerappComposePreviewScenarioTest): + @serial_test() @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') def test_containerapp_compose_create_with_ingress_internal(self, resource_group): compose_text = """ @@ -57,9 +57,7 @@ def test_containerapp_compose_create_with_ingress_internal(self, resource_group) - "3000" """ compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() + write_test_file(compose_file_name, compose_text) self.kwargs.update({ 'environment': self.create_random_name(prefix='containerapp-compose', length=24), @@ -77,11 +75,11 @@ def test_containerapp_compose_create_with_ingress_internal(self, resource_group) self.check('[?name==`foo`].properties.configuration.ingress.external', [False]), ]) - if os.path.exists(compose_file_name): - os.remove(compose_file_name) + clean_up_test_file(compose_file_name) -class ContainerappComposePreviewIngressBothScenarioTest(ScenarioTest): +class ContainerappComposePreviewIngressBothScenarioTest(ContainerappComposePreviewScenarioTest): + @serial_test() @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') def test_containerapp_compose_create_with_ingress_both(self, resource_group): compose_text = """ @@ -93,9 +91,7 @@ def test_containerapp_compose_create_with_ingress_both(self, resource_group): - "5000" """ compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() + write_test_file(compose_file_name, compose_text) self.kwargs.update({ 'environment': self.create_random_name(prefix='containerapp-compose', length=24), @@ -113,11 +109,11 @@ def test_containerapp_compose_create_with_ingress_both(self, resource_group): self.check('[?name==`foo`].properties.configuration.ingress.external', [True]), ]) - if os.path.exists(compose_file_name): - os.remove(compose_file_name) + clean_up_test_file(compose_file_name) -class ContainerappComposePreviewIngressPromptScenarioTest(ScenarioTest): +class ContainerappComposePreviewIngressPromptScenarioTest(ContainerappComposePreviewScenarioTest): + @serial_test() @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') def test_containerapp_compose_create_with_ingress_prompt(self, resource_group): compose_text = """ @@ -134,9 +130,7 @@ def test_containerapp_compose_create_with_ingress_prompt(self, resource_group): - "443" """ compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() + write_test_file(compose_file_name, compose_text) self.kwargs.update({ 'environment': self.create_random_name(prefix='containerapp-compose', length=24), @@ -153,5 +147,4 @@ def test_containerapp_compose_create_with_ingress_prompt(self, resource_group): # This test fails because prompts are not supported in NoTTY environments self.cmd(command_string, expect_failure=True) - if os.path.exists(compose_file_name): - os.remove(compose_file_name) + clean_up_test_file(compose_file_name) diff --git a/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_registries.py b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_registries.py index 2fe7948b14c..6f4fd764e4f 100644 --- a/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_registries.py +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_registries.py @@ -3,16 +3,18 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- -import os import unittest # pylint: disable=unused-import -from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) +from azure.cli.testsdk import (ResourceGroupPreparer) +from azure.cli.testsdk.decorators import serial_test +from azext_containerapp_compose.tests.latest.common import (ContainerappComposePreviewScenarioTest, # pylint: disable=unused-import + write_test_file, + clean_up_test_file, + TEST_DIR) -TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) - - -class ContainerappComposePreviewRegistryAllArgsScenarioTest(ScenarioTest): +class ContainerappComposePreviewRegistryAllArgsScenarioTest(ContainerappComposePreviewScenarioTest): + @serial_test() @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') def test_containerapp_compose_create_with_registry_all_args(self, resource_group): compose_text = """ @@ -22,9 +24,7 @@ def test_containerapp_compose_create_with_registry_all_args(self, resource_group ports: 8080:80 """ compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() + write_test_file(compose_file_name, compose_text) self.kwargs.update({ 'environment': self.create_random_name(prefix='containerapp-compose', length=24), @@ -50,11 +50,11 @@ def test_containerapp_compose_create_with_registry_all_args(self, resource_group self.check('[?name==`foo`].properties.configuration.registries[0].passwordSecretRef', ["foobarazurecrio-foobar"]), # pylint: disable=C0301 ]) - if os.path.exists(compose_file_name): - os.remove(compose_file_name) + clean_up_test_file(compose_file_name) -class ContainerappComposePreviewRegistryServerArgOnlyScenarioTest(ScenarioTest): +class ContainerappComposePreviewRegistryServerArgOnlyScenarioTest(ContainerappComposePreviewScenarioTest): + @serial_test() @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') def test_containerapp_compose_create_with_registry_server_arg_only(self, resource_group): compose_text = """ @@ -64,9 +64,7 @@ def test_containerapp_compose_create_with_registry_server_arg_only(self, resourc ports: 8080:80 """ compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() + write_test_file(compose_file_name, compose_text) self.kwargs.update({ 'environment': self.create_random_name(prefix='containerapp-compose', length=24), @@ -85,5 +83,4 @@ def test_containerapp_compose_create_with_registry_server_arg_only(self, resourc # This test fails because prompts are not supported in NoTTY environments self.cmd(command_string, expect_failure=True) - if os.path.exists(compose_file_name): - os.remove(compose_file_name) + clean_up_test_file(compose_file_name) diff --git a/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_resources.py b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_resources.py index c9e99de17fa..dad05925812 100644 --- a/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_resources.py +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_resources.py @@ -3,16 +3,18 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- -import os import unittest # pylint: disable=unused-import -from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) +from azure.cli.testsdk import (ResourceGroupPreparer) +from azure.cli.testsdk.decorators import serial_test +from azext_containerapp_compose.tests.latest.common import (ContainerappComposePreviewScenarioTest, # pylint: disable=unused-import + write_test_file, + clean_up_test_file, + TEST_DIR) -TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) - - -class ContainerappComposePreviewResourceSettingsScenarioTest(ScenarioTest): +class ContainerappComposePreviewResourceSettingsScenarioTest(ContainerappComposePreviewScenarioTest): + @serial_test() @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') def test_containerapp_compose_create_with_resources_from_service_cpus(self, resource_group): compose_text = """ @@ -24,9 +26,7 @@ def test_containerapp_compose_create_with_resources_from_service_cpus(self, reso - "3000" """ compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() + write_test_file(compose_file_name, compose_text) self.kwargs.update({ 'environment': self.create_random_name(prefix='containerapp-compose', length=24), @@ -43,9 +43,9 @@ def test_containerapp_compose_create_with_resources_from_service_cpus(self, reso self.check('[?name==`foo`].properties.template.containers[0].resources.cpu', [1.25]), ]) - if os.path.exists(compose_file_name): - os.remove(compose_file_name) + clean_up_test_file(compose_file_name) + @serial_test() @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') def test_containerapp_compose_create_with_resources_from_deploy_cpu(self, resource_group): compose_text = """ @@ -60,9 +60,7 @@ def test_containerapp_compose_create_with_resources_from_deploy_cpu(self, resour - "3000" """ compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() + write_test_file(compose_file_name, compose_text) self.kwargs.update({ 'environment': self.create_random_name(prefix='containerapp-compose', length=24), @@ -79,9 +77,9 @@ def test_containerapp_compose_create_with_resources_from_deploy_cpu(self, resour self.check('[?name==`foo`].properties.template.containers[0].resources.cpu', [1.25]), ]) - if os.path.exists(compose_file_name): - os.remove(compose_file_name) + clean_up_test_file(compose_file_name) + @serial_test() @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') def test_containerapp_compose_create_with_resources_from_both_cpus_and_deploy_cpu(self, resource_group): compose_text = """ @@ -97,9 +95,7 @@ def test_containerapp_compose_create_with_resources_from_both_cpus_and_deploy_cp - "3000" """ compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() + write_test_file(compose_file_name, compose_text) self.kwargs.update({ 'environment': self.create_random_name(prefix='containerapp-compose', length=24), @@ -116,5 +112,4 @@ def test_containerapp_compose_create_with_resources_from_both_cpus_and_deploy_cp self.check('[?name==`foo`].properties.template.containers[0].resources.cpu', [1.25]), ]) - if os.path.exists(compose_file_name): - os.remove(compose_file_name) + clean_up_test_file(compose_file_name) diff --git a/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_scale.py b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_scale.py index 654a425c815..1884909f6c0 100644 --- a/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_scale.py +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_scale.py @@ -3,16 +3,18 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- -import os import unittest # pylint: disable=unused-import -from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) +from azure.cli.testsdk import (ResourceGroupPreparer) +from azure.cli.testsdk.decorators import serial_test +from azext_containerapp_compose.tests.latest.common import (ContainerappComposePreviewScenarioTest, # pylint: disable=unused-import + write_test_file, + clean_up_test_file, + TEST_DIR) -TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) - - -class ContainerappComposePreviewReplicasScenarioTest(ScenarioTest): +class ContainerappComposePreviewReplicasScenarioTest(ContainerappComposePreviewScenarioTest): + @serial_test() @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') def test_containerapp_compose_create_with_replicas_global_scale(self, resource_group): compose_text = """ @@ -26,9 +28,7 @@ def test_containerapp_compose_create_with_replicas_global_scale(self, resource_g replicas: 6 """ compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() + write_test_file(compose_file_name, compose_text) self.kwargs.update({ 'environment': self.create_random_name(prefix='containerapp-compose', length=24), @@ -47,9 +47,9 @@ def test_containerapp_compose_create_with_replicas_global_scale(self, resource_g self.check('[?name==`foo`].properties.template.scale.maxReplicas', [1]), ]) - if os.path.exists(compose_file_name): - os.remove(compose_file_name) + clean_up_test_file(compose_file_name) + @serial_test() @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') def test_containerapp_compose_create_with_replicas_replicated_mode(self, resource_group): compose_text = """ @@ -62,9 +62,7 @@ def test_containerapp_compose_create_with_replicas_replicated_mode(self, resourc replicas: 6 """ compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() + write_test_file(compose_file_name, compose_text) self.kwargs.update({ 'environment': self.create_random_name(prefix='containerapp-compose', length=24), @@ -83,5 +81,4 @@ def test_containerapp_compose_create_with_replicas_replicated_mode(self, resourc self.check('[?name==`foo`].properties.template.scale.maxReplicas', [6]), ]) - if os.path.exists(compose_file_name): - os.remove(compose_file_name) + clean_up_test_file(compose_file_name) diff --git a/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_secrets.py b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_secrets.py index 15b05f3dc1a..5f96225fc6b 100644 --- a/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_secrets.py +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_secrets.py @@ -3,16 +3,18 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- -import os import unittest # pylint: disable=unused-import -from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) +from azure.cli.testsdk import (ResourceGroupPreparer) +from azure.cli.testsdk.decorators import serial_test +from azext_containerapp_compose.tests.latest.common import (ContainerappComposePreviewScenarioTest, # pylint: disable=unused-import + write_test_file, + clean_up_test_file, + TEST_DIR) -TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) - - -class ContainerappComposePreviewSecretsScenarioTest(ScenarioTest): +class ContainerappComposePreviewSecretsScenarioTest(ContainerappComposePreviewScenarioTest): + @serial_test() @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') def test_containerapp_compose_create_with_secrets(self, resource_group): compose_text = """ @@ -32,14 +34,11 @@ def test_containerapp_compose_create_with_secrets(self, resource_group): external: true """ compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() + write_test_file(compose_file_name, compose_text) secrets_file_name = "./my_secret.txt" - docker_secrets_file = open(secrets_file_name, "w", encoding='utf-8') - _ = docker_secrets_file.write("Lorem Ipsum\n") - docker_secrets_file.close() + secrets_text = "Lorem Ipsum\n" + write_test_file(secrets_file_name, secrets_text) self.kwargs.update({ 'environment': self.create_random_name(prefix='containerapp-compose', length=24), @@ -59,12 +58,10 @@ def test_containerapp_compose_create_with_secrets(self, resource_group): self.check('[?name==`foo`].properties.template.containers[0].env[0].secretRef', ["redis-secret"]) # pylint: disable=C0301 ]) - if os.path.exists(compose_file_name): - os.remove(compose_file_name) - - if os.path.exists(secrets_file_name): - os.remove(secrets_file_name) + clean_up_test_file(compose_file_name) + clean_up_test_file(secrets_file_name) + @serial_test() @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') def test_containerapp_compose_create_with_secrets_and_existing_environment(self, resource_group): compose_text = """ @@ -90,14 +87,11 @@ def test_containerapp_compose_create_with_secrets_and_existing_environment(self, external: true """ compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() + write_test_file(compose_file_name, compose_text) secrets_file_name = "./snafu.txt" - docker_secrets_file = open(secrets_file_name, "w", encoding='utf-8') - _ = docker_secrets_file.write("Lorem Ipsum\n") - docker_secrets_file.close() + secrets_text = "Lorem Ipsum\n" + write_test_file(secrets_file_name, secrets_text) self.kwargs.update({ 'environment': self.create_random_name(prefix='containerapp-compose', length=24), @@ -115,12 +109,10 @@ def test_containerapp_compose_create_with_secrets_and_existing_environment(self, self.check('length([?name==`foo`].properties.template.containers[0].env[].name)', 6), ]) - if os.path.exists(compose_file_name): - os.remove(compose_file_name) - - if os.path.exists(secrets_file_name): - os.remove(secrets_file_name) + clean_up_test_file(compose_file_name) + clean_up_test_file(secrets_file_name) + @serial_test() @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') def test_containerapp_compose_create_with_secrets_and_existing_environment_conflict(self, resource_group): compose_text = """ @@ -136,14 +128,11 @@ def test_containerapp_compose_create_with_secrets_and_existing_environment_confl file: ./database__client.txt """ compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() + write_test_file(compose_file_name, compose_text) secrets_file_name = "./database__client.txt" - docker_secrets_file = open(secrets_file_name, "w", encoding='utf-8') - _ = docker_secrets_file.write("Lorem Ipsum\n") - docker_secrets_file.close() + secrets_text = "Lorem Ipsum\n" + write_test_file(secrets_file_name, secrets_text) self.kwargs.update({ 'environment': self.create_random_name(prefix='containerapp-compose', length=24), @@ -160,8 +149,5 @@ def test_containerapp_compose_create_with_secrets_and_existing_environment_confl # This test fails with duplicate environment variable names self.cmd(command_string, expect_failure=True) - if os.path.exists(compose_file_name): - os.remove(compose_file_name) - - if os.path.exists(secrets_file_name): - os.remove(secrets_file_name) + clean_up_test_file(compose_file_name) + clean_up_test_file(secrets_file_name) diff --git a/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_transport_overrides.py b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_transport_overrides.py index d002592f0f1..8c0d36268b0 100644 --- a/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_transport_overrides.py +++ b/src/containerapp-compose/azext_containerapp_compose/tests/latest/test_containerapp_preview_transport_overrides.py @@ -3,16 +3,18 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- -import os import unittest # pylint: disable=unused-import -from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) +from azure.cli.testsdk import (ResourceGroupPreparer) +from azure.cli.testsdk.decorators import serial_test +from azext_containerapp_compose.tests.latest.common import (ContainerappComposePreviewScenarioTest, # pylint: disable=unused-import + write_test_file, + clean_up_test_file, + TEST_DIR) -TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) - - -class ContainerappComposePreviewTransportOverridesScenarioTest(ScenarioTest): +class ContainerappComposePreviewTransportOverridesScenarioTest(ContainerappComposePreviewScenarioTest): + @serial_test() @ResourceGroupPreparer(name_prefix='cli_test_containerapp_preview', location='eastus') def test_containerapp_compose_create_with_transport_arg(self, resource_group): compose_text = """ @@ -22,9 +24,7 @@ def test_containerapp_compose_create_with_transport_arg(self, resource_group): ports: 8080:80 """ compose_file_name = f"{self._testMethodName}_compose.yml" - docker_compose_file = open(compose_file_name, "w", encoding='utf-8') - _ = docker_compose_file.write(compose_text) - docker_compose_file.close() + write_test_file(compose_file_name, compose_text) self.kwargs.update({ 'environment': self.create_random_name(prefix='containerapp-compose', length=24), @@ -45,5 +45,4 @@ def test_containerapp_compose_create_with_transport_arg(self, resource_group): self.check('[?name==`foo`].properties.configuration.ingress.transport', ["Http2"]), ]) - if os.path.exists(compose_file_name): - os.remove(compose_file_name) + clean_up_test_file(compose_file_name) diff --git a/src/containerapp-compose/setup.py b/src/containerapp-compose/setup.py index 451923f82d5..8f863a41cd0 100644 --- a/src/containerapp-compose/setup.py +++ b/src/containerapp-compose/setup.py @@ -32,7 +32,7 @@ 'License :: OSI Approved :: MIT License', ] -DEPENDENCIES = ['azure-cli-core', 'pycomposefile>=0.0.26'] +DEPENDENCIES = ['pycomposefile>=0.0.26'] with open('README.rst', 'r', encoding='utf-8') as f: README = f.read()