From 85f8fd31c4402f99d7ee13601d00c3a1d9b89d12 Mon Sep 17 00:00:00 2001 From: Silas Strawn Date: Mon, 23 May 2022 14:24:18 -0700 Subject: [PATCH 01/15] add space for history entries --- src/containerapp/HISTORY.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/containerapp/HISTORY.rst b/src/containerapp/HISTORY.rst index 8d14caf9feb..751c6648aab 100644 --- a/src/containerapp/HISTORY.rst +++ b/src/containerapp/HISTORY.rst @@ -3,6 +3,10 @@ Release History =============== +0.3.6 +++++++ + + 0.3.5 ++++++ * Add parameter --zone-redundant to 'az containerapp env create' From e0b2805473e1225d9ac5ce5601651b185ee7bd3b Mon Sep 17 00:00:00 2001 From: Haroon Feisal <38823870+haroonf@users.noreply.github.com> Date: Wed, 25 May 2022 13:44:40 -0400 Subject: [PATCH 02/15] Added environment as flag for list_containerapp. (#114) * Added environment as flag for list_containerapp. * Fixed logic error in RID case. * Check if rg exists. * Validate managed env exists if group is passed or rid is passed. Co-authored-by: Haroon Feisal --- src/containerapp/azext_containerapp/custom.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/containerapp/azext_containerapp/custom.py b/src/containerapp/azext_containerapp/custom.py index a32d50cbba8..b4dbf2c4759 100644 --- a/src/containerapp/azext_containerapp/custom.py +++ b/src/containerapp/azext_containerapp/custom.py @@ -62,7 +62,7 @@ _update_revision_env_secretrefs, _get_acr_cred, safe_get, await_github_action, repo_url_to_name, validate_container_app_name, _update_weights, get_vnet_location, register_provider_if_needed, generate_randomized_cert_name, _get_name, load_cert_file, check_cert_name_availability, - validate_hostname, patch_new_custom_domain, get_custom_domains) + validate_hostname, patch_new_custom_domain, get_custom_domains, get_resource_group) from ._ssh_utils import (SSH_DEFAULT_ENCODING, WebSocketConnection, read_ssh, get_stdin_writer, SSH_CTRL_C_MSG, SSH_BACKUP_ENCODING) @@ -724,7 +724,7 @@ def show_containerapp(cmd, name, resource_group_name): handle_raw_exception(e) -def list_containerapp(cmd, resource_group_name=None): +def list_containerapp(cmd, resource_group_name=None, managed_env=None): _validate_subscription_registered(cmd, CONTAINER_APPS_RP) try: @@ -734,6 +734,14 @@ def list_containerapp(cmd, resource_group_name=None): else: containerapps = ContainerAppClient.list_by_resource_group(cmd=cmd, resource_group_name=resource_group_name) + if managed_env: + env_name = parse_resource_id(managed_env)["name"].lower() + if "resource_group" in parse_resource_id(managed_env): + ManagedEnvironmentClient.show(cmd, parse_resource_id(managed_env)["resource_group"], parse_resource_id(managed_env)["name"]) + containerapps = [c for c in containerapps if c["properties"]["managedEnvironmentId"].lower() == managed_env.lower()] + else: + containerapps = [c for c in containerapps if parse_resource_id(c["properties"]["managedEnvironmentId"])["name"].lower() == env_name] + return containerapps except CLIError as e: handle_raw_exception(e) From e69fad36b156a194f5a37d4f6385bd1a51d306c4 Mon Sep 17 00:00:00 2001 From: Haroon Feisal <38823870+haroonf@users.noreply.github.com> Date: Fri, 27 May 2022 14:29:40 -0400 Subject: [PATCH 03/15] Revision improvements (#113) * Integer division to update existing weights. Validate revision names. * Added revision label add ability to reuse existing label. * Fixed style issues. * Removed deprecated _round function in utils. * Added revision label swap. * Revision list only shows active revisions by default. Use flag --all to show inactive revisions as well. * Updated history. * Changed to use --labels instead of label1,label2. Added util to check if traffic payload less than 4096 bytes. * Added label check in traffic set. * Updated history. * Removed 4096byte util. * Added help for label swap, fixed styling. * Added test for revision labels. Fixed help typo. Co-authored-by: Haroon Feisal --- scripts/ci/credscan/CredScanSuppressions.json | 3 +- src/containerapp/HISTORY.rst | 3 + src/containerapp/azext_containerapp/_help.py | 9 + .../azext_containerapp/_params.py | 5 + src/containerapp/azext_containerapp/_utils.py | 41 +- .../azext_containerapp/commands.py | 1 + src/containerapp/azext_containerapp/custom.py | 105 +- .../test_containerapp_revision_label_e2e.yaml | 5246 +++++++++++++++++ .../latest/test_containerapp_commands.py | 75 + 9 files changed, 5462 insertions(+), 26 deletions(-) create mode 100644 src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_revision_label_e2e.yaml diff --git a/scripts/ci/credscan/CredScanSuppressions.json b/scripts/ci/credscan/CredScanSuppressions.json index 79576301ceb..ec753366715 100644 --- a/scripts/ci/credscan/CredScanSuppressions.json +++ b/scripts/ci/credscan/CredScanSuppressions.json @@ -142,7 +142,8 @@ "src\\containerapp\\azext_containerapp\\tests\\latest\\recordings\\test_containerapp_custom_domains_e2e.yaml", "src\\containerapp\\azext_containerapp\\tests\\latest\\cert.pfx", "src\\containerapp\\azext_containerapp\\tests\\latest\\test_containerapp_commands.py", - "src\\containerapp\\azext_containerapp\\tests\\latest\test_containerapp_env_commands.py" + "src\\containerapp\\azext_containerapp\\tests\\latest\\test_containerapp_env_commands.py", + "src\\containerapp\\azext_containerapp\\tests\\latest\\test_containerapp_revision_label_e2e.yaml" ], "_justification": "Dummy resources' keys left during testing Microsoft.App (required for log-analytics to create managedEnvironments)" } diff --git a/src/containerapp/HISTORY.rst b/src/containerapp/HISTORY.rst index 751c6648aab..99aba7e9a08 100644 --- a/src/containerapp/HISTORY.rst +++ b/src/containerapp/HISTORY.rst @@ -5,6 +5,9 @@ Release History 0.3.6 ++++++ +* Added parameter --environment to 'az containerapp list' +* Added 'az containerapp revision label swap' to swap traffic labels +* BREAKING CHANGE: 'az containerapp revision list' now shows only active revisions by default, added flag --all to show all revisions 0.3.5 diff --git a/src/containerapp/azext_containerapp/_help.py b/src/containerapp/azext_containerapp/_help.py index 7631b07a2bb..3bc64a6f88b 100644 --- a/src/containerapp/azext_containerapp/_help.py +++ b/src/containerapp/azext_containerapp/_help.py @@ -289,6 +289,15 @@ az containerapp revision label remove -n MyContainerapp -g MyResourceGroup --label myLabel """ +helps['containerapp revision label swap'] = """ + type: command + short-summary: Swap a revision label between two revisions with associated traffic weights. + examples: + - name: Swap a revision label between two revisions.. + text: | + az containerapp revision label swap -n MyContainerapp -g MyResourceGroup --labels myLabel1 myLabel2 +""" + # Environment Commands helps['containerapp env'] = """ type: group diff --git a/src/containerapp/azext_containerapp/_params.py b/src/containerapp/azext_containerapp/_params.py index 83b0ea33504..fb71dc93ccd 100644 --- a/src/containerapp/azext_containerapp/_params.py +++ b/src/containerapp/azext_containerapp/_params.py @@ -200,6 +200,7 @@ def load_arguments(self, _): with self.argument_context('containerapp revision') as c: c.argument('revision_name', options_list=['--revision'], help='Name of the revision.') + c.argument('all', help='Boolean indicating whether to show inactive revisions.') with self.argument_context('containerapp revision copy') as c: c.argument('from_revision', help='Revision to copy from. Default: latest revision.') @@ -209,6 +210,10 @@ def load_arguments(self, _): c.argument('name', id_part=None) c.argument('revision', help='Name of the revision.') c.argument('label', help='Name of the label.') + c.argument('yes', options_list=['--yes', '-y'], help='Do not prompt for confirmation.') + + with self.argument_context('containerapp revision label') as c: + c.argument('labels', nargs='*', help='Labels to be swapped.') with self.argument_context('containerapp ingress') as c: c.argument('allow_insecure', help='Allow insecure connections for ingress traffic.') diff --git a/src/containerapp/azext_containerapp/_utils.py b/src/containerapp/azext_containerapp/_utils.py index b291d6da9ee..ededfff9b06 100644 --- a/src/containerapp/azext_containerapp/_utils.py +++ b/src/containerapp/azext_containerapp/_utils.py @@ -857,6 +857,19 @@ def _update_revision_weights(containerapp_def, list_weights): return old_weight_sum +def _validate_revision_name(cmd, revision, resource_group_name, name): + if revision.lower() == "latest": + return + revision_def = None + try: + revision_def = ContainerAppClient.show_revision(cmd, resource_group_name, name, revision) + except: # pylint: disable=bare-except + pass + + if not revision_def: + raise ValidationError(f"Revision '{revision}' is not a valid revision name.") + + 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"] = [] @@ -864,6 +877,7 @@ def _append_label_weights(containerapp_def, label_weights, revision_weights): if not label_weights: return + bad_labels = [] 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) @@ -885,7 +899,10 @@ def _append_label_weights(containerapp_def, label_weights, revision_weights): break if not is_existing: - raise ValidationError(f"No label {label} assigned to any traffic weight.") + bad_labels.append(label) + + if len(bad_labels) > 0: + raise ValidationError(f"No labels '{', '.join(bad_labels)}' assigned to any traffic weight.") def _update_weights(containerapp_def, revision_weights, old_weight_sum): @@ -893,7 +910,6 @@ 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 @@ -903,18 +919,17 @@ def _update_weights(containerapp_def, revision_weights, old_weight_sum): 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) + existing_weight["weight"] = round(scale_factor * existing_weight["weight"]) 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 + existing_weight["weight"] = round(scale_factor * existing_weight["weight"]) + + total_sum = sum([int(w["weight"]) for w in containerapp_def["properties"]["configuration"]["ingress"]["traffic"]]) + index = 0 + while total_sum < 100: + weight = containerapp_def["properties"]["configuration"]["ingress"]["traffic"][index % len(containerapp_def["properties"]["configuration"]["ingress"]["traffic"])] + index += 1 + total_sum += 1 + weight["weight"] += 1 def _validate_traffic_sum(revision_weights): diff --git a/src/containerapp/azext_containerapp/commands.py b/src/containerapp/azext_containerapp/commands.py index f485af2fdda..fe284926d95 100644 --- a/src/containerapp/azext_containerapp/commands.py +++ b/src/containerapp/azext_containerapp/commands.py @@ -106,6 +106,7 @@ def load_command_table(self, _): with self.command_group('containerapp revision label') as g: g.custom_command('add', 'add_revision_label') g.custom_command('remove', 'remove_revision_label') + g.custom_command('swap', 'swap_revision_label') with self.command_group('containerapp ingress') as g: g.custom_command('enable', 'enable_ingress', exception_handler=ex_handler_factory()) diff --git a/src/containerapp/azext_containerapp/custom.py b/src/containerapp/azext_containerapp/custom.py index b4dbf2c4759..86aaebba9f5 100644 --- a/src/containerapp/azext_containerapp/custom.py +++ b/src/containerapp/azext_containerapp/custom.py @@ -62,7 +62,8 @@ _update_revision_env_secretrefs, _get_acr_cred, safe_get, await_github_action, repo_url_to_name, validate_container_app_name, _update_weights, get_vnet_location, register_provider_if_needed, generate_randomized_cert_name, _get_name, load_cert_file, check_cert_name_availability, - validate_hostname, patch_new_custom_domain, get_custom_domains, get_resource_group) + validate_hostname, patch_new_custom_domain, get_custom_domains, _validate_revision_name) + from ._ssh_utils import (SSH_DEFAULT_ENCODING, WebSocketConnection, read_ssh, get_stdin_writer, SSH_CTRL_C_MSG, SSH_BACKUP_ENCODING) @@ -1254,9 +1255,12 @@ def delete_github_action(cmd, name, resource_group_name, token=None, login_with_ handle_raw_exception(e) -def list_revisions(cmd, name, resource_group_name): +def list_revisions(cmd, name, resource_group_name, all=False): try: - return ContainerAppClient.list_revisions(cmd=cmd, resource_group_name=resource_group_name, name=name) + revision_list = ContainerAppClient.list_revisions(cmd=cmd, resource_group_name=resource_group_name, name=name) + if all: + return revision_list + return [r for r in revision_list if r["properties"]["active"]] except CLIError as e: handle_raw_exception(e) @@ -1376,7 +1380,7 @@ 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): +def add_revision_label(cmd, resource_group_name, revision, label, name=None, no_wait=False, yes=False): _validate_subscription_registered(cmd, CONTAINER_APPS_RP) if not name: @@ -1391,26 +1395,96 @@ def add_revision_label(cmd, resource_group_name, revision, label, name=None, no_ 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.") + if "ingress" not in containerapp_def['properties']['configuration'] or "traffic" not in containerapp_def['properties']['configuration']['ingress']: + raise ValidationError("Ingress and traffic weights are required to add labels.") - traffic_weight = containerapp_def['properties']['configuration']['ingress']['traffic'] + traffic_weight = containerapp_def['properties']['configuration']['ingress']['traffic'] if 'traffic' in containerapp_def['properties']['configuration']['ingress'] else {} + + _validate_revision_name(cmd, revision, resource_group_name, name) label_added = False for weight in traffic_weight: + if "label" in weight and weight["label"].lower() == label.lower(): + r_name = "latest" if "latestRevision" in weight and weight["latestRevision"] else weight["revisionName"] + if not yes and r_name.lower() != revision.lower(): + msg = f"A weight with the label '{label}' already exists. Remove existing label '{label}' from '{r_name}' and add to '{revision}'?" + if not prompt_y_n(msg, default="n"): + raise ArgumentUsageError(f"Usage Error: cannot specify existing label without agreeing to remove existing label '{label}' from '{r_name}' and add to '{revision}'.") + weight["label"] = None + 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_def["properties"]["configuration"]["ingress"]["traffic"].append({ + "revisionName": revision if revision.lower() != "latest" else None, + "weight": 0, + "latestRevision": revision.lower() == "latest", + "label": label + }) + + 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 swap_revision_label(cmd, name, resource_group_name, labels, no_wait=False): + _validate_subscription_registered(cmd, CONTAINER_APPS_RP) + + if not labels or len(labels) != 2: + raise ArgumentUsageError("Usage error: --labels requires two labels to be swapped.") + + if labels[0] == labels[1]: + raise ArgumentUsageError("Label names to be swapped must be different.") + + 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'] or "traffic" not in containerapp_def['properties']['configuration']['ingress']: + raise ValidationError("Ingress and traffic weights are required to swap labels.") + + traffic_weight = containerapp_def['properties']['configuration']['ingress']['traffic'] if 'traffic' in containerapp_def['properties']['configuration']['ingress'] else {} + + label1_found = False + label2_found = False + for weight in traffic_weight: + if "label" in weight: + if weight["label"].lower() == labels[0].lower(): + if not label1_found: + label1_found = True + weight["label"] = labels[1] + elif weight["label"].lower() == labels[1].lower(): + if not label2_found: + label2_found = True + weight["label"] = labels[0] + if not label1_found and not label2_found: + raise ArgumentUsageError(f"Could not find label '{labels[0]}' nor label '{labels[1]}' in traffic.") + if not label1_found: + raise ArgumentUsageError(f"Could not find label '{labels[0]}' in traffic.") + if not label2_found: + raise ArgumentUsageError(f"Could not find label '{labels[1]}' in traffic.") containerapp_patch_def = {} containerapp_patch_def['properties'] = {} @@ -1439,8 +1513,8 @@ def remove_revision_label(cmd, resource_group_name, name, label, no_wait=False): 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.") + if "ingress" not in containerapp_def['properties']['configuration'] or "traffic" not in containerapp_def['properties']['configuration']['ingress']: + raise ValidationError("Ingress and traffic weights are required to remove labels.") traffic_weight = containerapp_def['properties']['configuration']['ingress']['traffic'] @@ -1565,6 +1639,9 @@ def set_ingress_traffic(cmd, name, resource_group_name, label_weights=None, revi if not containerapp_def: raise ResourceNotFoundError(f"The containerapp '{name}' does not exist in group '{resource_group_name}'") + if containerapp_def["properties"]["configuration"]["activeRevisionsMode"].lower() == "single": + raise ValidationError(f"Containerapp '{name}' is configured for single revision. Set revision mode to multiple in order to set ingress traffic. Try `az containerapp revision set-mode -h` for more details.") + try: containerapp_def["properties"]["configuration"]["ingress"] containerapp_def["properties"]["configuration"]["ingress"]["traffic"] @@ -1583,6 +1660,10 @@ def set_ingress_traffic(cmd, name, resource_group_name, label_weights=None, revi # update revision weights to containerapp, get the old weight sum old_weight_sum = _update_revision_weights(containerapp_def, revision_weights) + # validate revision names + for revision in revision_weights: + _validate_revision_name(cmd, revision.split('=')[0], resource_group_name, name) + _update_weights(containerapp_def, revision_weights, old_weight_sum) containerapp_patch_def = {} diff --git a/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_revision_label_e2e.yaml b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_revision_label_e2e.yaml new file mode 100644 index 00000000000..86f477461b7 --- /dev/null +++ b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_revision_label_e2e.yaml @@ -0,0 +1,5246 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor log-analytics workspace create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"northeurope","tags":{"product":"azurecli","cause":"automation","date":"2022-05-26T22:46:23Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '315' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:46:26 GMT + expires: + - '-1' + pragma: + - 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": "northeurope", "properties": {"sku": {"name": "PerGB2018"}, + "retentionInDays": 30, "workspaceCapping": {}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor log-analytics workspace create + Connection: + - keep-alive + Content-Length: + - '120' + Content-Type: + - application/json + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004?api-version=2021-12-01-preview + response: + body: + string: '{"properties":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2022-05-26T22:46:31.2820632Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2022-05-27T14:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2022-05-26T22:46:31.2820632Z","modifiedDate":"2022-05-26T22:46:31.2820632Z"},"location":"northeurope","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004","name":"containerapp-env000004","type":"Microsoft.OperationalInsights/workspaces"}' + headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2021-12-01-preview + cache-control: + - no-cache + content-length: + - '856' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:46:32 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004?api-version=2021-12-01-preview + pragma: + - no-cache + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 + server: + - 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 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor log-analytics workspace create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004?api-version=2021-12-01-preview + response: + body: + string: '{"properties":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b","provisioningState":"Succeeded","sku":{"name":"PerGB2018","lastSkuUpdate":"2022-05-26T22:46:31.2820632Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2022-05-27T14:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2022-05-26T22:46:31.2820632Z","modifiedDate":"2022-05-26T22:46:31.2820632Z"},"location":"northeurope","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004","name":"containerapp-env000004","type":"Microsoft.OperationalInsights/workspaces"}' + headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2021-12-01-preview + cache-control: + - no-cache + content-length: + - '857' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:47:02 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - 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: + - monitor log-analytics workspace get-shared-keys + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004/sharedKeys?api-version=2020-08-01 + response: + body: + string: '{"primarySharedKey":"jqp641ZYmljIcLPwXVjYn39ad5IGN+8XELoB7rRC0/EOYB8IXCAiG7d75VAXcXlmXvbO+SpA5jmlT9bLQgQNfg==","secondarySharedKey":"Rk0cnP2aDe2b1v6BW2e1rvg+RHrcwaHfMIfKLFA9v849JZRFDzGYbOyuvdQXFifXt3+rT55X5XMLQJi/6jO7bA=="}' + headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2015-03-20, 2020-08-01, 2020-10-01, 2021-06-01 + cache-control: + - no-cache + content-length: + - '223' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:47:05 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"northeurope","tags":{"product":"azurecli","cause":"automation","date":"2022-05-26T22:46:23Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '315' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:47: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 env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:47: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 env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:47: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": "northeurope", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": + {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": + "6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b", "sharedKey": "jqp641ZYmljIcLPwXVjYn39ad5IGN+8XELoB7rRC0/EOYB8IXCAiG7d75VAXcXlmXvbO+SpA5jmlT9bLQgQNfg=="}}, + "zoneRedundant": false}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + Content-Length: + - '428' + Content-Type: + - application/json + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265Z","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/managedEnvironmentOperationStatuses/f94f87c7-c435-49f2-b983-5ddb2af6ba43?api-version=2022-03-01&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '807' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:47:12 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-async-operation-timeout: + - PT15M + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:47: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 env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:47:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 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 env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:47:25 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22: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 env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:47: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 env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:47:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:47:41 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:47:45 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22: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 env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:47:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:47:56 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '807' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:48: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 env show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:48: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 env show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '807' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:48: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment --ingress --target-port + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:48:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment --ingress --target-port + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '807' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:48: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 create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment --ingress --target-port + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:48: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": "northeurope", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", + "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": + {"fqdn": null, "external": true, "targetPort": 80, "transport": "auto", "traffic": + null, "customDomains": null}, "dapr": null, "registries": null}, "template": + {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest", + "name": "containerapp000003", "command": null, "args": null, "env": null, "resources": + null, "volumeMounts": null}], "scale": null, "volumes": null}}, "tags": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp create + Connection: + - keep-alive + Content-Length: + - '799' + Content-Type: + - application/json + ParameterSetName: + - -g -n --environment --ingress --target-port + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888Z","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:11.527888Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/39d00265-9582-4ac5-80da-c6d7301861af?api-version=2022-03-01&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1408' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:48: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: + - '499' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment --ingress --target-port + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:11.527888"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--ie56ifz","latestRevisionFqdn":"containerapp000003--ie56ifz.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1515' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:48: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 create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment --ingress --target-port + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:11.527888"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--ie56ifz","latestRevisionFqdn":"containerapp000003--ie56ifz.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1515' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22: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 create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment --ingress --target-port + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:11.527888"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--ie56ifz","latestRevisionFqdn":"containerapp000003--ie56ifz.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1514' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp ingress show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:48:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp ingress show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:11.527888"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--ie56ifz","latestRevisionFqdn":"containerapp000003--ie56ifz.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1514' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment --ingress --target-port --image + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:48:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment --ingress --target-port --image + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '807' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment --ingress --target-port --image + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:48: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": "northeurope", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", + "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": + {"fqdn": null, "external": true, "targetPort": 80, "transport": "auto", "traffic": + null, "customDomains": null}, "dapr": null, "registries": null}, "template": + {"revisionSuffix": null, "containers": [{"image": "nginx", "name": "containerapp000003", + "command": null, "args": null, "env": null, "resources": null, "volumeMounts": + null}], "scale": null, "volumes": null}}, "tags": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp create + Connection: + - keep-alive + Content-Length: + - '745' + Content-Type: + - application/json + ParameterSetName: + - -g -n --environment --ingress --target-port --image + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:32.5518193Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--ie56ifz","latestRevisionFqdn":"containerapp000003--ie56ifz.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/62906bb4-85d5-411f-b774-d8414da7197f?api-version=2022-03-01&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1463' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:48:36 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 create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment --ingress --target-port --image + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:32.5518193"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1462' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:48:36 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment --ingress --target-port --image + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:32.5518193"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1462' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:48: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 create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment --ingress --target-port --image + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:32.5518193"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1462' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:48: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 create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment --ingress --target-port --image + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:32.5518193"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1461' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:48:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp revision set-mode + Connection: + - keep-alive + ParameterSetName: + - -g -n --mode + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:48: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 revision set-mode + Connection: + - keep-alive + ParameterSetName: + - -g -n --mode + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:32.5518193"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1461' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:48: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: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003", + "name": "containerapp000003", "type": "Microsoft.App/containerApps", "location": + "North Europe", "systemData": {"createdBy": "haroonfeisal@microsoft.com", "createdByType": + "User", "createdAt": "2022-05-26T22:48:11.527888", "lastModifiedBy": "haroonfeisal@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-05-26T22:48:32.5518193"}, + "properties": {"provisioningState": "Succeeded", "managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", + "outboundIpAddresses": ["40.67.250.25", "40.67.250.221", "40.67.252.230"], "latestRevisionName": + "containerapp000003--aixgh10", "latestRevisionFqdn": "containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io", + "customDomainVerificationId": "99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E", + "configuration": {"activeRevisionsMode": "multiple", "ingress": {"fqdn": "containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io", + "external": true, "targetPort": 80, "transport": "Auto", "traffic": [{"weight": + 100, "latestRevision": true}], "allowInsecure": false}, "secrets": []}, "template": + {"containers": [{"image": "nginx", "name": "containerapp000003", "resources": + {"cpu": 0.5, "memory": "1Gi"}}], "scale": {"maxReplicas": 10}}}, "identity": + {"type": "None"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp revision set-mode + Connection: + - keep-alive + Content-Length: + - '1549' + Content-Type: + - application/json + ParameterSetName: + - -g -n --mode + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:53.3572831Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/8ba7356c-e643-4fc8-83e1-cefce15cf4e5?api-version=2022-03-01&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1465' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:48: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-resource-requests: + - '499' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp revision set-mode + Connection: + - keep-alive + ParameterSetName: + - -g -n --mode + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:53.3572831"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1464' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:48: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 revision set-mode + Connection: + - keep-alive + ParameterSetName: + - -g -n --mode + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:53.3572831"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1464' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:49: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 revision set-mode + Connection: + - keep-alive + ParameterSetName: + - -g -n --mode + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:53.3572831"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1463' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:49: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 revision list + Connection: + - keep-alive + ParameterSetName: + - -g -n --all --query + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions?api-version=2022-03-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--ie56ifz","name":"containerapp000003--ie56ifz","type":"Microsoft.App/containerapps/revisions","properties":{"createdTime":"2022-05-26T22:48:14+00:00","fqdn":"containerapp000003--ie56ifz.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.50,"memory":"1Gi"},"probes":[]}],"scale":{"maxReplicas":10}},"active":false,"replicas":0,"trafficWeight":0,"healthState":"Healthy","provisioningState":"Provisioned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--aixgh10","name":"containerapp000003--aixgh10","type":"Microsoft.App/containerapps/revisions","properties":{"createdTime":"2022-05-26T22:48:34+00:00","fqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.50,"memory":"1Gi"},"probes":[]}],"scale":{"maxReplicas":10}},"active":true,"replicas":1,"trafficWeight":100,"healthState":"Healthy","provisioningState":"Provisioned"}}]}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1422' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:49: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 revision label add + Connection: + - keep-alive + ParameterSetName: + - -g -n --revision --label + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:49: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 revision label add + Connection: + - keep-alive + ParameterSetName: + - -g -n --revision --label + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:53.3572831"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1463' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:49: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 revision label add + Connection: + - keep-alive + ParameterSetName: + - -g -n --revision --label + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--ie56ifz?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--ie56ifz","name":"containerapp000003--ie56ifz","type":"Microsoft.App/containerapps/revisions","properties":{"createdTime":"2022-05-26T22:48:14+00:00","fqdn":"containerapp000003--ie56ifz.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.50,"memory":"1Gi"},"probes":[]}],"scale":{"maxReplicas":10}},"active":false,"replicas":0,"trafficWeight":0,"healthState":"Healthy","provisioningState":"Provisioned"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '731' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:49: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: '{"properties": {"configuration": {"ingress": {"traffic": [{"weight": 100, + "latestRevision": true}, {"revisionName": "containerapp000003--ie56ifz", "weight": + 0, "latestRevision": false, "label": "label000005"}]}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp revision label add + Connection: + - keep-alive + Content-Length: + - '213' + Content-Type: + - application/json + ParameterSetName: + - -g -n --revision --label + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: PATCH + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 26 May 2022 22:49:13 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/5c4acb65-a941-4e24-af03-599071067fb6?api-version=2022-03-01 + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '499' + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp revision label add + Connection: + - keep-alive + ParameterSetName: + - -g -n --revision --label + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:11.855859"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1543' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:49: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 revision label add + Connection: + - keep-alive + ParameterSetName: + - -g -n --revision --label + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:11.855859"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1543' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:49: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 revision label add + Connection: + - keep-alive + ParameterSetName: + - -g -n --revision --label + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:11.855859"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1542' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:49: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 revision label add + Connection: + - keep-alive + ParameterSetName: + - -g -n --revision --label + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:49: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 revision label add + Connection: + - keep-alive + ParameterSetName: + - -g -n --revision --label + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:11.855859"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1542' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:49: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 revision label add + Connection: + - keep-alive + ParameterSetName: + - -g -n --revision --label + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--aixgh10?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--aixgh10","name":"containerapp000003--aixgh10","type":"Microsoft.App/containerapps/revisions","properties":{"createdTime":"2022-05-26T22:48:34+00:00","fqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.50,"memory":"1Gi"},"probes":[]}],"scale":{"maxReplicas":10}},"active":true,"replicas":1,"trafficWeight":100,"healthState":"Healthy","provisioningState":"Provisioned"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '678' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:49:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"configuration": {"ingress": {"traffic": [{"weight": 100, + "latestRevision": true}, {"revisionName": "containerapp000003--ie56ifz", "weight": + 0, "label": "label000005"}, {"revisionName": "containerapp000003--aixgh10", + "weight": 0, "latestRevision": false, "label": "label000006"}]}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp revision label add + Connection: + - keep-alive + Content-Length: + - '299' + Content-Type: + - application/json + ParameterSetName: + - -g -n --revision --label + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: PATCH + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 26 May 2022 22:49:27 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/b63208a4-94cf-4583-8e6e-1052cd4b53da?api-version=2022-03-01 + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '499' + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp revision label add + Connection: + - keep-alive + ParameterSetName: + - -g -n --revision --label + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:26.8621609"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1624' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:49: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 revision label add + Connection: + - keep-alive + ParameterSetName: + - -g -n --revision --label + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:26.8621609"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1624' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:49: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 revision label add + Connection: + - keep-alive + ParameterSetName: + - -g -n --revision --label + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:26.8621609"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1624' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:49: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 revision label add + Connection: + - keep-alive + ParameterSetName: + - -g -n --revision --label + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:26.8621609"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1624' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:49: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 revision label add + Connection: + - keep-alive + ParameterSetName: + - -g -n --revision --label + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:26.8621609"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1624' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:49: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 revision label add + Connection: + - keep-alive + ParameterSetName: + - -g -n --revision --label + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:26.8621609"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1623' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:49: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp ingress traffic show + Connection: + - keep-alive + ParameterSetName: + - -g -n --query + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:49:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp ingress traffic show + Connection: + - keep-alive + ParameterSetName: + - -g -n --query + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:26.8621609"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1623' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:49:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp ingress traffic set + Connection: + - keep-alive + ParameterSetName: + - -g -n --revision-weight --label-weight + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:49: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 ingress traffic set + Connection: + - keep-alive + ParameterSetName: + - -g -n --revision-weight --label-weight + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:26.8621609"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1623' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:49: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 ingress traffic set + Connection: + - keep-alive + ParameterSetName: + - -g -n --revision-weight --label-weight + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--ie56ifz?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--ie56ifz","name":"containerapp000003--ie56ifz","type":"Microsoft.App/containerapps/revisions","properties":{"createdTime":"2022-05-26T22:48:14+00:00","fqdn":"containerapp000003--ie56ifz.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.50,"memory":"1Gi"},"probes":[]}],"scale":{"maxReplicas":10}},"active":false,"replicas":0,"trafficWeight":0,"healthState":"Healthy","provisioningState":"Provisioned"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '731' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:49: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 ingress traffic set + Connection: + - keep-alive + ParameterSetName: + - -g -n --revision-weight --label-weight + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--aixgh10?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--aixgh10","name":"containerapp000003--aixgh10","type":"Microsoft.App/containerapps/revisions","properties":{"createdTime":"2022-05-26T22:48:34+00:00","fqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.50,"memory":"1Gi"},"probes":[]}],"scale":{"maxReplicas":10}},"active":true,"replicas":1,"trafficWeight":100,"healthState":"Healthy","provisioningState":"Provisioned"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '678' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:49:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"configuration": {"ingress": {"traffic": [{"weight": "50", + "latestRevision": true}, {"revisionName": "containerapp000003--ie56ifz", "weight": + "25", "label": "label000005"}, {"revisionName": "containerapp000003--aixgh10", + "weight": "25", "label": "label000006"}]}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp ingress traffic set + Connection: + - keep-alive + Content-Length: + - '281' + Content-Type: + - application/json + ParameterSetName: + - -g -n --revision-weight --label-weight + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: PATCH + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 26 May 2022 22:49:55 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/440c433c-bedb-4a69-acd7-b1be15f7a380?api-version=2022-03-01 + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '499' + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp ingress traffic set + Connection: + - keep-alive + ParameterSetName: + - -g -n --revision-weight --label-weight + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:54.1108946"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":25,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1625' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:49: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 ingress traffic set + Connection: + - keep-alive + ParameterSetName: + - -g -n --revision-weight --label-weight + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:54.1108946"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":25,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1624' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp ingress traffic show + Connection: + - keep-alive + ParameterSetName: + - -g -n --query + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:50: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 ingress traffic show + Connection: + - keep-alive + ParameterSetName: + - -g -n --query + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:54.1108946"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":25,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1624' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp revision label swap + Connection: + - keep-alive + ParameterSetName: + - -g -n --labels + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:50:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp revision label swap + Connection: + - keep-alive + ParameterSetName: + - -g -n --labels + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:54.1108946"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":25,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1624' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 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: '{"properties": {"configuration": {"ingress": {"traffic": [{"weight": 50, + "latestRevision": true}, {"revisionName": "containerapp000003--ie56ifz", "weight": + 25, "label": "label000006"}, {"revisionName": "containerapp000003--aixgh10", + "weight": 25, "label": "label000005"}]}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp revision label swap + Connection: + - keep-alive + Content-Length: + - '275' + Content-Type: + - application/json + ParameterSetName: + - -g -n --labels + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: PATCH + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 26 May 2022 22:50:08 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/db24023e-333c-4998-a287-12389fb6243f?api-version=2022-03-01 + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '499' + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp revision label swap + Connection: + - keep-alive + ParameterSetName: + - -g -n --labels + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:07.8057897"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--aixgh10","weight":25,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1625' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22: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 revision label swap + Connection: + - keep-alive + ParameterSetName: + - -g -n --labels + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:07.8057897"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--aixgh10","weight":25,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1625' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22: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 revision label swap + Connection: + - keep-alive + ParameterSetName: + - -g -n --labels + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:07.8057897"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--aixgh10","weight":25,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1624' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp revision label remove + Connection: + - keep-alive + ParameterSetName: + - -g -n --label + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:50: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 revision label remove + Connection: + - keep-alive + ParameterSetName: + - -g -n --label + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:07.8057897"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--aixgh10","weight":25,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1624' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22: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: '{"properties": {"configuration": {"ingress": {"traffic": [{"weight": 50, + "latestRevision": true}, {"revisionName": "containerapp000003--ie56ifz", "weight": + 25, "label": "label000006"}, {"revisionName": "containerapp000003--aixgh10", + "weight": 25, "label": null}]}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp revision label remove + Connection: + - keep-alive + Content-Length: + - '266' + Content-Type: + - application/json + ParameterSetName: + - -g -n --label + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: PATCH + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 26 May 2022 22:50:23 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/d576d524-00ef-4cb3-a1b8-fb40801aeef3?api-version=2022-03-01 + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '499' + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp revision label remove + Connection: + - keep-alive + ParameterSetName: + - -g -n --label + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:22.0741046"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--aixgh10","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1603' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 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 revision label remove + Connection: + - keep-alive + ParameterSetName: + - -g -n --label + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:22.0741046"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--aixgh10","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1603' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 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 revision label remove + Connection: + - keep-alive + ParameterSetName: + - -g -n --label + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:22.0741046"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--aixgh10","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1602' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp revision label remove + Connection: + - keep-alive + ParameterSetName: + - -g -n --label + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:50: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 revision label remove + Connection: + - keep-alive + ParameterSetName: + - -g -n --label + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:22.0741046"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--aixgh10","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1602' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:50: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: '{"properties": {"configuration": {"ingress": {"traffic": [{"weight": 50, + "latestRevision": true}, {"revisionName": "containerapp000003--ie56ifz", "weight": + 25, "label": null}, {"revisionName": "containerapp000003--aixgh10", "weight": + 25}]}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp revision label remove + Connection: + - keep-alive + Content-Length: + - '242' + Content-Type: + - application/json + ParameterSetName: + - -g -n --label + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: PATCH + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 26 May 2022 22:50:36 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/1f059768-29cc-4bb0-aaa1-335cf2706fc4?api-version=2022-03-01 + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '499' + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp revision label remove + Connection: + - keep-alive + ParameterSetName: + - -g -n --label + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:35.1008765"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25},{"revisionName":"containerapp000003--aixgh10","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1581' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:50: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 revision label remove + Connection: + - keep-alive + ParameterSetName: + - -g -n --label + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:35.1008765"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25},{"revisionName":"containerapp000003--aixgh10","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1581' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 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 +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp revision label remove + Connection: + - keep-alive + ParameterSetName: + - -g -n --label + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:35.1008765"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25},{"revisionName":"containerapp000003--aixgh10","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1580' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:50: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp ingress traffic show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:50: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 ingress traffic show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:35.1008765"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25},{"revisionName":"containerapp000003--aixgh10","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1580' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:50: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 +version: 1 diff --git a/src/containerapp/azext_containerapp/tests/latest/test_containerapp_commands.py b/src/containerapp/azext_containerapp/tests/latest/test_containerapp_commands.py index fca9efa8353..c669a9ca1c2 100644 --- a/src/containerapp/azext_containerapp/tests/latest/test_containerapp_commands.py +++ b/src/containerapp/azext_containerapp/tests/latest/test_containerapp_commands.py @@ -483,3 +483,78 @@ def test_containerapp_env_storage(self, resource_group): self.cmd('containerapp env storage list -g {} -n {}'.format(resource_group, env_name), checks=[ JMESPathCheck('length(@)', 0), ]) + + +class ContainerappRevisionTests(ScenarioTest): + @AllowLargeResponse(8192) + @ResourceGroupPreparer(location="northeurope") + def test_containerapp_revision_label_e2e(self, resource_group): + env_name = self.create_random_name(prefix='containerapp-env', length=24) + ca_name = self.create_random_name(prefix='containerapp', length=24) + logs_workspace_name = self.create_random_name(prefix='containerapp-env', length=24) + + logs_workspace_id = self.cmd('monitor log-analytics workspace create -g {} -n {}'.format(resource_group, logs_workspace_name)).get_output_in_json()["customerId"] + logs_workspace_key = self.cmd('monitor log-analytics workspace get-shared-keys -g {} -n {}'.format(resource_group, logs_workspace_name)).get_output_in_json()["primarySharedKey"] + + self.cmd('containerapp env create -g {} -n {} --logs-workspace-id {} --logs-workspace-key {}'.format(resource_group, env_name, logs_workspace_id, logs_workspace_key)) + + containerapp_env = self.cmd('containerapp env show -g {} -n {}'.format(resource_group, env_name)).get_output_in_json() + + while containerapp_env["properties"]["provisioningState"].lower() == "waiting": + time.sleep(5) + containerapp_env = self.cmd('containerapp env show -g {} -n {}'.format(resource_group, env_name)).get_output_in_json() + + self.cmd('containerapp create -g {} -n {} --environment {} --ingress external --target-port 80'.format(resource_group, ca_name, env_name)) + + self.cmd('containerapp ingress show -g {} -n {}'.format(resource_group, ca_name, env_name), checks=[ + JMESPathCheck('external', True), + JMESPathCheck('targetPort', 80), + ]) + + self.cmd('containerapp create -g {} -n {} --environment {} --ingress external --target-port 80 --image nginx'.format(resource_group, ca_name, env_name)) + + self.cmd('containerapp revision set-mode -g {} -n {} --mode multiple'.format(resource_group, ca_name, env_name)) + + revision_names = self.cmd(f"containerapp revision list -g {resource_group} -n {ca_name} --all --query '[].name'").get_output_in_json() + + self.assertEqual(len(revision_names), 2) + + labels = [] + for revision in revision_names: + label = self.create_random_name(prefix='label', length=12) + labels.append(label) + self.cmd(f"containerapp revision label add -g {resource_group} -n {ca_name} --revision {revision} --label {label}") + + traffic_weight = self.cmd(f"containerapp ingress traffic show -g {resource_group} -n {ca_name} --query '[].name'").get_output_in_json() + + for traffic in traffic_weight: + if "label" in traffic: + self.assertEqual(traffic["label"] in labels, True) + + self.cmd(f"containerapp ingress traffic set -g {resource_group} -n {ca_name} --revision-weight latest=50 --label-weight {labels[0]}=25 {labels[1]}=25") + + traffic_weight = self.cmd(f"containerapp ingress traffic show -g {resource_group} -n {ca_name} --query '[].name'").get_output_in_json() + + for traffic in traffic_weight: + if "label" in traffic: + self.assertEqual(traffic["weight"], 25) + else: + self.assertEqual(traffic["weight"], 50) + + traffic_weight = self.cmd(f"containerapp revision label swap -g {resource_group} -n {ca_name} --labels {labels[0]} {labels[1]}").get_output_in_json() + + for revision in revision_names: + traffic = [w for w in traffic_weight if "revisionName" in w and w["revisionName"] == revision][0] + self.assertEqual(traffic["label"], labels[(revision_names.index(revision) + 1) % 2]) + + self.cmd(f"containerapp revision label remove -g {resource_group} -n {ca_name} --label {labels[0]}", checks=[ + JMESPathCheck('length(@)', 3), + ]) + + self.cmd(f"containerapp revision label remove -g {resource_group} -n {ca_name} --label {labels[1]}", checks=[ + JMESPathCheck('length(@)', 3), + ]) + + traffic_weight = self.cmd(f"containerapp ingress traffic show -g {resource_group} -n {ca_name}").get_output_in_json() + + self.assertEqual(len([w for w in traffic_weight if "label" in w]), 0) \ No newline at end of file From be7fe9a5947f595637fb0ef7e0aacff5bc8c064e Mon Sep 17 00:00:00 2001 From: Haroon Feisal Date: Tue, 31 May 2022 15:21:57 -0400 Subject: [PATCH 04/15] Added cf for basic commands. --- .../azext_containerapp/_client_factory.py | 14 ++++++ .../azext_containerapp/commands.py | 4 +- src/containerapp/azext_containerapp/custom.py | 49 ++++++++++--------- 3 files changed, 41 insertions(+), 26 deletions(-) diff --git a/src/containerapp/azext_containerapp/_client_factory.py b/src/containerapp/azext_containerapp/_client_factory.py index 4e8ad424138..41cee1c442e 100644 --- a/src/containerapp/azext_containerapp/_client_factory.py +++ b/src/containerapp/azext_containerapp/_client_factory.py @@ -73,3 +73,17 @@ 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 + + +def app_client_factory(cli_ctx, api_version=None, **_): + from azure.cli.core.profiles import ResourceType + from azure.cli.core.commands.client_factory import get_mgmt_service_client + return get_mgmt_service_client(cli_ctx, ResourceType.MGMT_APPCONTAINERS, api_version=api_version) + + +def cf_containerapps(cli_ctx, _): + return app_client_factory(cli_ctx).container_apps + + +def cf_managedenvs(cli_ctx, _): + return app_client_factory(cli_ctx).managed_environments diff --git a/src/containerapp/azext_containerapp/commands.py b/src/containerapp/azext_containerapp/commands.py index fe284926d95..391b9195e00 100644 --- a/src/containerapp/azext_containerapp/commands.py +++ b/src/containerapp/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 azext_containerapp._client_factory import ex_handler_factory +from azext_containerapp._client_factory import ex_handler_factory, cf_containerapps, cf_managedenvs from ._validators import validate_ssh @@ -44,7 +44,7 @@ def transform_revision_list_output(revs): def load_command_table(self, _): - with self.command_group('containerapp') as g: + with self.command_group('containerapp', client_factory=cf_containerapps) 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) diff --git a/src/containerapp/azext_containerapp/custom.py b/src/containerapp/azext_containerapp/custom.py index 86aaebba9f5..c27dbeb56c1 100644 --- a/src/containerapp/azext_containerapp/custom.py +++ b/src/containerapp/azext_containerapp/custom.py @@ -19,6 +19,7 @@ InvalidArgumentValueError, ArgumentUsageError) from azure.cli.core.commands.client_factory import get_subscription_id +from azure.cli.core.commands import LongRunningOperation from azure.cli.core.util import open_page_in_browser from azure.cli.command_modules.appservice.utils import _normalize_location from knack.log import get_logger @@ -286,6 +287,7 @@ def create_containerapp_yaml(cmd, name, resource_group_name, file_name, no_wait= def create_containerapp(cmd, + client, name, resource_group_name, yaml=None, @@ -464,14 +466,11 @@ def create_containerapp(cmd, 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) + poller = client.begin_create_or_update(resource_group_name=resource_group_name, container_app_name=name, container_app_envelope=containerapp_def) + r = LongRunningOperation(cmd.cli_ctx)(poller) - 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"])) + if r.configuration.ingress and r.configuration.ingress.fqdn: + not disable_warnings and logger.warning("\nContainer app created. Access your app at https://{}/\n".format(r.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") @@ -481,6 +480,7 @@ def create_containerapp(cmd, def update_containerapp_logic(cmd, + client, name, resource_group_name, yaml=None, @@ -663,8 +663,8 @@ def update_containerapp_logic(cmd, _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) + poller = client.begin_create_or_update(resource_group_name=resource_group_name, container_app_name=name, container_app_envelope=containerapp_def) + r = LongRunningOperation(cmd.cli_ctx)(poller) 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)) @@ -716,43 +716,44 @@ def update_containerapp(cmd, no_wait) -def show_containerapp(cmd, name, resource_group_name): +def show_containerapp(cmd, client, name, resource_group_name): + import json _validate_subscription_registered(cmd, CONTAINER_APPS_RP) - try: - return ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + return client.get(resource_group_name=resource_group_name, container_app_name=name) except CLIError as e: handle_raw_exception(e) -def list_containerapp(cmd, resource_group_name=None, managed_env=None): +def list_containerapp(cmd, client, resource_group_name=None, managed_env=None): + from ._client_factory import cf_managedenvs _validate_subscription_registered(cmd, CONTAINER_APPS_RP) try: containerapps = [] if resource_group_name is None: - containerapps = ContainerAppClient.list_by_subscription(cmd=cmd) + containerapps = client.list_by_subscription() else: - containerapps = ContainerAppClient.list_by_resource_group(cmd=cmd, resource_group_name=resource_group_name) + containerapps = client.list_by_resource_group(resource_group_name=resource_group_name) if managed_env: env_name = parse_resource_id(managed_env)["name"].lower() if "resource_group" in parse_resource_id(managed_env): - ManagedEnvironmentClient.show(cmd, parse_resource_id(managed_env)["resource_group"], parse_resource_id(managed_env)["name"]) - containerapps = [c for c in containerapps if c["properties"]["managedEnvironmentId"].lower() == managed_env.lower()] + cf_managedenvs(cmd.cli_ctx, cmd).get(resource_group_name=parse_resource_id(managed_env)["resource_group"], environment_name=parse_resource_id(managed_env)["name"]) + containerapps = [c for c in containerapps if c.managed_environment_id.lower() == managed_env.lower()] else: - containerapps = [c for c in containerapps if parse_resource_id(c["properties"]["managedEnvironmentId"])["name"].lower() == env_name] + containerapps = [c for c in containerapps if parse_resource_id(c.managed_environment_id)["name"].lower() == env_name] return containerapps except CLIError as e: handle_raw_exception(e) -def delete_containerapp(cmd, name, resource_group_name, no_wait=False): +def delete_containerapp(cmd, client, name, resource_group_name, no_wait=False): _validate_subscription_registered(cmd, CONTAINER_APPS_RP) try: - return ContainerAppClient.delete(cmd=cmd, name=name, resource_group_name=resource_group_name, no_wait=no_wait) + return client.begin_delete(resource_group_name=resource_group_name, container_app_name=name) except CLIError as e: handle_raw_exception(e) @@ -2203,11 +2204,11 @@ def stream_containerapp_logs(cmd, resource_group_name, name, container=None, rev 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: +def open_containerapp_in_browser(cmd, client, name, resource_group_name): + app = client.get(resource_group_name=resource_group_name, container_app_name=name) + if not app.configuration.ingress or not app.configuration.ingress.fqdn: raise ValidationError("Could not open in browser: no public URL for this app") + url = app.configuration.ingress.fqdn if not url.startswith("http"): url = f"http://{url}" open_page_in_browser(url) From 7a340447cdfef7f7616940e3df66ae94037970de Mon Sep 17 00:00:00 2001 From: Haroon Feisal Date: Wed, 1 Jun 2022 16:17:26 -0400 Subject: [PATCH 05/15] Modified client factories. Use client for basic commands. Use sdk for yaml. --- .../azext_containerapp/__init__.py | 9 +- .../azext_containerapp/_client_factory.py | 10 +- src/containerapp/azext_containerapp/custom.py | 203 ++---------------- 3 files changed, 23 insertions(+), 199 deletions(-) diff --git a/src/containerapp/azext_containerapp/__init__.py b/src/containerapp/azext_containerapp/__init__.py index dcff6d86def..be425799a20 100644 --- a/src/containerapp/azext_containerapp/__init__.py +++ b/src/containerapp/azext_containerapp/__init__.py @@ -7,17 +7,20 @@ from azure.cli.core import AzCommandsLoader from azext_containerapp._help import helps # pylint: disable=unused-import - +from azext_containerapp._client_factory import app_client_factory class ContainerappCommandsLoader(AzCommandsLoader): def __init__(self, cli_ctx=None): from azure.cli.core.commands import CliCommandType + from azure.cli.core.profiles import ResourceType + containerapp_custom = CliCommandType( operations_tmpl='azext_containerapp.custom#{}', - client_factory=None) + client_factory=app_client_factory) super(ContainerappCommandsLoader, self).__init__(cli_ctx=cli_ctx, - custom_command_type=containerapp_custom) + custom_command_type=containerapp_custom, + resource_type=ResourceType.MGMT_APPCONTAINERS) def load_command_table(self, args): from azext_containerapp.commands import load_command_table diff --git a/src/containerapp/azext_containerapp/_client_factory.py b/src/containerapp/azext_containerapp/_client_factory.py index 41cee1c442e..8ade79a76d1 100644 --- a/src/containerapp/azext_containerapp/_client_factory.py +++ b/src/containerapp/azext_containerapp/_client_factory.py @@ -75,15 +75,15 @@ def log_analytics_shared_key_client_factory(cli_ctx): return get_mgmt_service_client(cli_ctx, LogAnalyticsManagementClient).shared_keys -def app_client_factory(cli_ctx, api_version=None, **_): - from azure.cli.core.profiles import ResourceType +def app_client_factory(cli_ctx, *_): + from azure.mgmt.appcontainers import ContainerAppsAPIClient from azure.cli.core.commands.client_factory import get_mgmt_service_client - return get_mgmt_service_client(cli_ctx, ResourceType.MGMT_APPCONTAINERS, api_version=api_version) + return get_mgmt_service_client(cli_ctx, ContainerAppsAPIClient) -def cf_containerapps(cli_ctx, _): +def cf_containerapps(cli_ctx, *_): return app_client_factory(cli_ctx).container_apps -def cf_managedenvs(cli_ctx, _): +def cf_managedenvs(cli_ctx, *_): return app_client_factory(cli_ctx).managed_environments diff --git a/src/containerapp/azext_containerapp/custom.py b/src/containerapp/azext_containerapp/custom.py index c27dbeb56c1..5a7a3a6fb6c 100644 --- a/src/containerapp/azext_containerapp/custom.py +++ b/src/containerapp/azext_containerapp/custom.py @@ -74,29 +74,13 @@ 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) + return yaml.safe_load(stream.read().replace('\x00','')) except (IOError, OSError) as ex: if getattr(ex, 'errno', 0) == errno.ENOENT: raise ValidationError('{} does not exist'.format(file_name)) from ex @@ -119,173 +103,6 @@ def create_deserializer(): 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, client, name, @@ -328,7 +145,9 @@ def create_containerapp(cmd, 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) + poller = client.begin_create_or_update(resource_group_name=resource_group_name, container_app_name=name, container_app_envelope=load_yaml_file(yaml)) + r = LongRunningOperation(cmd.cli_ctx)(poller) + return r if not image: image = "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest" @@ -507,7 +326,9 @@ def update_containerapp_logic(cmd, 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) + poller = client.begin_create_or_update(resource_group_name=resource_group_name, container_app_name=name, container_app_envelope=load_yaml_file(yaml)) + r = LongRunningOperation(cmd.cli_ctx)(poller) + return r containerapp_def = None try: @@ -665,16 +486,13 @@ def update_containerapp_logic(cmd, try: poller = client.begin_create_or_update(resource_group_name=resource_group_name, container_app_name=name, container_app_envelope=containerapp_def) r = LongRunningOperation(cmd.cli_ctx)(poller) - - 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, + client, name, resource_group_name, yaml=None, @@ -696,6 +514,7 @@ def update_containerapp(cmd, _validate_subscription_registered(cmd, CONTAINER_APPS_RP) return update_containerapp_logic(cmd, + client, name, resource_group_name, yaml, @@ -739,7 +558,7 @@ def list_containerapp(cmd, client, resource_group_name=None, managed_env=None): if managed_env: env_name = parse_resource_id(managed_env)["name"].lower() if "resource_group" in parse_resource_id(managed_env): - cf_managedenvs(cmd.cli_ctx, cmd).get(resource_group_name=parse_resource_id(managed_env)["resource_group"], environment_name=parse_resource_id(managed_env)["name"]) + cf_managedenvs(cmd.cli_ctx).get(resource_group_name=parse_resource_id(managed_env)["resource_group"], environment_name=parse_resource_id(managed_env)["name"]) containerapps = [c for c in containerapps if c.managed_environment_id.lower() == managed_env.lower()] else: containerapps = [c for c in containerapps if parse_resource_id(c.managed_environment_id)["name"].lower() == env_name] @@ -1307,6 +1126,7 @@ def deactivate_revision(cmd, resource_group_name, revision_name, name=None): def copy_revision(cmd, + client, resource_group_name, from_revision=None, # label=None, @@ -1336,6 +1156,7 @@ def copy_revision(cmd, name = _get_app_from_revision(from_revision) return update_containerapp_logic(cmd, + client, name, resource_group_name, yaml, From 342ae7b555a7c37f94dbb2437da7f4c0a2fbc1b4 Mon Sep 17 00:00:00 2001 From: Haroon Feisal Date: Thu, 2 Jun 2022 12:47:13 -0400 Subject: [PATCH 06/15] Progress. --- .../azext_containerapp/_client_factory.py | 4 ++++ src/containerapp/azext_containerapp/commands.py | 2 +- src/containerapp/azext_containerapp/custom.py | 11 +++++++---- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/containerapp/azext_containerapp/_client_factory.py b/src/containerapp/azext_containerapp/_client_factory.py index 8ade79a76d1..95d42476097 100644 --- a/src/containerapp/azext_containerapp/_client_factory.py +++ b/src/containerapp/azext_containerapp/_client_factory.py @@ -87,3 +87,7 @@ def cf_containerapps(cli_ctx, *_): def cf_managedenvs(cli_ctx, *_): return app_client_factory(cli_ctx).managed_environments + + +def cf_revisions(cli_ctx, *_): + return app_client_factory(cli_ctx).container_apps_revisions diff --git a/src/containerapp/azext_containerapp/commands.py b/src/containerapp/azext_containerapp/commands.py index 391b9195e00..7337b778294 100644 --- a/src/containerapp/azext_containerapp/commands.py +++ b/src/containerapp/azext_containerapp/commands.py @@ -100,7 +100,7 @@ def load_command_table(self, _): 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('copy', 'copy_revision', client_factory=cf_containerapps, 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: diff --git a/src/containerapp/azext_containerapp/custom.py b/src/containerapp/azext_containerapp/custom.py index 5a7a3a6fb6c..9e8422f15da 100644 --- a/src/containerapp/azext_containerapp/custom.py +++ b/src/containerapp/azext_containerapp/custom.py @@ -162,7 +162,8 @@ def create_containerapp(cmd, managed_env_info = None try: - managed_env_info = ManagedEnvironmentClient.show(cmd=cmd, resource_group_name=managed_env_rg, name=managed_env_name) + from ._client_factory import cf_managedenvs + managed_env_info = cf_managedenvs(cmd.cli_ctx).get(resource_group_name=parse_resource_id(managed_env)["resource_group"], environment_name=parse_resource_id(managed_env)["name"]).serialize() except: pass @@ -332,7 +333,7 @@ def update_containerapp_logic(cmd, containerapp_def = None try: - containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + containerapp_def = client.get(resource_group_name=resource_group_name, container_app_name=name).serialize() except: pass @@ -341,12 +342,14 @@ def update_containerapp_logic(cmd, if from_revision: try: - r = ContainerAppClient.show_revision(cmd=cmd, resource_group_name=resource_group_name, container_app_name=name, name=from_revision) + from ._client_factory import cf_revisions + r = cf_revisions(cmd.cli_ctx).get_revision(resource_group_name=resource_group_name, container_app_name=name, revision_name=from_revision) + print(r) 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) + _update_revision_env_secretrefs(r["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 From 29b2fd86124bc8b7b6fd2fa8be73754f0db6ffd1 Mon Sep 17 00:00:00 2001 From: Haroon Feisal Date: Thu, 2 Jun 2022 14:31:33 -0400 Subject: [PATCH 07/15] Updated identity add. --- .../azext_containerapp/commands.py | 2 +- src/containerapp/azext_containerapp/custom.py | 34 +- .../test_containerapp_identity_e2e.yaml | 3518 +++++++++++++++++ .../test_containerapp_identity_system.yaml | 2300 +---------- .../test_containerapp_identity_user.yaml | 419 ++ 5 files changed, 4027 insertions(+), 2246 deletions(-) create mode 100644 src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_identity_e2e.yaml create mode 100644 src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_identity_user.yaml diff --git a/src/containerapp/azext_containerapp/commands.py b/src/containerapp/azext_containerapp/commands.py index 7337b778294..16fa0a67efd 100644 --- a/src/containerapp/azext_containerapp/commands.py +++ b/src/containerapp/azext_containerapp/commands.py @@ -84,7 +84,7 @@ def load_command_table(self, _): 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: + with self.command_group('containerapp identity', client_factory=cf_containerapps) 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') diff --git a/src/containerapp/azext_containerapp/custom.py b/src/containerapp/azext_containerapp/custom.py index 9e8422f15da..6dc4ab66e14 100644 --- a/src/containerapp/azext_containerapp/custom.py +++ b/src/containerapp/azext_containerapp/custom.py @@ -343,18 +343,17 @@ def update_containerapp_logic(cmd, if from_revision: try: from ._client_factory import cf_revisions - r = cf_revisions(cmd.cli_ctx).get_revision(resource_group_name=resource_group_name, container_app_name=name, revision_name=from_revision) - print(r) + r = cf_revisions(cmd.cli_ctx).get_revision(resource_group_name=resource_group_name, container_app_name=name, revision_name=from_revision).as_dict() except CLIError as e: # Error handle the case where revision not found? handle_raw_exception(e) _update_revision_env_secretrefs(r["template"]["containers"], name) - containerapp_def["properties"]["template"] = r["properties"]["template"] + containerapp_def["template"] = r["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 "template" in containerapp_def and "containers" in containerapp_def["template"]: + for container in containerapp_def["template"]["containers"]: if "env" in container: for e in container["env"]: if "value" not in e: @@ -368,19 +367,19 @@ def update_containerapp_logic(cmd, _add_or_update_tags(containerapp_def, tags) if revision_suffix is not None: - containerapp_def["properties"]["template"]["revisionSuffix"] = revision_suffix + containerapp_def["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"] + if len(containerapp_def["template"]["containers"]) == 1: + container_name = containerapp_def["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"]: + for c in containerapp_def["template"]["containers"]: if c["name"].lower() == container_name.lower(): updating_existing_container = True @@ -473,16 +472,16 @@ def update_containerapp_logic(cmd, if resources_def is not None: container_def["resources"] = resources_def - containerapp_def["properties"]["template"]["containers"].append(container_def) + containerapp_def["template"]["containers"].append(container_def) # Scale if update_map["scale"]: - if "scale" not in containerapp_def["properties"]["template"]: - containerapp_def["properties"]["template"]["scale"] = {} + if "scale" not in containerapp_def["template"]: + containerapp_def["template"]["scale"] = {} if min_replicas is not None: - containerapp_def["properties"]["template"]["scale"]["minReplicas"] = min_replicas + containerapp_def["template"]["scale"]["minReplicas"] = min_replicas if max_replicas is not None: - containerapp_def["properties"]["template"]["scale"]["maxReplicas"] = max_replicas + containerapp_def["template"]["scale"]["maxReplicas"] = max_replicas _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) @@ -713,7 +712,7 @@ def delete_managed_environment(cmd, name, resource_group_name, no_wait=False): handle_raw_exception(e) -def assign_managed_identity(cmd, name, resource_group_name, system_assigned=False, user_assigned=None, no_wait=False): +def assign_managed_identity(cmd, client, name, resource_group_name, system_assigned=False, user_assigned=None, no_wait=False): _validate_subscription_registered(cmd, CONTAINER_APPS_RP) assign_system_identity = system_assigned @@ -725,7 +724,7 @@ def assign_managed_identity(cmd, name, resource_group_name, system_assigned=Fals # Get containerapp properties of CA we are updating try: - containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + containerapp_def = client.get(resource_group_name=resource_group_name, container_app_name=name).serialize() except: pass @@ -785,7 +784,8 @@ def assign_managed_identity(cmd, name, resource_group_name, system_assigned=Fals 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) + poller = client.begin_create_or_update(resource_group_name=resource_group_name, container_app_name=name, container_app_envelope=containerapp_def) + r = LongRunningOperation(cmd.cli_ctx)(poller).serialize() # If identity is not returned, do nothing return r["identity"] diff --git a/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_identity_e2e.yaml b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_identity_e2e.yaml new file mode 100644 index 00000000000..8a977d9d555 --- /dev/null +++ b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_identity_e2e.yaml @@ -0,0 +1,3518 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor log-analytics workspace create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2022-06-02T18:27:53Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '311' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:27: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: '{"location": "eastus2", "properties": {"sku": {"name": "PerGB2018"}, "retentionInDays": + 30, "workspaceCapping": {}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor log-analytics workspace create + Connection: + - keep-alive + Content-Length: + - '116' + Content-Type: + - application/json + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000005?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"09aca7f6-0c42-4592-8d25-854b419fc38e\",\r\n \"provisioningState\": \"Creating\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Thu, 02 Jun 2022 18:27:58 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, 03 Jun 2022 04:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Thu, 02 Jun 2022 18:27:58 GMT\",\r\n + \ \"modifiedDate\": \"Thu, 02 Jun 2022 18:27:58 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.operationalinsights/workspaces/containerapp-env000005\",\r\n + \ \"name\": \"containerapp-env000005\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus2\"\r\n}" + headers: + access-control-allow-origin: + - '*' + cache-control: + - no-cache + content-length: + - '1079' + content-type: + - application/json + date: + - Thu, 02 Jun 2022 18:27:57 GMT + pragma: + - no-cache + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 + server: + - 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: + - monitor log-analytics workspace create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000005?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"09aca7f6-0c42-4592-8d25-854b419fc38e\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Thu, 02 Jun 2022 18:27:58 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, 03 Jun 2022 04:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Thu, 02 Jun 2022 18:27:58 GMT\",\r\n + \ \"modifiedDate\": \"Thu, 02 Jun 2022 18:27:59 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.operationalinsights/workspaces/containerapp-env000005\",\r\n + \ \"name\": \"containerapp-env000005\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus2\"\r\n}" + headers: + access-control-allow-origin: + - '*' + cache-control: + - no-cache + content-length: + - '1080' + content-type: + - application/json + date: + - Thu, 02 Jun 2022 18:28:28 GMT + pragma: + - no-cache + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,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: + - monitor log-analytics workspace get-shared-keys + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000005/sharedKeys?api-version=2020-08-01 + response: + body: + string: "{\r\n \"primarySharedKey\": \"Z1F8dMLiln3lpHCzbkLiICbgN5mgdGvBifjLp/gMx8xC6Hr+2iFS5dl6Ra89XOHnk00lR0A960Pj2cZc44s+UQ==\",\r\n + \ \"secondarySharedKey\": \"2CgUQrscb3cmq/kwmdtCLHlZmNdfJzunuvTtXg0bO1tAzdIewo2UP/GRLyqm7ipaJwFBX5YUPu5xAttrG+k8BA==\"\r\n}" + headers: + access-control-allow-origin: + - '*' + cache-control: + - no-cache + cachecontrol: + - no-cache + content-length: + - '235' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:28:28 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 + server: + - 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2022-06-02T18:27:53Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '311' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:28:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:28:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:28: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": "eastus2", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": + {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": + "09aca7f6-0c42-4592-8d25-854b419fc38e", "sharedKey": "Z1F8dMLiln3lpHCzbkLiICbgN5mgdGvBifjLp/gMx8xC6Hr+2iFS5dl6Ra89XOHnk00lR0A960Pj2cZc44s+UQ=="}}, + "zoneRedundant": false}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + Content-Length: + - '424' + Content-Type: + - application/json + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925Z","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus2/managedEnvironmentOperationStatuses/d942e929-a5e4-4667-bc1a-58674ff61c96?api-version=2022-03-01&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '794' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:28:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-async-operation-timeout: + - PT15M + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:28: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 env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:28:37 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:28: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 env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:28:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:28:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:28:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:28: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 env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:28:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:28: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 env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:28: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 env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:29:01 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:29:04 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:29:07 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '794' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:29: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 env show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:29:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '794' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:29:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:29: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 create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '794' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:29: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 create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:29: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: '{"location": "eastus2", "identity": {"type": "None"}, "properties": {"managedEnvironmentId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", + "configuration": {"activeRevisionsMode": "single"}, "template": {"containers": + [{"image": "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest", "name": + "containerapp000003"}]}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp create + Connection: + - keep-alive + Content-Length: + - '433' + Content-Type: + - application/json + ParameterSetName: + - -g -n --environment + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432Z","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:29:14.5819432Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus2/containerappOperationStatuses/634e3b15-d835-4911-825f-8150d7662f4a?api-version=2022-03-01&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1188' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:29:16 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 create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus2/containerappOperationStatuses/634e3b15-d835-4911-825f-8150d7662f4a?api-version=2022-03-01&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus2/containerappOperationStatuses/634e3b15-d835-4911-825f-8150d7662f4a","name":"634e3b15-d835-4911-825f-8150d7662f4a","status":"InProgress","startTime":"2022-06-02T18:29:14.8076163"}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '279' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:29: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 create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus2/containerappOperationStatuses/634e3b15-d835-4911-825f-8150d7662f4a?api-version=2022-03-01&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus2/containerappOperationStatuses/634e3b15-d835-4911-825f-8150d7662f4a","name":"634e3b15-d835-4911-825f-8150d7662f4a","status":"Succeeded","startTime":"2022-06-02T18:29:14.8076163"}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '278' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:29: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 create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:29:14.5819432"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1212' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:29: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 identity assign + Connection: + - keep-alive + ParameterSetName: + - --system-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:29: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 identity assign + Connection: + - keep-alive + ParameterSetName: + - --system-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:29:14.5819432"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1212' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:29: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: '{"location": "East US 2", "identity": {"type": "SystemAssigned"}, "properties": + {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", + "configuration": {"secrets": [], "activeRevisionsMode": "Single"}, "template": + {"containers": [{"image": "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest", + "name": "containerapp000003", "resources": {"cpu": 0.5, "memory": "1Gi"}}], + "scale": {"maxReplicas": 10}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp identity assign + Connection: + - keep-alive + Content-Length: + - '534' + Content-Type: + - application/json + ParameterSetName: + - --system-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:29:55.4867735Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"d227cc3f-5bfd-4032-ad33-3c53aea33afb","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus2/containerappOperationStatuses/f68994f5-a602-47d3-9460-039acd87bd1d?api-version=2022-03-01&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1327' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:29:56 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 identity assign + Connection: + - keep-alive + ParameterSetName: + - --system-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus2/containerappOperationStatuses/f68994f5-a602-47d3-9460-039acd87bd1d?api-version=2022-03-01&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus2/containerappOperationStatuses/f68994f5-a602-47d3-9460-039acd87bd1d","name":"f68994f5-a602-47d3-9460-039acd87bd1d","status":"Succeeded","startTime":"2022-06-02T18:29:56.539736"}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '277' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:30: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 identity assign + Connection: + - keep-alive + ParameterSetName: + - --system-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:29:55.4867735"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"d227cc3f-5bfd-4032-ad33-3c53aea33afb","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1325' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:30: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: + - identity create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2022-06-02T18:27:53Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '311' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:30: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": "eastus2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - identity create + Connection: + - keep-alive + Content-Length: + - '23' + Content-Type: + - application/json + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-msi/6.0.1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004?api-version=2021-09-30-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004","name":"containerapp000004","type":"Microsoft.ManagedIdentity/userAssignedIdentities","location":"eastus2","tags":{},"properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"5b888884-6cb3-45e7-8508-8da73720cdf8","clientId":"3ca82eda-90c3-439c-99d4-66cb992a9321"}}' + headers: + cache-control: + - no-cache + content-length: + - '455' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:30:04 GMT + expires: + - '-1' + location: + - /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp identity assign + Connection: + - keep-alive + ParameterSetName: + - --user-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:30:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp identity assign + Connection: + - keep-alive + ParameterSetName: + - --user-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:29:55.4867735"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"d227cc3f-5bfd-4032-ad33-3c53aea33afb","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1325' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:30: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: '{"location": "East US 2", "identity": {"type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": {"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004": + {}}}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", + "configuration": {"secrets": [], "activeRevisionsMode": "Single"}, "template": + {"containers": [{"image": "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest", + "name": "containerapp000003", "resources": {"cpu": 0.5, "memory": "1Gi"}}], + "scale": {"maxReplicas": 10}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp identity assign + Connection: + - keep-alive + Content-Length: + - '744' + Content-Type: + - application/json + ParameterSetName: + - --user-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:06.9034271Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned, + UserAssigned","principalId":"d227cc3f-5bfd-4032-ad33-3c53aea33afb","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004":{"principalId":"5b888884-6cb3-45e7-8508-8da73720cdf8","clientId":"3ca82eda-90c3-439c-99d4-66cb992a9321"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus2/containerappOperationStatuses/404a7cfc-92b9-45fd-82ca-b0b222f5abb7?api-version=2022-03-01&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1637' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:30:07 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 identity assign + Connection: + - keep-alive + ParameterSetName: + - --user-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus2/containerappOperationStatuses/404a7cfc-92b9-45fd-82ca-b0b222f5abb7?api-version=2022-03-01&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus2/containerappOperationStatuses/404a7cfc-92b9-45fd-82ca-b0b222f5abb7","name":"404a7cfc-92b9-45fd-82ca-b0b222f5abb7","status":"Succeeded","startTime":"2022-06-02T18:30:07.696818"}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '277' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:30: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 identity assign + Connection: + - keep-alive + ParameterSetName: + - --user-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:06.9034271"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned, + UserAssigned","principalId":"d227cc3f-5bfd-4032-ad33-3c53aea33afb","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004":{"principalId":"5b888884-6cb3-45e7-8508-8da73720cdf8","clientId":"3ca82eda-90c3-439c-99d4-66cb992a9321"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1635' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:30: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 identity show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:30: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 identity show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:06.9034271"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned, + UserAssigned","principalId":"d227cc3f-5bfd-4032-ad33-3c53aea33afb","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004":{"principalId":"5b888884-6cb3-45e7-8508-8da73720cdf8","clientId":"3ca82eda-90c3-439c-99d4-66cb992a9321"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1635' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:30: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 identity remove + Connection: + - keep-alive + ParameterSetName: + - --user-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:30: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 identity remove + Connection: + - keep-alive + ParameterSetName: + - --user-assigned -g -n + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:06.9034271"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned, + UserAssigned","principalId":"d227cc3f-5bfd-4032-ad33-3c53aea33afb","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004":{"principalId":"5b888884-6cb3-45e7-8508-8da73720cdf8","clientId":"3ca82eda-90c3-439c-99d4-66cb992a9321"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1635' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:30: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: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003", + "name": "containerapp000003", "type": "Microsoft.App/containerApps", "location": + "East US 2", "systemData": {"createdBy": "haroonfeisal@microsoft.com", "createdByType": + "User", "createdAt": "2022-06-02T18:29:14.5819432", "lastModifiedBy": "haroonfeisal@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-06-02T18:30:06.9034271"}, + "properties": {"provisioningState": "Succeeded", "managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", + "outboundIpAddresses": ["20.96.98.219", "20.96.98.189", "20.96.98.187"], "latestRevisionName": + "containerapp000003--ikj3hvy", "latestRevisionFqdn": "", "customDomainVerificationId": + "99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E", "configuration": + {"activeRevisionsMode": "Single", "secrets": []}, "template": {"containers": + [{"image": "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest", "name": + "containerapp000003", "resources": {"cpu": 0.5, "memory": "1Gi"}}], "scale": + {"maxReplicas": 10}}}, "identity": {"type": "SystemAssigned", "principalId": + "d227cc3f-5bfd-4032-ad33-3c53aea33afb", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "userAssignedIdentities": null}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp identity remove + Connection: + - keep-alive + Content-Length: + - '1431' + Content-Type: + - application/json + ParameterSetName: + - --user-assigned -g -n + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:17.6016386Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"d227cc3f-5bfd-4032-ad33-3c53aea33afb","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus2/containerappOperationStatuses/372c5e64-66fc-4dbf-a6f4-0ff6ef882821?api-version=2022-03-01&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1327' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:30: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-resource-requests: + - '499' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp identity remove + Connection: + - keep-alive + ParameterSetName: + - --user-assigned -g -n + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:17.6016386"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"d227cc3f-5bfd-4032-ad33-3c53aea33afb","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1326' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:30: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 identity remove + Connection: + - keep-alive + ParameterSetName: + - --user-assigned -g -n + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:17.6016386"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"d227cc3f-5bfd-4032-ad33-3c53aea33afb","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1326' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:30: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 identity remove + Connection: + - keep-alive + ParameterSetName: + - --user-assigned -g -n + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:17.6016386"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"d227cc3f-5bfd-4032-ad33-3c53aea33afb","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1326' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:30: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 identity remove + Connection: + - keep-alive + ParameterSetName: + - --user-assigned -g -n + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:17.6016386"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"d227cc3f-5bfd-4032-ad33-3c53aea33afb","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1325' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:30:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp identity show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:30:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp identity show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:17.6016386"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"d227cc3f-5bfd-4032-ad33-3c53aea33afb","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1325' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:30: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 identity remove + Connection: + - keep-alive + ParameterSetName: + - --system-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:30: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 identity remove + Connection: + - keep-alive + ParameterSetName: + - --system-assigned -g -n + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:17.6016386"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"d227cc3f-5bfd-4032-ad33-3c53aea33afb","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1325' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:30: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: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003", + "name": "containerapp000003", "type": "Microsoft.App/containerApps", "location": + "East US 2", "systemData": {"createdBy": "haroonfeisal@microsoft.com", "createdByType": + "User", "createdAt": "2022-06-02T18:29:14.5819432", "lastModifiedBy": "haroonfeisal@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-06-02T18:30:17.6016386"}, + "properties": {"provisioningState": "Succeeded", "managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", + "outboundIpAddresses": ["20.96.98.219", "20.96.98.189", "20.96.98.187"], "latestRevisionName": + "containerapp000003--ikj3hvy", "latestRevisionFqdn": "", "customDomainVerificationId": + "99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E", "configuration": + {"activeRevisionsMode": "Single", "secrets": []}, "template": {"containers": + [{"image": "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest", "name": + "containerapp000003", "resources": {"cpu": 0.5, "memory": "1Gi"}}], "scale": + {"maxReplicas": 10}}}, "identity": {"type": "None", "principalId": "d227cc3f-5bfd-4032-ad33-3c53aea33afb", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp identity remove + Connection: + - keep-alive + Content-Length: + - '1389' + Content-Type: + - application/json + ParameterSetName: + - --system-assigned -g -n + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:32.3551357Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus2/containerappOperationStatuses/e33a68bd-f567-464e-825a-ceb1d55ed455?api-version=2022-03-01&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1214' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:30:34 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 identity remove + Connection: + - keep-alive + ParameterSetName: + - --system-assigned -g -n + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:32.3551357"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1213' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:30: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 identity remove + Connection: + - keep-alive + ParameterSetName: + - --system-assigned -g -n + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:32.3551357"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1213' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:30: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 identity remove + Connection: + - keep-alive + ParameterSetName: + - --system-assigned -g -n + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:32.3551357"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1213' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:30: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 identity remove + Connection: + - keep-alive + ParameterSetName: + - --system-assigned -g -n + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:32.3551357"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1212' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:30: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp identity show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:30: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 identity show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:32.3551357"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1212' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:30: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 +version: 1 diff --git a/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_identity_system.yaml b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_identity_system.yaml index 5396fe4a9d5..377b6ac7eed 100644 --- a/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_identity_system.yaml +++ b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_identity_system.yaml @@ -13,12 +13,12 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.6 (macOS-10.16-x86_64-i386-64bit) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"canadacentral","tags":{"product":"azurecli","cause":"automation","date":"2022-05-12T20:38:03Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"canadacentral","tags":{"product":"azurecli","cause":"automation","date":"2022-06-02T18:02:33Z"},"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:38:20 GMT + - Thu, 02 Jun 2022 18:02:36 GMT expires: - '-1' pragma: @@ -60,12 +60,12 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.6 (macOS-10.16-x86_64-i386-64bit) + - AZURECLI/2.37.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004?api-version=2021-12-01-preview response: body: - string: '{"properties":{"customerId":"be1ff293-6d08-4bd8-92f3-bcad37f3a94d","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2022-05-12T20:38:25.2070428Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2022-05-12T23:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2022-05-12T20:38:25.2070428Z","modifiedDate":"2022-05-12T20:38:25.2070428Z"},"location":"canadacentral","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004","name":"containerapp-env000004","type":"Microsoft.OperationalInsights/workspaces"}' + string: '{"properties":{"customerId":"4e9b9be4-106a-4b36-b66e-ba4e2f60e9a9","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2022-06-02T18:02:38.0475431Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2022-06-03T11:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2022-06-02T18:02:38.0475431Z","modifiedDate":"2022-06-02T18:02:38.0475431Z"},"location":"canadacentral","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004","name":"containerapp-env000004","type":"Microsoft.OperationalInsights/workspaces"}' headers: access-control-allow-origin: - '*' @@ -78,7 +78,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:38:26 GMT + - Thu, 02 Jun 2022 18:02:39 GMT expires: - '-1' location: @@ -114,12 +114,12 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.6 (macOS-10.16-x86_64-i386-64bit) + - AZURECLI/2.37.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004?api-version=2021-12-01-preview response: body: - string: '{"properties":{"customerId":"be1ff293-6d08-4bd8-92f3-bcad37f3a94d","provisioningState":"Succeeded","sku":{"name":"PerGB2018","lastSkuUpdate":"2022-05-12T20:38:25.2070428Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2022-05-12T23:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2022-05-12T20:38:25.2070428Z","modifiedDate":"2022-05-12T20:38:25.2070428Z"},"location":"canadacentral","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004","name":"containerapp-env000004","type":"Microsoft.OperationalInsights/workspaces"}' + string: '{"properties":{"customerId":"4e9b9be4-106a-4b36-b66e-ba4e2f60e9a9","provisioningState":"Succeeded","sku":{"name":"PerGB2018","lastSkuUpdate":"2022-06-02T18:02:38.0475431Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2022-06-03T11:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2022-06-02T18:02:38.0475431Z","modifiedDate":"2022-06-02T18:02:38.0475431Z"},"location":"canadacentral","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004","name":"containerapp-env000004","type":"Microsoft.OperationalInsights/workspaces"}' headers: access-control-allow-origin: - '*' @@ -132,7 +132,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:38:57 GMT + - Thu, 02 Jun 2022 18:03:08 GMT expires: - '-1' pragma: @@ -170,12 +170,12 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.6 (macOS-10.16-x86_64-i386-64bit) + - AZURECLI/2.37.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004/sharedKeys?api-version=2020-08-01 response: body: - string: '{"primarySharedKey":"y+c9EwTK14pMoTLiMpIe8qkAXRdgLASDdt5IWyrczsK7xXuXGMvnYrDU6/4J8cLkl2m9ioABv1eF/S9xU9AIyA==","secondarySharedKey":"KgnmhYFfOOMZlxEgueT47aSkGQ30T+NS0yuwKC03adKzbXUOb5zQHb1aChcRkZbrIrhPX98cXstFrCaqD0p7tQ=="}' + string: '{"primarySharedKey":"AbEtz2lqOz2iNolmfKgCCosrmVVMEYf283Dy4xo0YMRNvDCnfJx3D7O1otbgwoKYd6YZ1Syga29DSrkA1zfBHw==","secondarySharedKey":"rrMF9fNtFoVGORiEzrNN7ziiLDU+UhgAXdjaMH9A0aCsZfNhoLs9HyWcV0uANNBZ0LqIQ7OsrP0OsI2Y1ni3+g=="}' headers: access-control-allow-origin: - '*' @@ -188,7 +188,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:38:57 GMT + - Thu, 02 Jun 2022 18:03:09 GMT expires: - '-1' pragma: @@ -226,12 +226,12 @@ interactions: ParameterSetName: - -g -n --logs-workspace-id --logs-workspace-key User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.6 (macOS-10.16-x86_64-i386-64bit) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"canadacentral","tags":{"product":"azurecli","cause":"automation","date":"2022-05-12T20:38:03Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"canadacentral","tags":{"product":"azurecli","cause":"automation","date":"2022-06-02T18:02:33Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -240,7 +240,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:38:58 GMT + - Thu, 02 Jun 2022 18:03:11 GMT expires: - '-1' pragma: @@ -268,41 +268,49 @@ interactions: ParameterSetName: - -g -n --logs-workspace-id --logs-workspace-key User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.6 (macOS-10.16-x86_64-i386-64bit) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + US 2","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + US 2","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + US 2","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + US 2","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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"}' + Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' headers: cache-control: - no-cache content-length: - - '2863' + - '3551' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:38:58 GMT + - Thu, 02 Jun 2022 18:03:11 GMT expires: - '-1' pragma: @@ -330,41 +338,49 @@ interactions: ParameterSetName: - -g -n --logs-workspace-id --logs-workspace-key User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.6 (macOS-10.16-x86_64-i386-64bit) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + US 2","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + US 2","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + US 2","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + US 2","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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"}' + Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' headers: cache-control: - no-cache content-length: - - '2863' + - '3551' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:38:59 GMT + - Thu, 02 Jun 2022 18:03:12 GMT expires: - '-1' pragma: @@ -382,7 +398,8 @@ interactions: body: '{"location": "canadacentral", "tags": null, "properties": {"daprAIInstrumentationKey": null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": - "be1ff293-6d08-4bd8-92f3-bcad37f3a94d", "sharedKey": "y+c9EwTK14pMoTLiMpIe8qkAXRdgLASDdt5IWyrczsK7xXuXGMvnYrDU6/4J8cLkl2m9ioABv1eF/S9xU9AIyA=="}}}}' + "4e9b9be4-106a-4b36-b66e-ba4e2f60e9a9", "sharedKey": "AbEtz2lqOz2iNolmfKgCCosrmVVMEYf283Dy4xo0YMRNvDCnfJx3D7O1otbgwoKYd6YZ1Syga29DSrkA1zfBHw=="}}, + "zoneRedundant": false}}' headers: Accept: - '*/*' @@ -393,31 +410,31 @@ interactions: Connection: - keep-alive Content-Length: - - '406' + - '430' Content-Type: - application/json ParameterSetName: - -g -n --logs-workspace-id --logs-workspace-key User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"canadacentral","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:01.8731835Z","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:39:01.8731835Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"orangemushroom-25ba6972.canadacentral.azurecontainerapps.io","staticIp":"20.200.103.157","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"be1ff293-6d08-4bd8-92f3-bcad37f3a94d"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"canadacentral","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:03:13.8562013Z","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:03:13.8562013Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollyhill-9605676d.canadacentral.azurecontainerapps.io","staticIp":"20.116.147.223","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"4e9b9be4-106a-4b36-b66e-ba4e2f60e9a9"}},"zoneRedundant":false}}' headers: api-supported-versions: - - 2022-01-01-preview, 2022-03-01 + - 2022-01-01-preview, 2022-03-01, 2022-05-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/canadacentral/managedEnvironmentOperationStatuses/c73e5170-e196-4b8c-b442-1d7e37d294fc?api-version=2022-03-01&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/canadacentral/managedEnvironmentOperationStatuses/20365ed3-ffd1-4ca8-946b-809afd91a59d?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '813' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:39:02 GMT + - Thu, 02 Jun 2022 18:03:14 GMT expires: - '-1' pragma: @@ -451,23 +468,23 @@ interactions: ParameterSetName: - -g -n --logs-workspace-id --logs-workspace-key User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"canadacentral","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:01.8731835","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:39:01.8731835"},"properties":{"provisioningState":"Waiting","defaultDomain":"orangemushroom-25ba6972.canadacentral.azurecontainerapps.io","staticIp":"20.200.103.157","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"be1ff293-6d08-4bd8-92f3-bcad37f3a94d"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"canadacentral","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:03:13.8562013","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:03:13.8562013"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollyhill-9605676d.canadacentral.azurecontainerapps.io","staticIp":"20.116.147.223","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"4e9b9be4-106a-4b36-b66e-ba4e2f60e9a9"}},"zoneRedundant":false}}' headers: api-supported-versions: - - 2022-01-01-preview, 2022-03-01 + - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '811' + - '808' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:39:03 GMT + - Thu, 02 Jun 2022 18:03:15 GMT expires: - '-1' pragma: @@ -501,2196 +518,23 @@ interactions: ParameterSetName: - -g -n --logs-workspace-id --logs-workspace-key User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"canadacentral","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:01.8731835","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:39:01.8731835"},"properties":{"provisioningState":"Waiting","defaultDomain":"orangemushroom-25ba6972.canadacentral.azurecontainerapps.io","staticIp":"20.200.103.157","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"be1ff293-6d08-4bd8-92f3-bcad37f3a94d"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"canadacentral","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:03:13.8562013","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:03:13.8562013"},"properties":{"provisioningState":"Waiting","defaultDomain":"jollyhill-9605676d.canadacentral.azurecontainerapps.io","staticIp":"20.116.147.223","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"4e9b9be4-106a-4b36-b66e-ba4e2f60e9a9"}},"zoneRedundant":false}}' headers: api-supported-versions: - - 2022-01-01-preview, 2022-03-01 + - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '811' + - '808' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20: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 env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"canadacentral","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:01.8731835","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:39:01.8731835"},"properties":{"provisioningState":"Waiting","defaultDomain":"orangemushroom-25ba6972.canadacentral.azurecontainerapps.io","staticIp":"20.200.103.157","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"be1ff293-6d08-4bd8-92f3-bcad37f3a94d"}},"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: - - Thu, 12 May 2022 20:39: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 env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"canadacentral","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:01.8731835","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:39:01.8731835"},"properties":{"provisioningState":"Waiting","defaultDomain":"orangemushroom-25ba6972.canadacentral.azurecontainerapps.io","staticIp":"20.200.103.157","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"be1ff293-6d08-4bd8-92f3-bcad37f3a94d"}},"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: - - Thu, 12 May 2022 20:39: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 env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"canadacentral","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:01.8731835","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:39:01.8731835"},"properties":{"provisioningState":"Waiting","defaultDomain":"orangemushroom-25ba6972.canadacentral.azurecontainerapps.io","staticIp":"20.200.103.157","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"be1ff293-6d08-4bd8-92f3-bcad37f3a94d"}},"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: - - Thu, 12 May 2022 20:39:17 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"canadacentral","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:01.8731835","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:39:01.8731835"},"properties":{"provisioningState":"Waiting","defaultDomain":"orangemushroom-25ba6972.canadacentral.azurecontainerapps.io","staticIp":"20.200.103.157","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"be1ff293-6d08-4bd8-92f3-bcad37f3a94d"}},"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: - - Thu, 12 May 2022 20:39:20 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"canadacentral","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:01.8731835","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:39:01.8731835"},"properties":{"provisioningState":"Waiting","defaultDomain":"orangemushroom-25ba6972.canadacentral.azurecontainerapps.io","staticIp":"20.200.103.157","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"be1ff293-6d08-4bd8-92f3-bcad37f3a94d"}},"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: - - Thu, 12 May 2022 20:39:24 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"canadacentral","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:01.8731835","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:39:01.8731835"},"properties":{"provisioningState":"Waiting","defaultDomain":"orangemushroom-25ba6972.canadacentral.azurecontainerapps.io","staticIp":"20.200.103.157","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"be1ff293-6d08-4bd8-92f3-bcad37f3a94d"}},"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: - - Thu, 12 May 2022 20:39:27 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"canadacentral","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:01.8731835","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:39:01.8731835"},"properties":{"provisioningState":"Waiting","defaultDomain":"orangemushroom-25ba6972.canadacentral.azurecontainerapps.io","staticIp":"20.200.103.157","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"be1ff293-6d08-4bd8-92f3-bcad37f3a94d"}},"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: - - Thu, 12 May 2022 20:39: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 env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"canadacentral","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:01.8731835","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:39:01.8731835"},"properties":{"provisioningState":"Waiting","defaultDomain":"orangemushroom-25ba6972.canadacentral.azurecontainerapps.io","staticIp":"20.200.103.157","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"be1ff293-6d08-4bd8-92f3-bcad37f3a94d"}},"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: - - Thu, 12 May 2022 20:39: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 env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"canadacentral","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:01.8731835","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:39:01.8731835"},"properties":{"provisioningState":"Waiting","defaultDomain":"orangemushroom-25ba6972.canadacentral.azurecontainerapps.io","staticIp":"20.200.103.157","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"be1ff293-6d08-4bd8-92f3-bcad37f3a94d"}},"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: - - Thu, 12 May 2022 20:39:38 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"canadacentral","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:01.8731835","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:39:01.8731835"},"properties":{"provisioningState":"Succeeded","defaultDomain":"orangemushroom-25ba6972.canadacentral.azurecontainerapps.io","staticIp":"20.200.103.157","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"be1ff293-6d08-4bd8-92f3-bcad37f3a94d"}},"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: - - Thu, 12 May 2022 20:39: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 env show - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.6 (macOS-10.16-x86_64-i386-64bit) - 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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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: - - '2863' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 12 May 2022 20:39: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: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp env show - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"canadacentral","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:01.8731835","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:39:01.8731835"},"properties":{"provisioningState":"Succeeded","defaultDomain":"orangemushroom-25ba6972.canadacentral.azurecontainerapps.io","staticIp":"20.200.103.157","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"be1ff293-6d08-4bd8-92f3-bcad37f3a94d"}},"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: - - Thu, 12 May 2022 20:39: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 create - Connection: - - keep-alive - ParameterSetName: - - -g -n --environment --system-assigned - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.6 (macOS-10.16-x86_64-i386-64bit) - 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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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: - - '2863' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 12 May 2022 20:39: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 create - Connection: - - keep-alive - ParameterSetName: - - -g -n --environment --system-assigned - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"canadacentral","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:01.8731835","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:39:01.8731835"},"properties":{"provisioningState":"Succeeded","defaultDomain":"orangemushroom-25ba6972.canadacentral.azurecontainerapps.io","staticIp":"20.200.103.157","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"be1ff293-6d08-4bd8-92f3-bcad37f3a94d"}},"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: - - Thu, 12 May 2022 20:39: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp create - Connection: - - keep-alive - ParameterSetName: - - -g -n --environment --system-assigned - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.6 (macOS-10.16-x86_64-i386-64bit) - 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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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: - - '2863' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 12 May 2022 20:39: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": "canadacentral", "identity": {"type": "SystemAssigned", "userAssignedIdentities": - null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", - "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": - null, "dapr": null, "registries": null}, "template": {"revisionSuffix": null, - "containers": [{"image": "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest", - "name": "containerapp000003", "command": null, "args": null, "env": null, "resources": - null, "volumeMounts": null}], "scale": null, "volumes": null}}, "tags": null}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp create - Connection: - - keep-alive - Content-Length: - - '704' - Content-Type: - - application/json - ParameterSetName: - - -g -n --environment --system-assigned - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"Canada - Central","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:47.1175905Z","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:39:47.1175905Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.116.82.15","20.116.84.46","20.116.84.47"],"latestRevisionFqdn":"","customDomainVerificationId":"333646C25EDA7C903C86F0F0D0193C412978B2E48FA0B4F1461D339FBBAE3EB7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"68ccbb53-0041-4229-af80-32e82898329a","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - 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/canadacentral/containerappOperationStatuses/6bb7b355-45cb-4711-8a02-3ee701c9d404?api-version=2022-03-01&azureAsyncOperation=true - cache-control: - - no-cache - content-length: - - '1280' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 12 May 2022 20:39: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-resource-requests: - - '499' - x-powered-by: - - ASP.NET - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp create - Connection: - - keep-alive - ParameterSetName: - - -g -n --environment --system-assigned - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"Canada - Central","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:47.1175905","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:39:47.1175905"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.116.82.15","20.116.84.46","20.116.84.47"],"latestRevisionName":"containerapp000003--nx8nz31","latestRevisionFqdn":"","customDomainVerificationId":"333646C25EDA7C903C86F0F0D0193C412978B2E48FA0B4F1461D339FBBAE3EB7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"68ccbb53-0041-4229-af80-32e82898329a","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1329' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 12 May 2022 20:39: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 create - Connection: - - keep-alive - ParameterSetName: - - -g -n --environment --system-assigned - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"Canada - Central","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:47.1175905","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:39:47.1175905"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.116.82.15","20.116.84.46","20.116.84.47"],"latestRevisionName":"containerapp000003--nx8nz31","latestRevisionFqdn":"","customDomainVerificationId":"333646C25EDA7C903C86F0F0D0193C412978B2E48FA0B4F1461D339FBBAE3EB7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"68ccbb53-0041-4229-af80-32e82898329a","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1329' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 12 May 2022 20: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 create - Connection: - - keep-alive - ParameterSetName: - - -g -n --environment --system-assigned - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"Canada - Central","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:47.1175905","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:39:47.1175905"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.116.82.15","20.116.84.46","20.116.84.47"],"latestRevisionName":"containerapp000003--nx8nz31","latestRevisionFqdn":"","customDomainVerificationId":"333646C25EDA7C903C86F0F0D0193C412978B2E48FA0B4F1461D339FBBAE3EB7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"68ccbb53-0041-4229-af80-32e82898329a","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1329' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 12 May 2022 20:39: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 create - Connection: - - keep-alive - ParameterSetName: - - -g -n --environment --system-assigned - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"Canada - Central","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:47.1175905","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:39:47.1175905"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.116.82.15","20.116.84.46","20.116.84.47"],"latestRevisionName":"containerapp000003--nx8nz31","latestRevisionFqdn":"","customDomainVerificationId":"333646C25EDA7C903C86F0F0D0193C412978B2E48FA0B4F1461D339FBBAE3EB7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"68ccbb53-0041-4229-af80-32e82898329a","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1328' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 12 May 2022 20:40: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 identity show - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.6 (macOS-10.16-x86_64-i386-64bit) - 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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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: - - '2863' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 12 May 2022 20:40: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 identity show - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"Canada - Central","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:47.1175905","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:39:47.1175905"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.116.82.15","20.116.84.46","20.116.84.47"],"latestRevisionName":"containerapp000003--nx8nz31","latestRevisionFqdn":"","customDomainVerificationId":"333646C25EDA7C903C86F0F0D0193C412978B2E48FA0B4F1461D339FBBAE3EB7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"68ccbb53-0041-4229-af80-32e82898329a","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1328' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 12 May 2022 20:40: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity remove - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.6 (macOS-10.16-x86_64-i386-64bit) - 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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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: - - '2863' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 12 May 2022 20:40:04 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity remove - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"Canada - Central","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:47.1175905","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:39:47.1175905"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.116.82.15","20.116.84.46","20.116.84.47"],"latestRevisionName":"containerapp000003--nx8nz31","latestRevisionFqdn":"","customDomainVerificationId":"333646C25EDA7C903C86F0F0D0193C412978B2E48FA0B4F1461D339FBBAE3EB7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"68ccbb53-0041-4229-af80-32e82898329a","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1328' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 12 May 2022 20: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: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003", - "name": "containerapp000003", "type": "Microsoft.App/containerApps", "location": - "Canada Central", "systemData": {"createdBy": "silasstrawn@microsoft.com", "createdByType": - "User", "createdAt": "2022-05-12T20:39:47.1175905", "lastModifiedBy": "silasstrawn@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-05-12T20:39:47.1175905"}, - "properties": {"provisioningState": "Succeeded", "managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", - "outboundIpAddresses": ["20.116.82.15", "20.116.84.46", "20.116.84.47"], "latestRevisionName": - "containerapp000003--nx8nz31", "latestRevisionFqdn": "", "customDomainVerificationId": - "333646C25EDA7C903C86F0F0D0193C412978B2E48FA0B4F1461D339FBBAE3EB7", "configuration": - {"activeRevisionsMode": "Single", "secrets": []}, "template": {"containers": - [{"image": "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest", "name": - "containerapp000003", "resources": {"cpu": 0.5, "memory": "1Gi"}}], "scale": - {"maxReplicas": 10}}}, "identity": {"type": "None", "principalId": "68ccbb53-0041-4229-af80-32e82898329a", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity remove - Connection: - - keep-alive - Content-Length: - - '1392' - Content-Type: - - application/json - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"Canada - Central","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:47.1175905","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:40:07.4554069Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.116.82.15","20.116.84.46","20.116.84.47"],"latestRevisionName":"containerapp000003--nx8nz31","latestRevisionFqdn":"","customDomainVerificationId":"333646C25EDA7C903C86F0F0D0193C412978B2E48FA0B4F1461D339FBBAE3EB7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","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/canadacentral/containerappOperationStatuses/b741969b-b1d2-49fe-8860-eb8b3add05c1?api-version=2022-03-01&azureAsyncOperation=true - cache-control: - - no-cache - content-length: - - '1217' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 12 May 2022 20:40:10 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 identity remove - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"Canada - Central","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:47.1175905","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:40:07.4554069"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.116.82.15","20.116.84.46","20.116.84.47"],"latestRevisionName":"containerapp000003--nx8nz31","latestRevisionFqdn":"","customDomainVerificationId":"333646C25EDA7C903C86F0F0D0193C412978B2E48FA0B4F1461D339FBBAE3EB7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","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: - - '1216' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 12 May 2022 20: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 identity remove - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"Canada - Central","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:47.1175905","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:40:07.4554069"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.116.82.15","20.116.84.46","20.116.84.47"],"latestRevisionName":"containerapp000003--nx8nz31","latestRevisionFqdn":"","customDomainVerificationId":"333646C25EDA7C903C86F0F0D0193C412978B2E48FA0B4F1461D339FBBAE3EB7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","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: - - '1215' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 12 May 2022 20: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity assign - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.6 (macOS-10.16-x86_64-i386-64bit) - 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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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: - - '2863' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 12 May 2022 20:40: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 identity assign - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"Canada - Central","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:47.1175905","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:40:07.4554069"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.116.82.15","20.116.84.46","20.116.84.47"],"latestRevisionName":"containerapp000003--nx8nz31","latestRevisionFqdn":"","customDomainVerificationId":"333646C25EDA7C903C86F0F0D0193C412978B2E48FA0B4F1461D339FBBAE3EB7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","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: - - '1215' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 12 May 2022 20:40: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: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003", - "name": "containerapp000003", "type": "Microsoft.App/containerApps", "location": - "Canada Central", "systemData": {"createdBy": "silasstrawn@microsoft.com", "createdByType": - "User", "createdAt": "2022-05-12T20:39:47.1175905", "lastModifiedBy": "silasstrawn@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-05-12T20:40:07.4554069"}, - "properties": {"provisioningState": "Succeeded", "managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", - "outboundIpAddresses": ["20.116.82.15", "20.116.84.46", "20.116.84.47"], "latestRevisionName": - "containerapp000003--nx8nz31", "latestRevisionFqdn": "", "customDomainVerificationId": - "333646C25EDA7C903C86F0F0D0193C412978B2E48FA0B4F1461D339FBBAE3EB7", "configuration": - {"activeRevisionsMode": "Single", "secrets": []}, "template": {"containers": - [{"image": "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest", "name": - "containerapp000003", "resources": {"cpu": 0.5, "memory": "1Gi"}}], "scale": - {"maxReplicas": 10}}}, "identity": {"type": "SystemAssigned"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity assign - Connection: - - keep-alive - Content-Length: - - '1295' - Content-Type: - - application/json - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"Canada - Central","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:47.1175905","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:40:17.7190469Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.116.82.15","20.116.84.46","20.116.84.47"],"latestRevisionName":"containerapp000003--nx8nz31","latestRevisionFqdn":"","customDomainVerificationId":"333646C25EDA7C903C86F0F0D0193C412978B2E48FA0B4F1461D339FBBAE3EB7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"2decc7b8-a722-4eb5-80cf-bd2156a49c38","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - 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/canadacentral/containerappOperationStatuses/45fdd8a9-fb2b-4817-86a3-7fa15a0d853b?api-version=2022-03-01&azureAsyncOperation=true - cache-control: - - no-cache - content-length: - - '1330' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 12 May 2022 20:40:20 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 identity assign - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"Canada - Central","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:47.1175905","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:40:17.7190469"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.116.82.15","20.116.84.46","20.116.84.47"],"latestRevisionName":"containerapp000003--nx8nz31","latestRevisionFqdn":"","customDomainVerificationId":"333646C25EDA7C903C86F0F0D0193C412978B2E48FA0B4F1461D339FBBAE3EB7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"2decc7b8-a722-4eb5-80cf-bd2156a49c38","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1329' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 12 May 2022 20:40: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 identity assign - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"Canada - Central","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:47.1175905","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:40:17.7190469"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.116.82.15","20.116.84.46","20.116.84.47"],"latestRevisionName":"containerapp000003--nx8nz31","latestRevisionFqdn":"","customDomainVerificationId":"333646C25EDA7C903C86F0F0D0193C412978B2E48FA0B4F1461D339FBBAE3EB7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"2decc7b8-a722-4eb5-80cf-bd2156a49c38","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1329' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 12 May 2022 20: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 identity assign - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"Canada - Central","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:47.1175905","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:40:17.7190469"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.116.82.15","20.116.84.46","20.116.84.47"],"latestRevisionName":"containerapp000003--nx8nz31","latestRevisionFqdn":"","customDomainVerificationId":"333646C25EDA7C903C86F0F0D0193C412978B2E48FA0B4F1461D339FBBAE3EB7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"2decc7b8-a722-4eb5-80cf-bd2156a49c38","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1329' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 12 May 2022 20: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 identity assign - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"Canada - Central","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:47.1175905","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:40:17.7190469"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.116.82.15","20.116.84.46","20.116.84.47"],"latestRevisionName":"containerapp000003--nx8nz31","latestRevisionFqdn":"","customDomainVerificationId":"333646C25EDA7C903C86F0F0D0193C412978B2E48FA0B4F1461D339FBBAE3EB7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"2decc7b8-a722-4eb5-80cf-bd2156a49c38","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1328' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 12 May 2022 20: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity remove - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.6 (macOS-10.16-x86_64-i386-64bit) - 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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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","Central US EUAP"],"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: - - '2863' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 12 May 2022 20:40:31 GMT - expires: - - '-1' - pragma: - - 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 identity remove - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"Canada - Central","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:47.1175905","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:40:17.7190469"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.116.82.15","20.116.84.46","20.116.84.47"],"latestRevisionName":"containerapp000003--nx8nz31","latestRevisionFqdn":"","customDomainVerificationId":"333646C25EDA7C903C86F0F0D0193C412978B2E48FA0B4F1461D339FBBAE3EB7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"2decc7b8-a722-4eb5-80cf-bd2156a49c38","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 - cache-control: - - no-cache - content-length: - - '1328' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 12 May 2022 20:40: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: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003", - "name": "containerapp000003", "type": "Microsoft.App/containerApps", "location": - "Canada Central", "systemData": {"createdBy": "silasstrawn@microsoft.com", "createdByType": - "User", "createdAt": "2022-05-12T20:39:47.1175905", "lastModifiedBy": "silasstrawn@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-05-12T20:40:17.7190469"}, - "properties": {"provisioningState": "Succeeded", "managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", - "outboundIpAddresses": ["20.116.82.15", "20.116.84.46", "20.116.84.47"], "latestRevisionName": - "containerapp000003--nx8nz31", "latestRevisionFqdn": "", "customDomainVerificationId": - "333646C25EDA7C903C86F0F0D0193C412978B2E48FA0B4F1461D339FBBAE3EB7", "configuration": - {"activeRevisionsMode": "Single", "secrets": []}, "template": {"containers": - [{"image": "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest", "name": - "containerapp000003", "resources": {"cpu": 0.5, "memory": "1Gi"}}], "scale": - {"maxReplicas": 10}}}, "identity": {"type": "None", "principalId": "2decc7b8-a722-4eb5-80cf-bd2156a49c38", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity remove - Connection: - - keep-alive - Content-Length: - - '1392' - Content-Type: - - application/json - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"Canada - Central","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:47.1175905","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:40:34.2895113Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.116.82.15","20.116.84.46","20.116.84.47"],"latestRevisionName":"containerapp000003--nx8nz31","latestRevisionFqdn":"","customDomainVerificationId":"333646C25EDA7C903C86F0F0D0193C412978B2E48FA0B4F1461D339FBBAE3EB7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","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/canadacentral/containerappOperationStatuses/9dd7dc0c-a672-45af-8afd-3091d8298bbd?api-version=2022-03-01&azureAsyncOperation=true - cache-control: - - no-cache - content-length: - - '1217' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 12 May 2022 20:40:37 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-async-operation-timeout: - - PT15M - x-ms-ratelimit-remaining-subscription-resource-requests: - - '499' - x-powered-by: - - ASP.NET - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity remove - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"Canada - Central","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:47.1175905","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:40:34.2895113"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.116.82.15","20.116.84.46","20.116.84.47"],"latestRevisionName":"containerapp000003--nx8nz31","latestRevisionFqdn":"","customDomainVerificationId":"333646C25EDA7C903C86F0F0D0193C412978B2E48FA0B4F1461D339FBBAE3EB7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","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: - - '1216' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 12 May 2022 20: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 identity remove - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"Canada - Central","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:47.1175905","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:40:34.2895113"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.116.82.15","20.116.84.46","20.116.84.47"],"latestRevisionName":"containerapp000003--nx8nz31","latestRevisionFqdn":"","customDomainVerificationId":"333646C25EDA7C903C86F0F0D0193C412978B2E48FA0B4F1461D339FBBAE3EB7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","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: - - '1216' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 12 May 2022 20:40: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 identity remove - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"Canada - Central","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:39:47.1175905","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:40:34.2895113"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.116.82.15","20.116.84.46","20.116.84.47"],"latestRevisionName":"containerapp000003--nx8nz31","latestRevisionFqdn":"","customDomainVerificationId":"333646C25EDA7C903C86F0F0D0193C412978B2E48FA0B4F1461D339FBBAE3EB7","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","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: - - '1215' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 12 May 2022 20:40:44 GMT + - Thu, 02 Jun 2022 18:03:18 GMT expires: - '-1' pragma: diff --git a/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_identity_user.yaml b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_identity_user.yaml new file mode 100644 index 00000000000..159bc752b8e --- /dev/null +++ b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_identity_user.yaml @@ -0,0 +1,419 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor log-analytics workspace create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westeurope","tags":{"product":"azurecli","cause":"automation","date":"2022-06-02T18:02:33Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '314' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:02: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": "westeurope", "properties": {"sku": {"name": "PerGB2018"}, + "retentionInDays": 30, "workspaceCapping": {}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor log-analytics workspace create + Connection: + - keep-alive + Content-Length: + - '119' + Content-Type: + - application/json + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000006?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"41aa6261-91fa-49d8-b853-d5b5c0be22ad\",\r\n \"provisioningState\": \"Creating\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Thu, 02 Jun 2022 18:02: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\": + \"Fri, 03 Jun 2022 10:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Thu, 02 Jun 2022 18:02:43 GMT\",\r\n + \ \"modifiedDate\": \"Thu, 02 Jun 2022 18:02:43 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.operationalinsights/workspaces/containerapp-env000006\",\r\n + \ \"name\": \"containerapp-env000006\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"westeurope\"\r\n}" + headers: + access-control-allow-origin: + - '*' + cache-control: + - no-cache + content-length: + - '1082' + content-type: + - application/json + date: + - Thu, 02 Jun 2022 18:02:43 GMT + pragma: + - no-cache + request-context: + - appId=cid-v1:c7ec48f5-2684-46e8-accb-45e7dbec242b + server: + - 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: + - monitor log-analytics workspace create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000006?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"41aa6261-91fa-49d8-b853-d5b5c0be22ad\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Thu, 02 Jun 2022 18:02: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\": + \"Fri, 03 Jun 2022 10:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Thu, 02 Jun 2022 18:02:43 GMT\",\r\n + \ \"modifiedDate\": \"Thu, 02 Jun 2022 18:02:44 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.operationalinsights/workspaces/containerapp-env000006\",\r\n + \ \"name\": \"containerapp-env000006\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"westeurope\"\r\n}" + headers: + access-control-allow-origin: + - '*' + cache-control: + - no-cache + content-length: + - '1083' + content-type: + - application/json + date: + - Thu, 02 Jun 2022 18:03:13 GMT + pragma: + - no-cache + request-context: + - appId=cid-v1:c7ec48f5-2684-46e8-accb-45e7dbec242b + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,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: + - monitor log-analytics workspace get-shared-keys + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000006/sharedKeys?api-version=2020-08-01 + response: + body: + string: "{\r\n \"primarySharedKey\": \"8mg3w7jaU9hFffRds2fDbAh/Ci/rUwq9PhVxip/CnaPaPhhV9BLoByww9d4Edl6zgjq7MQKA4Rm8TxI6OC9PuQ==\",\r\n + \ \"secondarySharedKey\": \"Gino2nGtfwQhPkJaujw6o13S40fjB0qovYJ63dy76jFuJ0uRFqIh6tDrDkg31rmXAOJcYm3Ka3M9kpk/r9RBEw==\"\r\n}" + headers: + access-control-allow-origin: + - '*' + cache-control: + - no-cache + cachecontrol: + - no-cache + content-length: + - '235' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:03:15 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:c7ec48f5-2684-46e8-accb-45e7dbec242b + server: + - 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westeurope","tags":{"product":"azurecli","cause":"automation","date":"2022-06-02T18:02:33Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '314' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:03: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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:03: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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:03: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 +version: 1 From 08b311ffe0e02d9866ff28e2d3d6904d2b25d57c Mon Sep 17 00:00:00 2001 From: Haroon Feisal Date: Thu, 2 Jun 2022 14:45:33 -0400 Subject: [PATCH 08/15] Updated all identity commands. --- src/containerapp/azext_containerapp/custom.py | 14 +- .../test_containerapp_identity_e2e.yaml | 3518 ----------------- .../latest/test_containerapp_commands.py | 2 +- 3 files changed, 8 insertions(+), 3526 deletions(-) delete mode 100644 src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_identity_e2e.yaml diff --git a/src/containerapp/azext_containerapp/custom.py b/src/containerapp/azext_containerapp/custom.py index 6dc4ab66e14..fa9d3ff864e 100644 --- a/src/containerapp/azext_containerapp/custom.py +++ b/src/containerapp/azext_containerapp/custom.py @@ -786,14 +786,13 @@ def assign_managed_identity(cmd, client, name, resource_group_name, system_assig try: poller = client.begin_create_or_update(resource_group_name=resource_group_name, container_app_name=name, container_app_envelope=containerapp_def) r = LongRunningOperation(cmd.cli_ctx)(poller).serialize() - # 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): +def remove_managed_identity(cmd, client, name, resource_group_name, system_assigned=False, user_assigned=None, no_wait=False): _validate_subscription_registered(cmd, CONTAINER_APPS_RP) remove_system_identity = system_assigned @@ -810,7 +809,7 @@ def remove_managed_identity(cmd, name, resource_group_name, system_assigned=Fals 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) + containerapp_def = client.get(resource_group_name=resource_group_name, container_app_name=name).serialize() except: pass @@ -868,18 +867,19 @@ def remove_managed_identity(cmd, name, resource_group_name, system_assigned=Fals 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) + poller = client.begin_create_or_update(resource_group_name=resource_group_name, container_app_name=name, container_app_envelope=containerapp_def) + r = LongRunningOperation(cmd.cli_ctx)(poller).serialize() return r["identity"] except Exception as e: handle_raw_exception(e) -def show_managed_identity(cmd, name, resource_group_name): +def show_managed_identity(cmd, client, name, resource_group_name): _validate_subscription_registered(cmd, CONTAINER_APPS_RP) try: - r = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) - except CLIError as e: + r = client.get(resource_group_name=resource_group_name, container_app_name=name).serialize() + except CLIInternalError as e: handle_raw_exception(e) try: diff --git a/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_identity_e2e.yaml b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_identity_e2e.yaml deleted file mode 100644 index 8a977d9d555..00000000000 --- a/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_identity_e2e.yaml +++ /dev/null @@ -1,3518 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - monitor log-analytics workspace create - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2022-06-02T18:27:53Z"},"properties":{"provisioningState":"Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '311' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:27: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: '{"location": "eastus2", "properties": {"sku": {"name": "PerGB2018"}, "retentionInDays": - 30, "workspaceCapping": {}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - monitor log-analytics workspace create - Connection: - - keep-alive - Content-Length: - - '116' - Content-Type: - - application/json - ParameterSetName: - - -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000005?api-version=2021-12-01-preview - response: - body: - string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"09aca7f6-0c42-4592-8d25-854b419fc38e\",\r\n \"provisioningState\": \"Creating\",\r\n - \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Thu, 02 Jun 2022 18:27:58 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, 03 Jun 2022 04:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n - \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Thu, 02 Jun 2022 18:27:58 GMT\",\r\n - \ \"modifiedDate\": \"Thu, 02 Jun 2022 18:27:58 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.operationalinsights/workspaces/containerapp-env000005\",\r\n - \ \"name\": \"containerapp-env000005\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n - \ \"location\": \"eastus2\"\r\n}" - headers: - access-control-allow-origin: - - '*' - cache-control: - - no-cache - content-length: - - '1079' - content-type: - - application/json - date: - - Thu, 02 Jun 2022 18:27:57 GMT - pragma: - - no-cache - request-context: - - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 - server: - - 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: - - monitor log-analytics workspace create - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000005?api-version=2021-12-01-preview - response: - body: - string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"09aca7f6-0c42-4592-8d25-854b419fc38e\",\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Thu, 02 Jun 2022 18:27:58 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, 03 Jun 2022 04:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n - \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Thu, 02 Jun 2022 18:27:58 GMT\",\r\n - \ \"modifiedDate\": \"Thu, 02 Jun 2022 18:27:59 GMT\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.operationalinsights/workspaces/containerapp-env000005\",\r\n - \ \"name\": \"containerapp-env000005\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n - \ \"location\": \"eastus2\"\r\n}" - headers: - access-control-allow-origin: - - '*' - cache-control: - - no-cache - content-length: - - '1080' - content-type: - - application/json - date: - - Thu, 02 Jun 2022 18:28:28 GMT - pragma: - - no-cache - request-context: - - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,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: - - monitor log-analytics workspace get-shared-keys - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000005/sharedKeys?api-version=2020-08-01 - response: - body: - string: "{\r\n \"primarySharedKey\": \"Z1F8dMLiln3lpHCzbkLiICbgN5mgdGvBifjLp/gMx8xC6Hr+2iFS5dl6Ra89XOHnk00lR0A960Pj2cZc44s+UQ==\",\r\n - \ \"secondarySharedKey\": \"2CgUQrscb3cmq/kwmdtCLHlZmNdfJzunuvTtXg0bO1tAzdIewo2UP/GRLyqm7ipaJwFBX5YUPu5xAttrG+k8BA==\"\r\n}" - headers: - access-control-allow-origin: - - '*' - cache-control: - - no-cache - cachecontrol: - - no-cache - content-length: - - '235' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:28:28 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 - server: - - 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: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2022-06-02T18:27:53Z"},"properties":{"provisioningState":"Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '311' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:28:29 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) - 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '3551' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:28:29 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) - 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '3551' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:28: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": "eastus2", "tags": null, "properties": {"daprAIInstrumentationKey": - null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": - {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": - "09aca7f6-0c42-4592-8d25-854b419fc38e", "sharedKey": "Z1F8dMLiln3lpHCzbkLiICbgN5mgdGvBifjLp/gMx8xC6Hr+2iFS5dl6Ra89XOHnk00lR0A960Pj2cZc44s+UQ=="}}, - "zoneRedundant": false}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp env create - Connection: - - keep-alive - Content-Length: - - '424' - Content-Type: - - application/json - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925Z","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus2/managedEnvironmentOperationStatuses/d942e929-a5e4-4667-bc1a-58674ff61c96?api-version=2022-03-01&azureAsyncOperation=true - cache-control: - - no-cache - content-length: - - '794' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:28:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-async-operation-timeout: - - PT15M - x-ms-ratelimit-remaining-subscription-resource-requests: - - '99' - x-powered-by: - - ASP.NET - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '792' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:28: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 env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '792' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:28:37 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '792' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:28: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 env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '792' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:28:42 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '792' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:28:44 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '792' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:28:48 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '792' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:28: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 env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '792' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:28:53 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '792' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:28: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 env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '792' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:28: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 env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '792' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:29:01 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '792' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:29:04 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '792' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:29:07 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '794' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:29: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 env show - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) - 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '3551' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:29:10 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp env show - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '794' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:29:11 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp create - Connection: - - keep-alive - ParameterSetName: - - -g -n --environment - User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) - 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '3551' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:29: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 create - Connection: - - keep-alive - ParameterSetName: - - -g -n --environment - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:28:32.520925","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:28:32.520925"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wittybeach-f185b043.eastus2.azurecontainerapps.io","staticIp":"40.84.34.87","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"09aca7f6-0c42-4592-8d25-854b419fc38e"}},"zoneRedundant":false}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '794' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:29: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 create - Connection: - - keep-alive - ParameterSetName: - - -g -n --environment - User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) - 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '3551' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:29: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: '{"location": "eastus2", "identity": {"type": "None"}, "properties": {"managedEnvironmentId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", - "configuration": {"activeRevisionsMode": "single"}, "template": {"containers": - [{"image": "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest", "name": - "containerapp000003"}]}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp create - Connection: - - keep-alive - Content-Length: - - '433' - Content-Type: - - application/json - ParameterSetName: - - -g -n --environment - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432Z","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:29:14.5819432Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus2/containerappOperationStatuses/634e3b15-d835-4911-825f-8150d7662f4a?api-version=2022-03-01&azureAsyncOperation=true - cache-control: - - no-cache - content-length: - - '1188' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:29:16 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 create - Connection: - - keep-alive - ParameterSetName: - - -g -n --environment - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus2/containerappOperationStatuses/634e3b15-d835-4911-825f-8150d7662f4a?api-version=2022-03-01&azureAsyncOperation=true - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus2/containerappOperationStatuses/634e3b15-d835-4911-825f-8150d7662f4a","name":"634e3b15-d835-4911-825f-8150d7662f4a","status":"InProgress","startTime":"2022-06-02T18:29:14.8076163"}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '279' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:29: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 create - Connection: - - keep-alive - ParameterSetName: - - -g -n --environment - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus2/containerappOperationStatuses/634e3b15-d835-4911-825f-8150d7662f4a?api-version=2022-03-01&azureAsyncOperation=true - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus2/containerappOperationStatuses/634e3b15-d835-4911-825f-8150d7662f4a","name":"634e3b15-d835-4911-825f-8150d7662f4a","status":"Succeeded","startTime":"2022-06-02T18:29:14.8076163"}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '278' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:29: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 create - Connection: - - keep-alive - ParameterSetName: - - -g -n --environment - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:29:14.5819432"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1212' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:29: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 identity assign - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) - 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '3551' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:29: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 identity assign - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:29:14.5819432"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1212' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:29: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: '{"location": "East US 2", "identity": {"type": "SystemAssigned"}, "properties": - {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", - "configuration": {"secrets": [], "activeRevisionsMode": "Single"}, "template": - {"containers": [{"image": "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest", - "name": "containerapp000003", "resources": {"cpu": 0.5, "memory": "1Gi"}}], - "scale": {"maxReplicas": 10}}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity assign - Connection: - - keep-alive - Content-Length: - - '534' - Content-Type: - - application/json - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:29:55.4867735Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"d227cc3f-5bfd-4032-ad33-3c53aea33afb","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus2/containerappOperationStatuses/f68994f5-a602-47d3-9460-039acd87bd1d?api-version=2022-03-01&azureAsyncOperation=true - cache-control: - - no-cache - content-length: - - '1327' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:29:56 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 identity assign - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus2/containerappOperationStatuses/f68994f5-a602-47d3-9460-039acd87bd1d?api-version=2022-03-01&azureAsyncOperation=true - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus2/containerappOperationStatuses/f68994f5-a602-47d3-9460-039acd87bd1d","name":"f68994f5-a602-47d3-9460-039acd87bd1d","status":"Succeeded","startTime":"2022-06-02T18:29:56.539736"}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '277' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:30: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 identity assign - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:29:55.4867735"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"d227cc3f-5bfd-4032-ad33-3c53aea33afb","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1325' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:30: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: - - identity create - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2022-06-02T18:27:53Z"},"properties":{"provisioningState":"Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '311' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:30: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": "eastus2"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - identity create - Connection: - - keep-alive - Content-Length: - - '23' - Content-Type: - - application/json - ParameterSetName: - - -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-msi/6.0.1 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004?api-version=2021-09-30-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004","name":"containerapp000004","type":"Microsoft.ManagedIdentity/userAssignedIdentities","location":"eastus2","tags":{},"properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"5b888884-6cb3-45e7-8508-8da73720cdf8","clientId":"3ca82eda-90c3-439c-99d4-66cb992a9321"}}' - headers: - cache-control: - - no-cache - content-length: - - '455' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:30:04 GMT - expires: - - '-1' - location: - - /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity assign - Connection: - - keep-alive - ParameterSetName: - - --user-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) - 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '3551' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:30:04 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity assign - Connection: - - keep-alive - ParameterSetName: - - --user-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:29:55.4867735"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"d227cc3f-5bfd-4032-ad33-3c53aea33afb","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1325' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:30: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: '{"location": "East US 2", "identity": {"type": "SystemAssigned,UserAssigned", - "userAssignedIdentities": {"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004": - {}}}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", - "configuration": {"secrets": [], "activeRevisionsMode": "Single"}, "template": - {"containers": [{"image": "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest", - "name": "containerapp000003", "resources": {"cpu": 0.5, "memory": "1Gi"}}], - "scale": {"maxReplicas": 10}}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity assign - Connection: - - keep-alive - Content-Length: - - '744' - Content-Type: - - application/json - ParameterSetName: - - --user-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:06.9034271Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned, - UserAssigned","principalId":"d227cc3f-5bfd-4032-ad33-3c53aea33afb","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004":{"principalId":"5b888884-6cb3-45e7-8508-8da73720cdf8","clientId":"3ca82eda-90c3-439c-99d4-66cb992a9321"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus2/containerappOperationStatuses/404a7cfc-92b9-45fd-82ca-b0b222f5abb7?api-version=2022-03-01&azureAsyncOperation=true - cache-control: - - no-cache - content-length: - - '1637' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:30:07 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 identity assign - Connection: - - keep-alive - ParameterSetName: - - --user-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus2/containerappOperationStatuses/404a7cfc-92b9-45fd-82ca-b0b222f5abb7?api-version=2022-03-01&azureAsyncOperation=true - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus2/containerappOperationStatuses/404a7cfc-92b9-45fd-82ca-b0b222f5abb7","name":"404a7cfc-92b9-45fd-82ca-b0b222f5abb7","status":"Succeeded","startTime":"2022-06-02T18:30:07.696818"}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '277' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:30: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 identity assign - Connection: - - keep-alive - ParameterSetName: - - --user-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:06.9034271"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned, - UserAssigned","principalId":"d227cc3f-5bfd-4032-ad33-3c53aea33afb","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004":{"principalId":"5b888884-6cb3-45e7-8508-8da73720cdf8","clientId":"3ca82eda-90c3-439c-99d4-66cb992a9321"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1635' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:30: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 identity show - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) - 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '3551' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:30: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 identity show - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:06.9034271"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned, - UserAssigned","principalId":"d227cc3f-5bfd-4032-ad33-3c53aea33afb","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004":{"principalId":"5b888884-6cb3-45e7-8508-8da73720cdf8","clientId":"3ca82eda-90c3-439c-99d4-66cb992a9321"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1635' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:30: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 identity remove - Connection: - - keep-alive - ParameterSetName: - - --user-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) - 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '3551' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:30: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 identity remove - Connection: - - keep-alive - ParameterSetName: - - --user-assigned -g -n - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:06.9034271"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned, - UserAssigned","principalId":"d227cc3f-5bfd-4032-ad33-3c53aea33afb","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004":{"principalId":"5b888884-6cb3-45e7-8508-8da73720cdf8","clientId":"3ca82eda-90c3-439c-99d4-66cb992a9321"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1635' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:30: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: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003", - "name": "containerapp000003", "type": "Microsoft.App/containerApps", "location": - "East US 2", "systemData": {"createdBy": "haroonfeisal@microsoft.com", "createdByType": - "User", "createdAt": "2022-06-02T18:29:14.5819432", "lastModifiedBy": "haroonfeisal@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-06-02T18:30:06.9034271"}, - "properties": {"provisioningState": "Succeeded", "managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", - "outboundIpAddresses": ["20.96.98.219", "20.96.98.189", "20.96.98.187"], "latestRevisionName": - "containerapp000003--ikj3hvy", "latestRevisionFqdn": "", "customDomainVerificationId": - "99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E", "configuration": - {"activeRevisionsMode": "Single", "secrets": []}, "template": {"containers": - [{"image": "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest", "name": - "containerapp000003", "resources": {"cpu": 0.5, "memory": "1Gi"}}], "scale": - {"maxReplicas": 10}}}, "identity": {"type": "SystemAssigned", "principalId": - "d227cc3f-5bfd-4032-ad33-3c53aea33afb", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "userAssignedIdentities": null}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity remove - Connection: - - keep-alive - Content-Length: - - '1431' - Content-Type: - - application/json - ParameterSetName: - - --user-assigned -g -n - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:17.6016386Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"d227cc3f-5bfd-4032-ad33-3c53aea33afb","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus2/containerappOperationStatuses/372c5e64-66fc-4dbf-a6f4-0ff6ef882821?api-version=2022-03-01&azureAsyncOperation=true - cache-control: - - no-cache - content-length: - - '1327' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:30: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-resource-requests: - - '499' - x-powered-by: - - ASP.NET - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity remove - Connection: - - keep-alive - ParameterSetName: - - --user-assigned -g -n - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:17.6016386"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"d227cc3f-5bfd-4032-ad33-3c53aea33afb","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1326' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:30: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 identity remove - Connection: - - keep-alive - ParameterSetName: - - --user-assigned -g -n - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:17.6016386"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"d227cc3f-5bfd-4032-ad33-3c53aea33afb","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1326' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:30: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 identity remove - Connection: - - keep-alive - ParameterSetName: - - --user-assigned -g -n - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:17.6016386"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"d227cc3f-5bfd-4032-ad33-3c53aea33afb","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1326' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:30: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 identity remove - Connection: - - keep-alive - ParameterSetName: - - --user-assigned -g -n - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:17.6016386"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"d227cc3f-5bfd-4032-ad33-3c53aea33afb","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1325' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:30:28 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity show - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) - 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '3551' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:30:29 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity show - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:17.6016386"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"d227cc3f-5bfd-4032-ad33-3c53aea33afb","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1325' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:30: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 identity remove - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) - 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '3551' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:30: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 identity remove - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:17.6016386"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"d227cc3f-5bfd-4032-ad33-3c53aea33afb","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1325' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:30: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: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003", - "name": "containerapp000003", "type": "Microsoft.App/containerApps", "location": - "East US 2", "systemData": {"createdBy": "haroonfeisal@microsoft.com", "createdByType": - "User", "createdAt": "2022-06-02T18:29:14.5819432", "lastModifiedBy": "haroonfeisal@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-06-02T18:30:17.6016386"}, - "properties": {"provisioningState": "Succeeded", "managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", - "outboundIpAddresses": ["20.96.98.219", "20.96.98.189", "20.96.98.187"], "latestRevisionName": - "containerapp000003--ikj3hvy", "latestRevisionFqdn": "", "customDomainVerificationId": - "99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E", "configuration": - {"activeRevisionsMode": "Single", "secrets": []}, "template": {"containers": - [{"image": "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest", "name": - "containerapp000003", "resources": {"cpu": 0.5, "memory": "1Gi"}}], "scale": - {"maxReplicas": 10}}}, "identity": {"type": "None", "principalId": "d227cc3f-5bfd-4032-ad33-3c53aea33afb", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity remove - Connection: - - keep-alive - Content-Length: - - '1389' - Content-Type: - - application/json - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:32.3551357Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus2/containerappOperationStatuses/e33a68bd-f567-464e-825a-ceb1d55ed455?api-version=2022-03-01&azureAsyncOperation=true - cache-control: - - no-cache - content-length: - - '1214' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:30:34 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 identity remove - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:32.3551357"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1213' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:30: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 identity remove - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:32.3551357"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1213' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:30: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 identity remove - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:32.3551357"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1213' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:30: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 identity remove - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:32.3551357"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1212' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:30: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity show - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) - 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '3551' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:30: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 identity show - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US 2","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:29:14.5819432","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:30:32.3551357"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.96.98.219","20.96.98.189","20.96.98.187"],"latestRevisionName":"containerapp000003--ikj3hvy","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1212' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:30: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 -version: 1 diff --git a/src/containerapp/azext_containerapp/tests/latest/test_containerapp_commands.py b/src/containerapp/azext_containerapp/tests/latest/test_containerapp_commands.py index c669a9ca1c2..4c0a1b74536 100644 --- a/src/containerapp/azext_containerapp/tests/latest/test_containerapp_commands.py +++ b/src/containerapp/azext_containerapp/tests/latest/test_containerapp_commands.py @@ -15,7 +15,7 @@ class ContainerappIdentityTests(ScenarioTest): @AllowLargeResponse(8192) - @ResourceGroupPreparer(location="eastus2") + @ResourceGroupPreparer(location="eastus") @live_only() # encounters 'CannotOverwriteExistingCassetteException' only when run from recording (passes when run live) def test_containerapp_identity_e2e(self, resource_group): env_name = self.create_random_name(prefix='containerapp-env', length=24) From 2873d9efa14e189616fb07da46e9016e60f55882 Mon Sep 17 00:00:00 2001 From: Haroon Feisal Date: Thu, 2 Jun 2022 15:02:48 -0400 Subject: [PATCH 09/15] Finished revision commands. --- .../azext_containerapp/commands.py | 4 +- src/containerapp/azext_containerapp/custom.py | 30 +- .../test_containerapp_identity_e2e.yaml | 3664 +++++++++++++++++ 3 files changed, 3686 insertions(+), 12 deletions(-) create mode 100644 src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_identity_e2e.yaml diff --git a/src/containerapp/azext_containerapp/commands.py b/src/containerapp/azext_containerapp/commands.py index 16fa0a67efd..c8390cf9bd4 100644 --- a/src/containerapp/azext_containerapp/commands.py +++ b/src/containerapp/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 azext_containerapp._client_factory import ex_handler_factory, cf_containerapps, cf_managedenvs +from azext_containerapp._client_factory import ex_handler_factory, cf_containerapps, cf_managedenvs, cf_revisions from ._validators import validate_ssh @@ -94,7 +94,7 @@ def load_command_table(self, _): 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: + with self.command_group('containerapp revision', client_factory=cf_revisions) 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()) diff --git a/src/containerapp/azext_containerapp/custom.py b/src/containerapp/azext_containerapp/custom.py index fa9d3ff864e..1a95eb2b431 100644 --- a/src/containerapp/azext_containerapp/custom.py +++ b/src/containerapp/azext_containerapp/custom.py @@ -1078,9 +1078,11 @@ def delete_github_action(cmd, name, resource_group_name, token=None, login_with_ handle_raw_exception(e) -def list_revisions(cmd, name, resource_group_name, all=False): +def list_revisions(cmd, client, name, resource_group_name, all=False): + _validate_subscription_registered(cmd, CONTAINER_APPS_RP) + try: - revision_list = ContainerAppClient.list_revisions(cmd=cmd, resource_group_name=resource_group_name, name=name) + revision_list = client.list_revisions(resource_group_name=resource_group_name, container_app_name=name) if all: return revision_list return [r for r in revision_list if r["properties"]["active"]] @@ -1088,42 +1090,50 @@ def list_revisions(cmd, name, resource_group_name, all=False): handle_raw_exception(e) -def show_revision(cmd, resource_group_name, revision_name, name=None): +def show_revision(cmd, client, resource_group_name, revision_name, name=None): + _validate_subscription_registered(cmd, CONTAINER_APPS_RP) + 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) + return client.get_revision(resource_group_name=resource_group_name, container_app_name=name, revision_name=revision_name) except CLIError as e: handle_raw_exception(e) -def restart_revision(cmd, resource_group_name, revision_name, name=None): +def restart_revision(cmd, client, resource_group_name, revision_name, name=None): + _validate_subscription_registered(cmd, CONTAINER_APPS_RP) + 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) + return client.restart_revision(resource_group_name=resource_group_name, container_app_name=name, revision_name=revision_name) except CLIError as e: handle_raw_exception(e) -def activate_revision(cmd, resource_group_name, revision_name, name=None): +def activate_revision(cmd, client, resource_group_name, revision_name, name=None): + _validate_subscription_registered(cmd, CONTAINER_APPS_RP) + 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) + return client.activate_revision(resource_group_name=resource_group_name, container_app_name=name, revision_name=revision_name) except CLIError as e: handle_raw_exception(e) -def deactivate_revision(cmd, resource_group_name, revision_name, name=None): +def deactivate_revision(cmd, client, resource_group_name, revision_name, name=None): + _validate_subscription_registered(cmd, CONTAINER_APPS_RP) + 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) + return client.deactivate_revision(resource_group_name=resource_group_name, container_app_name=name, revision_name=revision_name) except CLIError as e: handle_raw_exception(e) diff --git a/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_identity_e2e.yaml b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_identity_e2e.yaml new file mode 100644 index 00000000000..432f33875be --- /dev/null +++ b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_identity_e2e.yaml @@ -0,0 +1,3664 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor log-analytics workspace create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-02T18:48:15Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '310' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:48: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", "properties": {"sku": {"name": "PerGB2018"}, "retentionInDays": + 30, "workspaceCapping": {}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor log-analytics workspace create + Connection: + - keep-alive + Content-Length: + - '115' + Content-Type: + - application/json + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000005?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"1bf91d2f-84f1-4694-be6e-338584913fa7\",\r\n \"provisioningState\": \"Creating\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Thu, 02 Jun 2022 18:48: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\": + \"Fri, 03 Jun 2022 09:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Thu, 02 Jun 2022 18:48:20 GMT\",\r\n + \ \"modifiedDate\": \"Thu, 02 Jun 2022 18:48:20 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.operationalinsights/workspaces/containerapp-env000005\",\r\n + \ \"name\": \"containerapp-env000005\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1078' + content-type: + - application/json + date: + - Thu, 02 Jun 2022 18:48: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: + - '1198' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor log-analytics workspace create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000005?api-version=2021-12-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"1bf91d2f-84f1-4694-be6e-338584913fa7\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Thu, 02 Jun 2022 18:48: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\": + \"Fri, 03 Jun 2022 09:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": + \"Enabled\",\r\n \"createdDate\": \"Thu, 02 Jun 2022 18:48:20 GMT\",\r\n + \ \"modifiedDate\": \"Thu, 02 Jun 2022 18:48:22 GMT\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.operationalinsights/workspaces/containerapp-env000005\",\r\n + \ \"name\": \"containerapp-env000005\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1079' + content-type: + - application/json + date: + - Thu, 02 Jun 2022 18:48:50 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: + - monitor log-analytics workspace get-shared-keys + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000005/sharedKeys?api-version=2020-08-01 + response: + body: + string: "{\r\n \"primarySharedKey\": \"vJZWEThcwFRN09f2nD2j1B8KyGGqSg4K/ZqwIyomvGAP6goyVvyuEuYb999/wdxE1V7R2axytJLNpK2/lrmQZQ==\",\r\n + \ \"secondarySharedKey\": \"eP9LdodAGg9hYxgUXOJSQDyz6xOjDQWFjRpdr3V3FJVwqUd+a5v3g3JJrmjLf6eqm4SmD+RCTC6ehm1KlJJWAw==\"\r\n}" + headers: + cache-control: + - no-cache + cachecontrol: + - no-cache + content-length: + - '235' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:48: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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-02T18:48:15Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '310' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:48: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 env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:48: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 env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:48: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", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": + {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": + "1bf91d2f-84f1-4694-be6e-338584913fa7", "sharedKey": "vJZWEThcwFRN09f2nD2j1B8KyGGqSg4K/ZqwIyomvGAP6goyVvyuEuYb999/wdxE1V7R2axytJLNpK2/lrmQZQ=="}}, + "zoneRedundant": false}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + Content-Length: + - '423' + Content-Type: + - application/json + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444Z","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/6a71945e-9eb1-4e78-a4ac-9bc01d272034?api-version=2022-03-01&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '794' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:48: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-resource-requests: + - '99' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:48: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 env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:48: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 env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:49:01 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:49: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 env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:49: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 env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:49:09 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:49:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:49: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 env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:49:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:49:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:49:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:49:24 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:49:27 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:49:30 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:49: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 env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:49: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 env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:49:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:49: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 env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:49:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:49:45 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:49:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Succeeded","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '794' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18: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 + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:49:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Succeeded","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '794' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:49: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 create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:49: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 create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Succeeded","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '794' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:49: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 create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:49: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", "identity": {"type": "None"}, "properties": {"managedEnvironmentId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", + "configuration": {"activeRevisionsMode": "single"}, "template": {"containers": + [{"image": "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest", "name": + "containerapp000003"}]}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp create + Connection: + - keep-alive + Content-Length: + - '432' + Content-Type: + - application/json + ParameterSetName: + - -g -n --environment + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:49:54.7683333Z","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:49:54.7683333Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.231.112.52","20.231.112.46","20.231.112.134"],"latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/c125afab-18db-4850-9eb5-a3498df0ad13?api-version=2022-03-01&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1166' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:49: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-resource-requests: + - '499' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/c125afab-18db-4850-9eb5-a3498df0ad13?api-version=2022-03-01&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/c125afab-18db-4850-9eb5-a3498df0ad13","name":"c125afab-18db-4850-9eb5-a3498df0ad13","status":"InProgress","startTime":"2022-06-02T18:49:54.9594635"}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '278' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18: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 create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/c125afab-18db-4850-9eb5-a3498df0ad13?api-version=2022-03-01&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/c125afab-18db-4850-9eb5-a3498df0ad13","name":"c125afab-18db-4850-9eb5-a3498df0ad13","status":"Succeeded","startTime":"2022-06-02T18:49:54.9594635"}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '277' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18: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 create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:49:54.7683333","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:49:54.7683333"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.231.112.52","20.231.112.46","20.231.112.134"],"latestRevisionName":"containerapp000003--f2jx2yq","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1214' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18: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: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp identity assign + Connection: + - keep-alive + ParameterSetName: + - --system-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:50: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp identity assign + Connection: + - keep-alive + ParameterSetName: + - --system-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:49:54.7683333","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:49:54.7683333"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.231.112.52","20.231.112.46","20.231.112.134"],"latestRevisionName":"containerapp000003--f2jx2yq","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1214' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:50: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: '{"location": "East US", "identity": {"type": "SystemAssigned"}, "properties": + {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", + "configuration": {"secrets": [], "activeRevisionsMode": "Single"}, "template": + {"containers": [{"image": "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest", + "name": "containerapp000003", "resources": {"cpu": 0.5, "memory": "1Gi"}}], + "scale": {"maxReplicas": 10}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp identity assign + Connection: + - keep-alive + Content-Length: + - '532' + Content-Type: + - application/json + ParameterSetName: + - --system-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:49:54.7683333","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:50:34.6230874Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.231.112.52","20.231.112.46","20.231.112.134"],"latestRevisionName":"containerapp000003--f2jx2yq","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"3757e818-0b49-4e6c-a486-a97a80632903","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/8a4525b3-ef8b-49c0-b4ed-663265030a93?api-version=2022-03-01&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1329' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:50:35 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 identity assign + Connection: + - keep-alive + ParameterSetName: + - --system-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/8a4525b3-ef8b-49c0-b4ed-663265030a93?api-version=2022-03-01&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/8a4525b3-ef8b-49c0-b4ed-663265030a93","name":"8a4525b3-ef8b-49c0-b4ed-663265030a93","status":"InProgress","startTime":"2022-06-02T18:50:35.8704148"}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '278' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:50: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 identity assign + Connection: + - keep-alive + ParameterSetName: + - --system-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/8a4525b3-ef8b-49c0-b4ed-663265030a93?api-version=2022-03-01&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/8a4525b3-ef8b-49c0-b4ed-663265030a93","name":"8a4525b3-ef8b-49c0-b4ed-663265030a93","status":"Succeeded","startTime":"2022-06-02T18:50:35.8704148"}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '277' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:51: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 identity assign + Connection: + - keep-alive + ParameterSetName: + - --system-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:49:54.7683333","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:50:34.6230874"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.231.112.52","20.231.112.46","20.231.112.134"],"latestRevisionName":"containerapp000003--f2jx2yq","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"3757e818-0b49-4e6c-a486-a97a80632903","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1327' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:51: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - identity create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-02T18:48:15Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '310' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:51: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: '{"location": "eastus"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - identity create + Connection: + - keep-alive + Content-Length: + - '22' + Content-Type: + - application/json + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-msi/6.0.1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004?api-version=2021-09-30-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004","name":"containerapp000004","type":"Microsoft.ManagedIdentity/userAssignedIdentities","location":"eastus","tags":{},"properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"1326d0e2-3504-448e-8772-f3367cac5434","clientId":"238d9505-3b0e-4d90-bc36-1be969bd4bc9"}}' + headers: + cache-control: + - no-cache + content-length: + - '454' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:51:14 GMT + expires: + - '-1' + location: + - /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp identity assign + Connection: + - keep-alive + ParameterSetName: + - --user-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:51: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 identity assign + Connection: + - keep-alive + ParameterSetName: + - --user-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:49:54.7683333","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:50:34.6230874"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.231.112.52","20.231.112.46","20.231.112.134"],"latestRevisionName":"containerapp000003--f2jx2yq","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"3757e818-0b49-4e6c-a486-a97a80632903","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1327' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18: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: '{"location": "East US", "identity": {"type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": {"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004": + {}}}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", + "configuration": {"secrets": [], "activeRevisionsMode": "Single"}, "template": + {"containers": [{"image": "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest", + "name": "containerapp000003", "resources": {"cpu": 0.5, "memory": "1Gi"}}], + "scale": {"maxReplicas": 10}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp identity assign + Connection: + - keep-alive + Content-Length: + - '742' + Content-Type: + - application/json + ParameterSetName: + - --user-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:49:54.7683333","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:51:16.4729869Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.231.112.52","20.231.112.46","20.231.112.134"],"latestRevisionName":"containerapp000003--f2jx2yq","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned, + UserAssigned","principalId":"3757e818-0b49-4e6c-a486-a97a80632903","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004":{"principalId":"1326d0e2-3504-448e-8772-f3367cac5434","clientId":"238d9505-3b0e-4d90-bc36-1be969bd4bc9"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/a0878238-2c77-495f-a6a2-6ff72832bb0c?api-version=2022-03-01&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1639' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:51: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: + - '499' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp identity assign + Connection: + - keep-alive + ParameterSetName: + - --user-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/a0878238-2c77-495f-a6a2-6ff72832bb0c?api-version=2022-03-01&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/a0878238-2c77-495f-a6a2-6ff72832bb0c","name":"a0878238-2c77-495f-a6a2-6ff72832bb0c","status":"InProgress","startTime":"2022-06-02T18:51:17.5309789"}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '278' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:51: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 identity assign + Connection: + - keep-alive + ParameterSetName: + - --user-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/a0878238-2c77-495f-a6a2-6ff72832bb0c?api-version=2022-03-01&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/a0878238-2c77-495f-a6a2-6ff72832bb0c","name":"a0878238-2c77-495f-a6a2-6ff72832bb0c","status":"Succeeded","startTime":"2022-06-02T18:51:17.5309789"}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '277' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18: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 identity assign + Connection: + - keep-alive + ParameterSetName: + - --user-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:49:54.7683333","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:51:16.4729869"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.231.112.52","20.231.112.46","20.231.112.134"],"latestRevisionName":"containerapp000003--f2jx2yq","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned, + UserAssigned","principalId":"3757e818-0b49-4e6c-a486-a97a80632903","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004":{"principalId":"1326d0e2-3504-448e-8772-f3367cac5434","clientId":"238d9505-3b0e-4d90-bc36-1be969bd4bc9"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1637' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp identity show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18: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 identity show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:49:54.7683333","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:51:16.4729869"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.231.112.52","20.231.112.46","20.231.112.134"],"latestRevisionName":"containerapp000003--f2jx2yq","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned, + UserAssigned","principalId":"3757e818-0b49-4e6c-a486-a97a80632903","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004":{"principalId":"1326d0e2-3504-448e-8772-f3367cac5434","clientId":"238d9505-3b0e-4d90-bc36-1be969bd4bc9"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1637' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:51:55 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp identity remove + Connection: + - keep-alive + ParameterSetName: + - --user-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18: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 identity remove + Connection: + - keep-alive + ParameterSetName: + - --user-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:49:54.7683333","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:51:16.4729869"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.231.112.52","20.231.112.46","20.231.112.134"],"latestRevisionName":"containerapp000003--f2jx2yq","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned, + UserAssigned","principalId":"3757e818-0b49-4e6c-a486-a97a80632903","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004":{"principalId":"1326d0e2-3504-448e-8772-f3367cac5434","clientId":"238d9505-3b0e-4d90-bc36-1be969bd4bc9"}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1637' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18: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: '{"location": "East US", "identity": {"type": "SystemAssigned"}, "properties": + {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", + "configuration": {"secrets": [], "activeRevisionsMode": "Single"}, "template": + {"containers": [{"image": "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest", + "name": "containerapp000003", "resources": {"cpu": 0.5, "memory": "1Gi"}}], + "scale": {"maxReplicas": 10}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp identity remove + Connection: + - keep-alive + Content-Length: + - '532' + Content-Type: + - application/json + ParameterSetName: + - --user-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:49:54.7683333","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:51:57.5554641Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.231.112.52","20.231.112.46","20.231.112.134"],"latestRevisionName":"containerapp000003--f2jx2yq","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"3757e818-0b49-4e6c-a486-a97a80632903","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/f1480c9e-ef55-4f17-ad7c-66d3d5cb68e1?api-version=2022-03-01&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1329' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:51: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-resource-requests: + - '498' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp identity remove + Connection: + - keep-alive + ParameterSetName: + - --user-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/f1480c9e-ef55-4f17-ad7c-66d3d5cb68e1?api-version=2022-03-01&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/f1480c9e-ef55-4f17-ad7c-66d3d5cb68e1","name":"f1480c9e-ef55-4f17-ad7c-66d3d5cb68e1","status":"InProgress","startTime":"2022-06-02T18:51:58.3708852"}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '278' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18: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 identity remove + Connection: + - keep-alive + ParameterSetName: + - --user-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/f1480c9e-ef55-4f17-ad7c-66d3d5cb68e1?api-version=2022-03-01&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/f1480c9e-ef55-4f17-ad7c-66d3d5cb68e1","name":"f1480c9e-ef55-4f17-ad7c-66d3d5cb68e1","status":"Succeeded","startTime":"2022-06-02T18:51:58.3708852"}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '277' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18: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 identity remove + Connection: + - keep-alive + ParameterSetName: + - --user-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:49:54.7683333","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:51:57.5554641"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.231.112.52","20.231.112.46","20.231.112.134"],"latestRevisionName":"containerapp000003--f2jx2yq","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"3757e818-0b49-4e6c-a486-a97a80632903","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1327' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp identity show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:52: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp identity show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:49:54.7683333","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:51:57.5554641"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.231.112.52","20.231.112.46","20.231.112.134"],"latestRevisionName":"containerapp000003--f2jx2yq","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"3757e818-0b49-4e6c-a486-a97a80632903","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1327' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp identity remove + Connection: + - keep-alive + ParameterSetName: + - --system-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3551' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:52: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 identity remove + Connection: + - keep-alive + ParameterSetName: + - --system-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:49:54.7683333","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:51:57.5554641"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.231.112.52","20.231.112.46","20.231.112.134"],"latestRevisionName":"containerapp000003--f2jx2yq","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"3757e818-0b49-4e6c-a486-a97a80632903","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1327' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:52: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: '{"location": "East US", "identity": {"type": "None"}, "properties": {"managedEnvironmentId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", + "configuration": {"secrets": [], "activeRevisionsMode": "Single"}, "template": + {"containers": [{"image": "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest", + "name": "containerapp000003", "resources": {"cpu": 0.5, "memory": "1Gi"}}], + "scale": {"maxReplicas": 10}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp identity remove + Connection: + - keep-alive + Content-Length: + - '522' + Content-Type: + - application/json + ParameterSetName: + - --system-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:49:54.7683333","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:52:37.9621885Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.231.112.52","20.231.112.46","20.231.112.134"],"latestRevisionName":"containerapp000003--f2jx2yq","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/5e1ed1ce-24c6-4a42-961c-2bf764901c3f?api-version=2022-03-01&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1216' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:52: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-resource-requests: + - '499' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp identity remove + Connection: + - keep-alive + ParameterSetName: + - --system-assigned -g -n + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/5e1ed1ce-24c6-4a42-961c-2bf764901c3f?api-version=2022-03-01&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/5e1ed1ce-24c6-4a42-961c-2bf764901c3f","name":"5e1ed1ce-24c6-4a42-961c-2bf764901c3f","status":"InProgress","startTime":"2022-06-02T18:52:38.5704155"}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '278' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 18:52: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 From e3a8e49355fbfdc89b0a36155d82854f3b38b655 Mon Sep 17 00:00:00 2001 From: Haroon Feisal Date: Thu, 2 Jun 2022 16:45:08 -0400 Subject: [PATCH 10/15] Finished revision. Fully updated containerapp update. --- .../azext_containerapp/_client_factory.py | 2 + .../azext_containerapp/commands.py | 4 +- src/containerapp/azext_containerapp/custom.py | 127 +- .../test_containerapp_identity_e2e.yaml | 1941 ++--------------- .../test_containerapp_revision_label_e2e.yaml | 1219 ++++------- 5 files changed, 628 insertions(+), 2665 deletions(-) diff --git a/src/containerapp/azext_containerapp/_client_factory.py b/src/containerapp/azext_containerapp/_client_factory.py index 95d42476097..27a6130c224 100644 --- a/src/containerapp/azext_containerapp/_client_factory.py +++ b/src/containerapp/azext_containerapp/_client_factory.py @@ -33,6 +33,8 @@ def handle_raw_exception(e): import json stringErr = str(e) + if "response" in stringErr.lower(): + stringErr = stringErr[stringErr.lower().rindex("response"):] if "{" in stringErr and "}" in stringErr: jsonError = stringErr[stringErr.index("{"):stringErr.rindex("}") + 1] diff --git a/src/containerapp/azext_containerapp/commands.py b/src/containerapp/azext_containerapp/commands.py index c8390cf9bd4..d4cb5a71486 100644 --- a/src/containerapp/azext_containerapp/commands.py +++ b/src/containerapp/azext_containerapp/commands.py @@ -101,9 +101,9 @@ def load_command_table(self, _): 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', client_factory=cf_containerapps, exception_handler=ex_handler_factory()) - g.custom_command('set-mode', 'set_revision_mode', exception_handler=ex_handler_factory()) + g.custom_command('set-mode', 'set_revision_mode', client_factory=cf_containerapps, exception_handler=ex_handler_factory()) - with self.command_group('containerapp revision label') as g: + with self.command_group('containerapp revision label', client_factory=cf_containerapps) as g: g.custom_command('add', 'add_revision_label') g.custom_command('remove', 'remove_revision_label') g.custom_command('swap', 'swap_revision_label') diff --git a/src/containerapp/azext_containerapp/custom.py b/src/containerapp/azext_containerapp/custom.py index 1a95eb2b431..e622ff1a219 100644 --- a/src/containerapp/azext_containerapp/custom.py +++ b/src/containerapp/azext_containerapp/custom.py @@ -163,16 +163,18 @@ def create_containerapp(cmd, try: from ._client_factory import cf_managedenvs - managed_env_info = cf_managedenvs(cmd.cli_ctx).get(resource_group_name=parse_resource_id(managed_env)["resource_group"], environment_name=parse_resource_id(managed_env)["name"]).serialize() + managed_env_info = cf_managedenvs(cmd.cli_ctx).get(resource_group_name=managed_env_rg, environment_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"] + location = managed_env_info.location _ensure_location_allowed(cmd, location, CONTAINER_APPS_RP, "containerApps") + from azure.mgmt.appcontainers.models import Ingress, RegistryCredentials, Dapr, Configuration, ManagedServiceIdentity, Scale, ContainerResources, Container, Template, ContainerApp, UserAssignedIdentity + external_ingress = None if ingress is not None: if ingress.lower() == "internal": @@ -182,10 +184,7 @@ def create_containerapp(cmd, 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 + ingress_def = Ingress(external=external_ingress, target_port=target_port, transport=transport) secrets_def = None if secrets is not None: @@ -193,37 +192,23 @@ def create_containerapp(cmd, 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) + pass_ref = store_as_secret_and_return_secret_ref(secrets_def, registry_user, registry_server, registry_pass, disable_warnings=disable_warnings) + + registries_def = RegistryCredentials(server=registry_server, username=registry_user, password_secret_ref=pass_ref) 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 + dapr_def = Dapr(enabled=True, app_id=dapr_app_id, app_port=dapr_app_port, app_protocol=dapr_app_protocol) + + config_def = Configuration(secrets=secrets_def, activate_revisions_mode=revisions_mode, ingress=ingress_def, registries=[registries_def] if registries_def is not None else None, dapr=dapr_def) # Identity actions - identity_def = ManagedServiceIdentityModel - identity_def["type"] = "None" + identity_def = ManagedServiceIdentity(type="None") assign_system_identity = system_assigned if user_assigned: @@ -232,58 +217,47 @@ def create_containerapp(cmd, assign_user_identities = [] if assign_system_identity and assign_user_identities: - identity_def["type"] = "SystemAssigned, UserAssigned" + identity_def.type = "SystemAssigned, UserAssigned" elif assign_system_identity: - identity_def["type"] = "SystemAssigned" + identity_def.type = "SystemAssigned" elif assign_user_identities: - identity_def["type"] = "UserAssigned" + identity_def.type = "UserAssigned" + valid_user_ids = {} 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 + valid_user_ids[r] = UserAssignedIdentity() + + identity_def.user_assigned_identities = valid_user_ids 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 + scale_def = Scale(min_replicas=min_replicas, max_replicas=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 + resources_def = ContainerResources(cpu=cpu, memory=memory) - container_def = ContainerModel - container_def["name"] = container_name if container_name else name - container_def["image"] = image + container_def = Container(name=container_name if container_name else name, image=image) if env_vars is not None: - container_def["env"] = parse_env_var_flags(env_vars) + container_def.env = parse_env_var_flags(env_vars) if startup_command is not None: - container_def["command"] = startup_command + container_def.command = startup_command if args is not None: - container_def["args"] = args + container_def.args = args if resources_def is not None: - container_def["resources"] = resources_def + container_def.resources = resources_def - template_def = TemplateModel - template_def["containers"] = [container_def] - template_def["scale"] = scale_def + template_def = Template(containers=[container_def], scale=scale_def) if revision_suffix is not None: - template_def["revisionSuffix"] = revision_suffix + template_def.revision_suffix = 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 + containerapp_def = ContainerApp(location=location, identity=identity_def, managed_environment_id=managed_env, configuration=config_def, template=template_def, tags=tags) try: poller = client.begin_create_or_update(resource_group_name=resource_group_name, container_app_name=name, container_app_envelope=containerapp_def) @@ -349,11 +323,11 @@ def update_containerapp_logic(cmd, handle_raw_exception(e) _update_revision_env_secretrefs(r["template"]["containers"], name) - containerapp_def["template"] = r["template"] + containerapp_def["properties"]["template"] = r["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 "template" in containerapp_def and "containers" in containerapp_def["template"]: - for container in containerapp_def["template"]["containers"]: + 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: @@ -367,19 +341,19 @@ def update_containerapp_logic(cmd, _add_or_update_tags(containerapp_def, tags) if revision_suffix is not None: - containerapp_def["template"]["revisionSuffix"] = revision_suffix + containerapp_def["properties"]["template"]["revisionSuffix"] = revision_suffix # Containers if update_map["container"]: if not container_name: - if len(containerapp_def["template"]["containers"]) == 1: - container_name = containerapp_def["template"]["containers"][0]["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["template"]["containers"]: + for c in containerapp_def["properties"]["template"]["containers"]: if c["name"].lower() == container_name.lower(): updating_existing_container = True @@ -472,16 +446,16 @@ def update_containerapp_logic(cmd, if resources_def is not None: container_def["resources"] = resources_def - containerapp_def["template"]["containers"].append(container_def) + containerapp_def["properties"]["template"]["containers"].append(container_def) # Scale if update_map["scale"]: if "scale" not in containerapp_def["template"]: - containerapp_def["template"]["scale"] = {} + containerapp_def["properties"]["template"]["scale"] = {} if min_replicas is not None: - containerapp_def["template"]["scale"]["minReplicas"] = min_replicas + containerapp_def["properties"]["template"]["scale"]["minReplicas"] = min_replicas if max_replicas is not None: - containerapp_def["template"]["scale"]["maxReplicas"] = max_replicas + containerapp_def["properties"]["template"]["scale"]["maxReplicas"] = max_replicas _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) @@ -538,7 +512,6 @@ def update_containerapp(cmd, def show_containerapp(cmd, client, name, resource_group_name): - import json _validate_subscription_registered(cmd, CONTAINER_APPS_RP) try: return client.get(resource_group_name=resource_group_name, container_app_name=name) @@ -1085,7 +1058,7 @@ def list_revisions(cmd, client, name, resource_group_name, all=False): revision_list = client.list_revisions(resource_group_name=resource_group_name, container_app_name=name) if all: return revision_list - return [r for r in revision_list if r["properties"]["active"]] + return [r for r in revision_list if r.active] except CLIError as e: handle_raw_exception(e) @@ -1191,12 +1164,12 @@ def copy_revision(cmd, from_revision) -def set_revision_mode(cmd, resource_group_name, name, mode, no_wait=False): +def set_revision_mode(cmd, client, resource_group_name, name, mode, no_wait=False): _validate_subscription_registered(cmd, CONTAINER_APPS_RP) containerapp_def = None try: - containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + containerapp_def = client.get(resource_group_name=resource_group_name, container_app_name=name).serialize() except: pass @@ -1208,14 +1181,14 @@ def set_revision_mode(cmd, resource_group_name, name, mode, no_wait=False): _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) + poller = client.begin_create_or_update(resource_group_name=resource_group_name, container_app_name=name, container_app_envelope=containerapp_def) + r = LongRunningOperation(cmd.cli_ctx)(poller).serialize() 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, yes=False): +def add_revision_label(cmd, client, resource_group_name, revision, label, name=None, no_wait=False, yes=False): _validate_subscription_registered(cmd, CONTAINER_APPS_RP) if not name: @@ -1223,7 +1196,7 @@ def add_revision_label(cmd, resource_group_name, revision, label, name=None, no_ containerapp_def = None try: - containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + containerapp_def = client.get(resource_group_name=resource_group_name, container_app_name=name).serialize() except: pass @@ -1272,8 +1245,8 @@ def add_revision_label(cmd, resource_group_name, revision, label, name=None, no_ 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) + poller = client.begin_create_or_update(resource_group_name=resource_group_name, container_app_name=name, container_app_envelope=containerapp_def) + r = LongRunningOperation(cmd.cli_ctx)(poller).serialize() return r['properties']['configuration']['ingress']['traffic'] except Exception as e: handle_raw_exception(e) diff --git a/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_identity_e2e.yaml b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_identity_e2e.yaml index 432f33875be..0d50669272e 100644 --- a/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_identity_e2e.yaml +++ b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_identity_e2e.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-02T18:48:15Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-02T19:36:08Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:48:17 GMT + - Thu, 02 Jun 2022 19:36:11 GMT expires: - '-1' pragma: @@ -66,16 +66,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"1bf91d2f-84f1-4694-be6e-338584913fa7\",\r\n \"provisioningState\": \"Creating\",\r\n + \"b5a7d7fc-35fd-4ad2-a7fd-3d0df9fb8a3a\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Thu, 02 Jun 2022 18:48:20 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Thu, 02 Jun 2022 19:36:14 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, 03 Jun 2022 09:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Fri, 03 Jun 2022 15:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Thu, 02 Jun 2022 18:48:20 GMT\",\r\n - \ \"modifiedDate\": \"Thu, 02 Jun 2022 18:48:20 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Thu, 02 Jun 2022 19:36:14 GMT\",\r\n + \ \"modifiedDate\": \"Thu, 02 Jun 2022 19:36:14 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.operationalinsights/workspaces/containerapp-env000005\",\r\n \ \"name\": \"containerapp-env000005\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -87,7 +87,7 @@ interactions: content-type: - application/json date: - - Thu, 02 Jun 2022 18:48:20 GMT + - Thu, 02 Jun 2022 19:36:14 GMT pragma: - no-cache server: @@ -98,7 +98,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-powered-by: - ASP.NET - ASP.NET @@ -125,16 +125,16 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"1bf91d2f-84f1-4694-be6e-338584913fa7\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"b5a7d7fc-35fd-4ad2-a7fd-3d0df9fb8a3a\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Thu, 02 Jun 2022 18:48:20 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Thu, 02 Jun 2022 19:36:14 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, 03 Jun 2022 09:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Fri, 03 Jun 2022 15:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Thu, 02 Jun 2022 18:48:20 GMT\",\r\n - \ \"modifiedDate\": \"Thu, 02 Jun 2022 18:48:22 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Thu, 02 Jun 2022 19:36:14 GMT\",\r\n + \ \"modifiedDate\": \"Thu, 02 Jun 2022 19:36:15 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.operationalinsights/workspaces/containerapp-env000005\",\r\n \ \"name\": \"containerapp-env000005\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -146,7 +146,7 @@ interactions: content-type: - application/json date: - - Thu, 02 Jun 2022 18:48:50 GMT + - Thu, 02 Jun 2022 19:36:44 GMT pragma: - no-cache server: @@ -187,8 +187,8 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000005/sharedKeys?api-version=2020-08-01 response: body: - string: "{\r\n \"primarySharedKey\": \"vJZWEThcwFRN09f2nD2j1B8KyGGqSg4K/ZqwIyomvGAP6goyVvyuEuYb999/wdxE1V7R2axytJLNpK2/lrmQZQ==\",\r\n - \ \"secondarySharedKey\": \"eP9LdodAGg9hYxgUXOJSQDyz6xOjDQWFjRpdr3V3FJVwqUd+a5v3g3JJrmjLf6eqm4SmD+RCTC6ehm1KlJJWAw==\"\r\n}" + string: "{\r\n \"primarySharedKey\": \"tKkzk95i7rKBwC+7R+EWgoOjjxXps9tfiRGqFuqEas1OMzxiW9tUaPE+h3NxUA41b0RSnL5Frfsk3aehSKRGVQ==\",\r\n + \ \"secondarySharedKey\": \"cSCg5VDHL8vuG1uITPvLCEe68+Hi8uMNcfHPMD66i2Ndpqq/80LuvesEYauENn0zDGpLmULHh190R1Xleuakew==\"\r\n}" headers: cache-control: - no-cache @@ -199,7 +199,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:48:52 GMT + - Thu, 02 Jun 2022 19:36:45 GMT expires: - '-1' pragma: @@ -244,7 +244,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-02T18:48:15Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-02T19:36:08Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -253,7 +253,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:48:53 GMT + - Thu, 02 Jun 2022 19:36:46 GMT expires: - '-1' pragma: @@ -323,7 +323,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:48:53 GMT + - Thu, 02 Jun 2022 19:36:47 GMT expires: - '-1' pragma: @@ -393,7 +393,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:48:54 GMT + - Thu, 02 Jun 2022 19:36:47 GMT expires: - '-1' pragma: @@ -411,7 +411,7 @@ interactions: body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": - "1bf91d2f-84f1-4694-be6e-338584913fa7", "sharedKey": "vJZWEThcwFRN09f2nD2j1B8KyGGqSg4K/ZqwIyomvGAP6goyVvyuEuYb999/wdxE1V7R2axytJLNpK2/lrmQZQ=="}}, + "b5a7d7fc-35fd-4ad2-a7fd-3d0df9fb8a3a", "sharedKey": "tKkzk95i7rKBwC+7R+EWgoOjjxXps9tfiRGqFuqEas1OMzxiW9tUaPE+h3NxUA41b0RSnL5Frfsk3aehSKRGVQ=="}}, "zoneRedundant": false}}' headers: Accept: @@ -434,20 +434,20 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444Z","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:36:49.1962582Z","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:36:49.1962582Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"whiteflower-97091619.eastus.azurecontainerapps.io","staticIp":"20.121.248.118","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b5a7d7fc-35fd-4ad2-a7fd-3d0df9fb8a3a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/6a71945e-9eb1-4e78-a4ac-9bc01d272034?api-version=2022-03-01&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0783ad51-bef7-43b9-bf0a-d6d537eddd2a?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '794' + - '798' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:48:55 GMT + - Thu, 02 Jun 2022 19:36:49 GMT expires: - '-1' pragma: @@ -486,18 +486,68 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:36:49.1962582","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:36:49.1962582"},"properties":{"provisioningState":"Waiting","defaultDomain":"whiteflower-97091619.eastus.azurecontainerapps.io","staticIp":"20.121.248.118","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b5a7d7fc-35fd-4ad2-a7fd-3d0df9fb8a3a"}},"zoneRedundant":false}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '796' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 19:36:49 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:36:49.1962582","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:36:49.1962582"},"properties":{"provisioningState":"Waiting","defaultDomain":"whiteflower-97091619.eastus.azurecontainerapps.io","staticIp":"20.121.248.118","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b5a7d7fc-35fd-4ad2-a7fd-3d0df9fb8a3a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '792' + - '796' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:48:55 GMT + - Thu, 02 Jun 2022 19:36:52 GMT expires: - '-1' pragma: @@ -536,18 +586,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:36:49.1962582","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:36:49.1962582"},"properties":{"provisioningState":"Waiting","defaultDomain":"whiteflower-97091619.eastus.azurecontainerapps.io","staticIp":"20.121.248.118","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b5a7d7fc-35fd-4ad2-a7fd-3d0df9fb8a3a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '792' + - '796' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:48:58 GMT + - Thu, 02 Jun 2022 19:36:55 GMT expires: - '-1' pragma: @@ -586,18 +636,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:36:49.1962582","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:36:49.1962582"},"properties":{"provisioningState":"Waiting","defaultDomain":"whiteflower-97091619.eastus.azurecontainerapps.io","staticIp":"20.121.248.118","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b5a7d7fc-35fd-4ad2-a7fd-3d0df9fb8a3a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '792' + - '796' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:49:01 GMT + - Thu, 02 Jun 2022 19:36:58 GMT expires: - '-1' pragma: @@ -636,18 +686,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:36:49.1962582","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:36:49.1962582"},"properties":{"provisioningState":"Waiting","defaultDomain":"whiteflower-97091619.eastus.azurecontainerapps.io","staticIp":"20.121.248.118","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b5a7d7fc-35fd-4ad2-a7fd-3d0df9fb8a3a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '792' + - '796' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:49:03 GMT + - Thu, 02 Jun 2022 19:37:01 GMT expires: - '-1' pragma: @@ -686,18 +736,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:36:49.1962582","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:36:49.1962582"},"properties":{"provisioningState":"Waiting","defaultDomain":"whiteflower-97091619.eastus.azurecontainerapps.io","staticIp":"20.121.248.118","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b5a7d7fc-35fd-4ad2-a7fd-3d0df9fb8a3a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '792' + - '796' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:49:06 GMT + - Thu, 02 Jun 2022 19:37:03 GMT expires: - '-1' pragma: @@ -736,18 +786,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:36:49.1962582","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:36:49.1962582"},"properties":{"provisioningState":"Waiting","defaultDomain":"whiteflower-97091619.eastus.azurecontainerapps.io","staticIp":"20.121.248.118","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b5a7d7fc-35fd-4ad2-a7fd-3d0df9fb8a3a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '792' + - '796' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:49:09 GMT + - Thu, 02 Jun 2022 19:37:05 GMT expires: - '-1' pragma: @@ -786,18 +836,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:36:49.1962582","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:36:49.1962582"},"properties":{"provisioningState":"Waiting","defaultDomain":"whiteflower-97091619.eastus.azurecontainerapps.io","staticIp":"20.121.248.118","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b5a7d7fc-35fd-4ad2-a7fd-3d0df9fb8a3a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '792' + - '796' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:49:11 GMT + - Thu, 02 Jun 2022 19:37:07 GMT expires: - '-1' pragma: @@ -836,18 +886,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:36:49.1962582","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:36:49.1962582"},"properties":{"provisioningState":"Waiting","defaultDomain":"whiteflower-97091619.eastus.azurecontainerapps.io","staticIp":"20.121.248.118","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b5a7d7fc-35fd-4ad2-a7fd-3d0df9fb8a3a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '792' + - '796' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:49:14 GMT + - Thu, 02 Jun 2022 19:37:11 GMT expires: - '-1' pragma: @@ -886,18 +936,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:36:49.1962582","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:36:49.1962582"},"properties":{"provisioningState":"Waiting","defaultDomain":"whiteflower-97091619.eastus.azurecontainerapps.io","staticIp":"20.121.248.118","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b5a7d7fc-35fd-4ad2-a7fd-3d0df9fb8a3a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '792' + - '796' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:49:16 GMT + - Thu, 02 Jun 2022 19:37:13 GMT expires: - '-1' pragma: @@ -936,18 +986,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:36:49.1962582","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:36:49.1962582"},"properties":{"provisioningState":"Waiting","defaultDomain":"whiteflower-97091619.eastus.azurecontainerapps.io","staticIp":"20.121.248.118","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b5a7d7fc-35fd-4ad2-a7fd-3d0df9fb8a3a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '792' + - '796' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:49:19 GMT + - Thu, 02 Jun 2022 19:37:16 GMT expires: - '-1' pragma: @@ -986,18 +1036,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:36:49.1962582","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:36:49.1962582"},"properties":{"provisioningState":"Waiting","defaultDomain":"whiteflower-97091619.eastus.azurecontainerapps.io","staticIp":"20.121.248.118","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b5a7d7fc-35fd-4ad2-a7fd-3d0df9fb8a3a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '792' + - '796' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:49:21 GMT + - Thu, 02 Jun 2022 19:37:18 GMT expires: - '-1' pragma: @@ -1036,18 +1086,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:36:49.1962582","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:36:49.1962582"},"properties":{"provisioningState":"Waiting","defaultDomain":"whiteflower-97091619.eastus.azurecontainerapps.io","staticIp":"20.121.248.118","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b5a7d7fc-35fd-4ad2-a7fd-3d0df9fb8a3a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '792' + - '796' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:49:24 GMT + - Thu, 02 Jun 2022 19:37:21 GMT expires: - '-1' pragma: @@ -1086,18 +1136,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:36:49.1962582","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:36:49.1962582"},"properties":{"provisioningState":"Waiting","defaultDomain":"whiteflower-97091619.eastus.azurecontainerapps.io","staticIp":"20.121.248.118","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b5a7d7fc-35fd-4ad2-a7fd-3d0df9fb8a3a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '792' + - '796' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:49:27 GMT + - Thu, 02 Jun 2022 19:37:23 GMT expires: - '-1' pragma: @@ -1136,18 +1186,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:36:49.1962582","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:36:49.1962582"},"properties":{"provisioningState":"Waiting","defaultDomain":"whiteflower-97091619.eastus.azurecontainerapps.io","staticIp":"20.121.248.118","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b5a7d7fc-35fd-4ad2-a7fd-3d0df9fb8a3a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '792' + - '796' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:49:30 GMT + - Thu, 02 Jun 2022 19:37:26 GMT expires: - '-1' pragma: @@ -1186,18 +1236,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:36:49.1962582","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:36:49.1962582"},"properties":{"provisioningState":"Waiting","defaultDomain":"whiteflower-97091619.eastus.azurecontainerapps.io","staticIp":"20.121.248.118","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b5a7d7fc-35fd-4ad2-a7fd-3d0df9fb8a3a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '792' + - '796' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:49:32 GMT + - Thu, 02 Jun 2022 19:37:28 GMT expires: - '-1' pragma: @@ -1236,18 +1286,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:36:49.1962582","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:36:49.1962582"},"properties":{"provisioningState":"Waiting","defaultDomain":"whiteflower-97091619.eastus.azurecontainerapps.io","staticIp":"20.121.248.118","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b5a7d7fc-35fd-4ad2-a7fd-3d0df9fb8a3a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '792' + - '796' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:49:35 GMT + - Thu, 02 Jun 2022 19:37:31 GMT expires: - '-1' pragma: @@ -1286,18 +1336,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:36:49.1962582","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:36:49.1962582"},"properties":{"provisioningState":"Waiting","defaultDomain":"whiteflower-97091619.eastus.azurecontainerapps.io","staticIp":"20.121.248.118","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b5a7d7fc-35fd-4ad2-a7fd-3d0df9fb8a3a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '792' + - '796' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:49:38 GMT + - Thu, 02 Jun 2022 19:37:33 GMT expires: - '-1' pragma: @@ -1336,18 +1386,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:36:49.1962582","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:36:49.1962582"},"properties":{"provisioningState":"Waiting","defaultDomain":"whiteflower-97091619.eastus.azurecontainerapps.io","staticIp":"20.121.248.118","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b5a7d7fc-35fd-4ad2-a7fd-3d0df9fb8a3a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '792' + - '796' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:49:39 GMT + - Thu, 02 Jun 2022 19:37:36 GMT expires: - '-1' pragma: @@ -1386,18 +1436,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:36:49.1962582","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:36:49.1962582"},"properties":{"provisioningState":"Waiting","defaultDomain":"whiteflower-97091619.eastus.azurecontainerapps.io","staticIp":"20.121.248.118","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b5a7d7fc-35fd-4ad2-a7fd-3d0df9fb8a3a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '792' + - '796' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:49:42 GMT + - Thu, 02 Jun 2022 19:37:38 GMT expires: - '-1' pragma: @@ -1436,18 +1486,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:36:49.1962582","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:36:49.1962582"},"properties":{"provisioningState":"Waiting","defaultDomain":"whiteflower-97091619.eastus.azurecontainerapps.io","staticIp":"20.121.248.118","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b5a7d7fc-35fd-4ad2-a7fd-3d0df9fb8a3a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '792' + - '796' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:49:45 GMT + - Thu, 02 Jun 2022 19:37:42 GMT expires: - '-1' pragma: @@ -1486,18 +1536,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Waiting","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:36:49.1962582","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:36:49.1962582"},"properties":{"provisioningState":"Waiting","defaultDomain":"whiteflower-97091619.eastus.azurecontainerapps.io","staticIp":"20.121.248.118","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b5a7d7fc-35fd-4ad2-a7fd-3d0df9fb8a3a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '792' + - '796' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:49:48 GMT + - Thu, 02 Jun 2022 19:37:44 GMT expires: - '-1' pragma: @@ -1536,18 +1586,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Succeeded","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:36:49.1962582","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:36:49.1962582"},"properties":{"provisioningState":"Succeeded","defaultDomain":"whiteflower-97091619.eastus.azurecontainerapps.io","staticIp":"20.121.248.118","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b5a7d7fc-35fd-4ad2-a7fd-3d0df9fb8a3a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '794' + - '798' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:49:50 GMT + - Thu, 02 Jun 2022 19:37:46 GMT expires: - '-1' pragma: @@ -1623,7 +1673,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:49:51 GMT + - Thu, 02 Jun 2022 19:37:47 GMT expires: - '-1' pragma: @@ -1656,18 +1706,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Succeeded","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:36:49.1962582","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:36:49.1962582"},"properties":{"provisioningState":"Succeeded","defaultDomain":"whiteflower-97091619.eastus.azurecontainerapps.io","staticIp":"20.121.248.118","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b5a7d7fc-35fd-4ad2-a7fd-3d0df9fb8a3a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '794' + - '798' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:49:52 GMT + - Thu, 02 Jun 2022 19:37:48 GMT expires: - '-1' pragma: @@ -1743,7 +1793,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:49:52 GMT + - Thu, 02 Jun 2022 19:37:49 GMT expires: - '-1' pragma: @@ -1776,18 +1826,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:48:55.3949444","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:48:55.3949444"},"properties":{"provisioningState":"Succeeded","defaultDomain":"icystone-c44622fb.eastus.azurecontainerapps.io","staticIp":"20.231.114.73","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"1bf91d2f-84f1-4694-be6e-338584913fa7"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:36:49.1962582","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:36:49.1962582"},"properties":{"provisioningState":"Succeeded","defaultDomain":"whiteflower-97091619.eastus.azurecontainerapps.io","staticIp":"20.121.248.118","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"b5a7d7fc-35fd-4ad2-a7fd-3d0df9fb8a3a"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '794' + - '798' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:49:52 GMT + - Thu, 02 Jun 2022 19:37:49 GMT expires: - '-1' pragma: @@ -1863,7 +1913,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:49:53 GMT + - Thu, 02 Jun 2022 19:37:50 GMT expires: - '-1' pragma: @@ -1905,20 +1955,20 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:49:54.7683333Z","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:49:54.7683333Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.231.112.52","20.231.112.46","20.231.112.134"],"latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:37:51.2212277Z","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:37:51.2212277Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.81.37.119","20.81.37.186","20.81.38.183"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/c125afab-18db-4850-9eb5-a3498df0ad13?api-version=2022-03-01&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/582c4c73-e62a-4d10-adcc-4d3c0ff0b083?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '1166' + - '1186' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:49:55 GMT + - Thu, 02 Jun 2022 19:37:53 GMT expires: - '-1' pragma: @@ -1954,1683 +2004,10 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/c125afab-18db-4850-9eb5-a3498df0ad13?api-version=2022-03-01&azureAsyncOperation=true - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/c125afab-18db-4850-9eb5-a3498df0ad13","name":"c125afab-18db-4850-9eb5-a3498df0ad13","status":"InProgress","startTime":"2022-06-02T18:49:54.9594635"}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '278' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18: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 create - Connection: - - keep-alive - ParameterSetName: - - -g -n --environment - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/c125afab-18db-4850-9eb5-a3498df0ad13?api-version=2022-03-01&azureAsyncOperation=true - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/c125afab-18db-4850-9eb5-a3498df0ad13","name":"c125afab-18db-4850-9eb5-a3498df0ad13","status":"Succeeded","startTime":"2022-06-02T18:49:54.9594635"}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '277' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18: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 create - Connection: - - keep-alive - ParameterSetName: - - -g -n --environment - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:49:54.7683333","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:49:54.7683333"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.231.112.52","20.231.112.46","20.231.112.134"],"latestRevisionName":"containerapp000003--f2jx2yq","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1214' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18: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: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity assign - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) - 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '3551' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:50: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity assign - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:49:54.7683333","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:49:54.7683333"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.231.112.52","20.231.112.46","20.231.112.134"],"latestRevisionName":"containerapp000003--f2jx2yq","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1214' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:50: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: '{"location": "East US", "identity": {"type": "SystemAssigned"}, "properties": - {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", - "configuration": {"secrets": [], "activeRevisionsMode": "Single"}, "template": - {"containers": [{"image": "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest", - "name": "containerapp000003", "resources": {"cpu": 0.5, "memory": "1Gi"}}], - "scale": {"maxReplicas": 10}}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity assign - Connection: - - keep-alive - Content-Length: - - '532' - Content-Type: - - application/json - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:49:54.7683333","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:50:34.6230874Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.231.112.52","20.231.112.46","20.231.112.134"],"latestRevisionName":"containerapp000003--f2jx2yq","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"3757e818-0b49-4e6c-a486-a97a80632903","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/8a4525b3-ef8b-49c0-b4ed-663265030a93?api-version=2022-03-01&azureAsyncOperation=true - cache-control: - - no-cache - content-length: - - '1329' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:50:35 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 identity assign - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/8a4525b3-ef8b-49c0-b4ed-663265030a93?api-version=2022-03-01&azureAsyncOperation=true - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/8a4525b3-ef8b-49c0-b4ed-663265030a93","name":"8a4525b3-ef8b-49c0-b4ed-663265030a93","status":"InProgress","startTime":"2022-06-02T18:50:35.8704148"}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '278' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:50: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 identity assign - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/8a4525b3-ef8b-49c0-b4ed-663265030a93?api-version=2022-03-01&azureAsyncOperation=true - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/8a4525b3-ef8b-49c0-b4ed-663265030a93","name":"8a4525b3-ef8b-49c0-b4ed-663265030a93","status":"Succeeded","startTime":"2022-06-02T18:50:35.8704148"}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '277' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:51: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 identity assign - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:49:54.7683333","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:50:34.6230874"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.231.112.52","20.231.112.46","20.231.112.134"],"latestRevisionName":"containerapp000003--f2jx2yq","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"3757e818-0b49-4e6c-a486-a97a80632903","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1327' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:51: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - identity create - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-02T18:48:15Z"},"properties":{"provisioningState":"Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '310' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:51: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: '{"location": "eastus"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - identity create - Connection: - - keep-alive - Content-Length: - - '22' - Content-Type: - - application/json - ParameterSetName: - - -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-msi/6.0.1 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004?api-version=2021-09-30-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004","name":"containerapp000004","type":"Microsoft.ManagedIdentity/userAssignedIdentities","location":"eastus","tags":{},"properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"1326d0e2-3504-448e-8772-f3367cac5434","clientId":"238d9505-3b0e-4d90-bc36-1be969bd4bc9"}}' - headers: - cache-control: - - no-cache - content-length: - - '454' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:51:14 GMT - expires: - - '-1' - location: - - /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity assign - Connection: - - keep-alive - ParameterSetName: - - --user-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) - 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '3551' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:51: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 identity assign - Connection: - - keep-alive - ParameterSetName: - - --user-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:49:54.7683333","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:50:34.6230874"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.231.112.52","20.231.112.46","20.231.112.134"],"latestRevisionName":"containerapp000003--f2jx2yq","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"3757e818-0b49-4e6c-a486-a97a80632903","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1327' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18: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: '{"location": "East US", "identity": {"type": "SystemAssigned,UserAssigned", - "userAssignedIdentities": {"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004": - {}}}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", - "configuration": {"secrets": [], "activeRevisionsMode": "Single"}, "template": - {"containers": [{"image": "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest", - "name": "containerapp000003", "resources": {"cpu": 0.5, "memory": "1Gi"}}], - "scale": {"maxReplicas": 10}}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity assign - Connection: - - keep-alive - Content-Length: - - '742' - Content-Type: - - application/json - ParameterSetName: - - --user-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:49:54.7683333","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:51:16.4729869Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.231.112.52","20.231.112.46","20.231.112.134"],"latestRevisionName":"containerapp000003--f2jx2yq","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned, - UserAssigned","principalId":"3757e818-0b49-4e6c-a486-a97a80632903","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004":{"principalId":"1326d0e2-3504-448e-8772-f3367cac5434","clientId":"238d9505-3b0e-4d90-bc36-1be969bd4bc9"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/a0878238-2c77-495f-a6a2-6ff72832bb0c?api-version=2022-03-01&azureAsyncOperation=true - cache-control: - - no-cache - content-length: - - '1639' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:51: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: - - '499' - x-powered-by: - - ASP.NET - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity assign - Connection: - - keep-alive - ParameterSetName: - - --user-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/a0878238-2c77-495f-a6a2-6ff72832bb0c?api-version=2022-03-01&azureAsyncOperation=true - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/a0878238-2c77-495f-a6a2-6ff72832bb0c","name":"a0878238-2c77-495f-a6a2-6ff72832bb0c","status":"InProgress","startTime":"2022-06-02T18:51:17.5309789"}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '278' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:51: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 identity assign - Connection: - - keep-alive - ParameterSetName: - - --user-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/a0878238-2c77-495f-a6a2-6ff72832bb0c?api-version=2022-03-01&azureAsyncOperation=true - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/a0878238-2c77-495f-a6a2-6ff72832bb0c","name":"a0878238-2c77-495f-a6a2-6ff72832bb0c","status":"Succeeded","startTime":"2022-06-02T18:51:17.5309789"}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '277' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18: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 identity assign - Connection: - - keep-alive - ParameterSetName: - - --user-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:49:54.7683333","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:51:16.4729869"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.231.112.52","20.231.112.46","20.231.112.134"],"latestRevisionName":"containerapp000003--f2jx2yq","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned, - UserAssigned","principalId":"3757e818-0b49-4e6c-a486-a97a80632903","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004":{"principalId":"1326d0e2-3504-448e-8772-f3367cac5434","clientId":"238d9505-3b0e-4d90-bc36-1be969bd4bc9"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1637' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity show - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) - 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '3551' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18: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 identity show - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:49:54.7683333","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:51:16.4729869"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.231.112.52","20.231.112.46","20.231.112.134"],"latestRevisionName":"containerapp000003--f2jx2yq","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned, - UserAssigned","principalId":"3757e818-0b49-4e6c-a486-a97a80632903","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004":{"principalId":"1326d0e2-3504-448e-8772-f3367cac5434","clientId":"238d9505-3b0e-4d90-bc36-1be969bd4bc9"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1637' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:51:55 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity remove - Connection: - - keep-alive - ParameterSetName: - - --user-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) - 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '3551' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18: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 identity remove - Connection: - - keep-alive - ParameterSetName: - - --user-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:49:54.7683333","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:51:16.4729869"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.231.112.52","20.231.112.46","20.231.112.134"],"latestRevisionName":"containerapp000003--f2jx2yq","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned, - UserAssigned","principalId":"3757e818-0b49-4e6c-a486-a97a80632903","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp000004":{"principalId":"1326d0e2-3504-448e-8772-f3367cac5434","clientId":"238d9505-3b0e-4d90-bc36-1be969bd4bc9"}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1637' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18: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: '{"location": "East US", "identity": {"type": "SystemAssigned"}, "properties": - {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", - "configuration": {"secrets": [], "activeRevisionsMode": "Single"}, "template": - {"containers": [{"image": "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest", - "name": "containerapp000003", "resources": {"cpu": 0.5, "memory": "1Gi"}}], - "scale": {"maxReplicas": 10}}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity remove - Connection: - - keep-alive - Content-Length: - - '532' - Content-Type: - - application/json - ParameterSetName: - - --user-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:49:54.7683333","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:51:57.5554641Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.231.112.52","20.231.112.46","20.231.112.134"],"latestRevisionName":"containerapp000003--f2jx2yq","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"3757e818-0b49-4e6c-a486-a97a80632903","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/f1480c9e-ef55-4f17-ad7c-66d3d5cb68e1?api-version=2022-03-01&azureAsyncOperation=true - cache-control: - - no-cache - content-length: - - '1329' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:51: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-resource-requests: - - '498' - x-powered-by: - - ASP.NET - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity remove - Connection: - - keep-alive - ParameterSetName: - - --user-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/f1480c9e-ef55-4f17-ad7c-66d3d5cb68e1?api-version=2022-03-01&azureAsyncOperation=true - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/f1480c9e-ef55-4f17-ad7c-66d3d5cb68e1","name":"f1480c9e-ef55-4f17-ad7c-66d3d5cb68e1","status":"InProgress","startTime":"2022-06-02T18:51:58.3708852"}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '278' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18: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 identity remove - Connection: - - keep-alive - ParameterSetName: - - --user-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/f1480c9e-ef55-4f17-ad7c-66d3d5cb68e1?api-version=2022-03-01&azureAsyncOperation=true - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/f1480c9e-ef55-4f17-ad7c-66d3d5cb68e1","name":"f1480c9e-ef55-4f17-ad7c-66d3d5cb68e1","status":"Succeeded","startTime":"2022-06-02T18:51:58.3708852"}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '277' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18: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 identity remove - Connection: - - keep-alive - ParameterSetName: - - --user-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:49:54.7683333","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:51:57.5554641"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.231.112.52","20.231.112.46","20.231.112.134"],"latestRevisionName":"containerapp000003--f2jx2yq","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"3757e818-0b49-4e6c-a486-a97a80632903","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1327' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity show - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) - 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '3551' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:52: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity show - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:49:54.7683333","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:51:57.5554641"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.231.112.52","20.231.112.46","20.231.112.134"],"latestRevisionName":"containerapp000003--f2jx2yq","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"3757e818-0b49-4e6c-a486-a97a80632903","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1327' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity remove - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) - 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '3551' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:52: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 identity remove - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:49:54.7683333","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:51:57.5554641"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.231.112.52","20.231.112.46","20.231.112.134"],"latestRevisionName":"containerapp000003--f2jx2yq","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"SystemAssigned","principalId":"3757e818-0b49-4e6c-a486-a97a80632903","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1327' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:52: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: '{"location": "East US", "identity": {"type": "None"}, "properties": {"managedEnvironmentId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", - "configuration": {"secrets": [], "activeRevisionsMode": "Single"}, "template": - {"containers": [{"image": "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest", - "name": "containerapp000003", "resources": {"cpu": 0.5, "memory": "1Gi"}}], - "scale": {"maxReplicas": 10}}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity remove - Connection: - - keep-alive - Content-Length: - - '522' - Content-Type: - - application/json - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T18:49:54.7683333","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T18:52:37.9621885Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.231.112.52","20.231.112.46","20.231.112.134"],"latestRevisionName":"containerapp000003--f2jx2yq","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single"},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/5e1ed1ce-24c6-4a42-961c-2bf764901c3f?api-version=2022-03-01&azureAsyncOperation=true - cache-control: - - no-cache - content-length: - - '1216' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 18:52: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-resource-requests: - - '499' - x-powered-by: - - ASP.NET - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp identity remove - Connection: - - keep-alive - ParameterSetName: - - --system-assigned -g -n - User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/5e1ed1ce-24c6-4a42-961c-2bf764901c3f?api-version=2022-03-01&azureAsyncOperation=true + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/582c4c73-e62a-4d10-adcc-4d3c0ff0b083?api-version=2022-03-01&azureAsyncOperation=true response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/5e1ed1ce-24c6-4a42-961c-2bf764901c3f","name":"5e1ed1ce-24c6-4a42-961c-2bf764901c3f","status":"InProgress","startTime":"2022-06-02T18:52:38.5704155"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/582c4c73-e62a-4d10-adcc-4d3c0ff0b083","name":"582c4c73-e62a-4d10-adcc-4d3c0ff0b083","status":"InProgress","startTime":"2022-06-02T19:37:51.4079911"}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 @@ -3641,7 +2018,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 18:52:43 GMT + - Thu, 02 Jun 2022 19:37:58 GMT expires: - '-1' pragma: diff --git a/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_revision_label_e2e.yaml b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_revision_label_e2e.yaml index 86f477461b7..4842af0d01d 100644 --- a/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_revision_label_e2e.yaml +++ b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_revision_label_e2e.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"northeurope","tags":{"product":"azurecli","cause":"automation","date":"2022-05-26T22:46:23Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"northeurope","tags":{"product":"azurecli","cause":"automation","date":"2022-06-02T19:47:56Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:46:26 GMT + - Thu, 02 Jun 2022 19:47:59 GMT expires: - '-1' pragma: @@ -65,7 +65,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004?api-version=2021-12-01-preview response: body: - string: '{"properties":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2022-05-26T22:46:31.2820632Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2022-05-27T14:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2022-05-26T22:46:31.2820632Z","modifiedDate":"2022-05-26T22:46:31.2820632Z"},"location":"northeurope","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004","name":"containerapp-env000004","type":"Microsoft.OperationalInsights/workspaces"}' + string: '{"properties":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2022-06-02T19:48:04.1266635Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2022-06-03T11:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2022-06-02T19:48:04.1266635Z","modifiedDate":"2022-06-02T19:48:04.1266635Z"},"location":"northeurope","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004","name":"containerapp-env000004","type":"Microsoft.OperationalInsights/workspaces"}' headers: access-control-allow-origin: - '*' @@ -78,7 +78,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:46:32 GMT + - Thu, 02 Jun 2022 19:48:05 GMT expires: - '-1' location: @@ -119,7 +119,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004?api-version=2021-12-01-preview response: body: - string: '{"properties":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b","provisioningState":"Succeeded","sku":{"name":"PerGB2018","lastSkuUpdate":"2022-05-26T22:46:31.2820632Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2022-05-27T14:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2022-05-26T22:46:31.2820632Z","modifiedDate":"2022-05-26T22:46:31.2820632Z"},"location":"northeurope","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004","name":"containerapp-env000004","type":"Microsoft.OperationalInsights/workspaces"}' + string: '{"properties":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded","provisioningState":"Succeeded","sku":{"name":"PerGB2018","lastSkuUpdate":"2022-06-02T19:48:04.1266635Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2022-06-03T11:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2022-06-02T19:48:04.1266635Z","modifiedDate":"2022-06-02T19:48:04.1266635Z"},"location":"northeurope","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004","name":"containerapp-env000004","type":"Microsoft.OperationalInsights/workspaces"}' headers: access-control-allow-origin: - '*' @@ -132,7 +132,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:47:02 GMT + - Thu, 02 Jun 2022 19:48:35 GMT expires: - '-1' pragma: @@ -175,7 +175,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004/sharedKeys?api-version=2020-08-01 response: body: - string: '{"primarySharedKey":"jqp641ZYmljIcLPwXVjYn39ad5IGN+8XELoB7rRC0/EOYB8IXCAiG7d75VAXcXlmXvbO+SpA5jmlT9bLQgQNfg==","secondarySharedKey":"Rk0cnP2aDe2b1v6BW2e1rvg+RHrcwaHfMIfKLFA9v849JZRFDzGYbOyuvdQXFifXt3+rT55X5XMLQJi/6jO7bA=="}' + string: '{"primarySharedKey":"nAmSsZKQOEP4nsb+PNRKnGo/jL6ZsGmFS8dNzH0ET9O+TN8WG7wSoJ7mRGeGJymInc6X/j+GTE6mFV5lbs4RqA==","secondarySharedKey":"9rG5Od1U6TEMjIYmmXk6G3eB5YsBTQMZtz8KD+N4aHvUJm7YDw7tjxDE2rqeJmfkWoy1wYWFpg43luBGy+xbbA=="}' headers: access-control-allow-origin: - '*' @@ -188,7 +188,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:47:05 GMT + - Thu, 02 Jun 2022 19:48:37 GMT expires: - '-1' pragma: @@ -231,7 +231,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"northeurope","tags":{"product":"azurecli","cause":"automation","date":"2022-05-26T22:46:23Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"northeurope","tags":{"product":"azurecli","cause":"automation","date":"2022-06-02T19:47:56Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -240,7 +240,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:47:06 GMT + - Thu, 02 Jun 2022 19:48:39 GMT expires: - '-1' pragma: @@ -310,7 +310,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:47:06 GMT + - Thu, 02 Jun 2022 19:48:39 GMT expires: - '-1' pragma: @@ -380,7 +380,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:47:07 GMT + - Thu, 02 Jun 2022 19:48:40 GMT expires: - '-1' pragma: @@ -398,7 +398,7 @@ interactions: body: '{"location": "northeurope", "tags": null, "properties": {"daprAIInstrumentationKey": null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": - "6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b", "sharedKey": "jqp641ZYmljIcLPwXVjYn39ad5IGN+8XELoB7rRC0/EOYB8IXCAiG7d75VAXcXlmXvbO+SpA5jmlT9bLQgQNfg=="}}, + "306b66c3-4000-4041-b3fa-2b4e02d1eded", "sharedKey": "nAmSsZKQOEP4nsb+PNRKnGo/jL6ZsGmFS8dNzH0ET9O+TN8WG7wSoJ7mRGeGJymInc6X/j+GTE6mFV5lbs4RqA=="}}, "zoneRedundant": false}}' headers: Accept: @@ -421,20 +421,20 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265Z","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585Z","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/managedEnvironmentOperationStatuses/f94f87c7-c435-49f2-b983-5ddb2af6ba43?api-version=2022-03-01&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/managedEnvironmentOperationStatuses/1c7314f4-9913-45f8-a1b8-bf9ea0068426?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '807' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:47:12 GMT + - Thu, 02 Jun 2022 19:48:45 GMT expires: - '-1' pragma: @@ -473,18 +473,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '805' + - '808' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:47:14 GMT + - Thu, 02 Jun 2022 19:48:47 GMT expires: - '-1' pragma: @@ -523,18 +523,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '805' + - '808' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:47:18 GMT + - Thu, 02 Jun 2022 19:48:51 GMT expires: - '-1' pragma: @@ -573,18 +573,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '805' + - '808' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:47:22 GMT + - Thu, 02 Jun 2022 19:48:55 GMT expires: - '-1' pragma: @@ -623,18 +623,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '805' + - '808' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:47:25 GMT + - Thu, 02 Jun 2022 19:49:00 GMT expires: - '-1' pragma: @@ -673,18 +673,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '805' + - '808' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:47:30 GMT + - Thu, 02 Jun 2022 19:49:03 GMT expires: - '-1' pragma: @@ -723,18 +723,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '805' + - '808' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:47:34 GMT + - Thu, 02 Jun 2022 19:49:07 GMT expires: - '-1' pragma: @@ -773,18 +773,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '805' + - '808' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:47:38 GMT + - Thu, 02 Jun 2022 19:49:11 GMT expires: - '-1' pragma: @@ -823,18 +823,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '805' + - '808' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:47:41 GMT + - Thu, 02 Jun 2022 19:49:15 GMT expires: - '-1' pragma: @@ -873,18 +873,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '805' + - '808' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:47:45 GMT + - Thu, 02 Jun 2022 19:49:18 GMT expires: - '-1' pragma: @@ -923,18 +923,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '805' + - '808' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:47:48 GMT + - Thu, 02 Jun 2022 19:49:22 GMT expires: - '-1' pragma: @@ -973,18 +973,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '805' + - '808' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:47:52 GMT + - Thu, 02 Jun 2022 19:49:26 GMT expires: - '-1' pragma: @@ -1023,18 +1023,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '805' + - '808' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:47:56 GMT + - Thu, 02 Jun 2022 19:49:31 GMT expires: - '-1' pragma: @@ -1073,18 +1073,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Succeeded","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '807' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:48:00 GMT + - Thu, 02 Jun 2022 19:49:35 GMT expires: - '-1' pragma: @@ -1160,7 +1160,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:48:01 GMT + - Thu, 02 Jun 2022 19:49:35 GMT expires: - '-1' pragma: @@ -1193,18 +1193,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Succeeded","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '807' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:48:04 GMT + - Thu, 02 Jun 2022 19:49:37 GMT expires: - '-1' pragma: @@ -1280,7 +1280,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:48:04 GMT + - Thu, 02 Jun 2022 19:49:38 GMT expires: - '-1' pragma: @@ -1298,7 +1298,7 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -1308,23 +1308,23 @@ interactions: ParameterSetName: - -g -n --environment --ingress --target-port User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Succeeded","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '807' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:48:07 GMT + - Thu, 02 Jun 2022 19:49:40 GMT expires: - '-1' pragma: @@ -1400,7 +1400,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:48:07 GMT + - Thu, 02 Jun 2022 19:49:40 GMT expires: - '-1' pragma: @@ -1415,17 +1415,14 @@ interactions: code: 200 message: OK - request: - body: '{"location": "northeurope", "identity": {"type": "None", "userAssignedIdentities": - null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", - "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": - {"fqdn": null, "external": true, "targetPort": 80, "transport": "auto", "traffic": - null, "customDomains": null}, "dapr": null, "registries": null}, "template": - {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest", - "name": "containerapp000003", "command": null, "args": null, "env": null, "resources": - null, "volumeMounts": null}], "scale": null, "volumes": null}}, "tags": null}' + body: '{"location": "northeurope", "identity": {"type": "None"}, "properties": + {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", + "configuration": {"activeRevisionsMode": "single", "ingress": {"external": true, + "targetPort": 80, "transport": "auto"}}, "template": {"containers": [{"image": + "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest", "name": "containerapp000003"}]}}}' headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -1433,32 +1430,32 @@ interactions: Connection: - keep-alive Content-Length: - - '799' + - '507' Content-Type: - application/json ParameterSetName: - -g -n --environment --ingress --target-port User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888Z","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:11.527888Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129Z","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:49:44.4015129Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/39d00265-9582-4ac5-80da-c6d7301861af?api-version=2022-03-01&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/86e873ac-a45f-4f32-9e63-bbc41138d690?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '1408' + - '1388' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:48:13 GMT + - Thu, 02 Jun 2022 19:49:47 GMT expires: - '-1' pragma: @@ -1492,24 +1489,23 @@ interactions: ParameterSetName: - -g -n --environment --ingress --target-port User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/86e873ac-a45f-4f32-9e63-bbc41138d690?api-version=2022-03-01&azureAsyncOperation=true response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:11.527888"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--ie56ifz","latestRevisionFqdn":"containerapp000003--ie56ifz.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/86e873ac-a45f-4f32-9e63-bbc41138d690","name":"86e873ac-a45f-4f32-9e63-bbc41138d690","status":"InProgress","startTime":"2022-06-02T19:49:45.0857946"}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1515' + - '283' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:48:16 GMT + - Thu, 02 Jun 2022 19:49:52 GMT expires: - '-1' pragma: @@ -1543,24 +1539,23 @@ interactions: ParameterSetName: - -g -n --environment --ingress --target-port User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/86e873ac-a45f-4f32-9e63-bbc41138d690?api-version=2022-03-01&azureAsyncOperation=true response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:11.527888"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--ie56ifz","latestRevisionFqdn":"containerapp000003--ie56ifz.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/86e873ac-a45f-4f32-9e63-bbc41138d690","name":"86e873ac-a45f-4f32-9e63-bbc41138d690","status":"Succeeded","startTime":"2022-06-02T19:49:45.0857946"}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1515' + - '282' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:48:21 GMT + - Thu, 02 Jun 2022 19:50:22 GMT expires: - '-1' pragma: @@ -1594,24 +1589,24 @@ interactions: ParameterSetName: - -g -n --environment --ingress --target-port User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:11.527888"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--ie56ifz","latestRevisionFqdn":"containerapp000003--ie56ifz.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:49:44.4015129"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--l19fu4t","latestRevisionFqdn":"containerapp000003--l19fu4t.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1514' + - '1521' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:48:26 GMT + - Thu, 02 Jun 2022 19:50:22 GMT expires: - '-1' pragma: @@ -1687,7 +1682,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:48:26 GMT + - Thu, 02 Jun 2022 19:50:24 GMT expires: - '-1' pragma: @@ -1721,18 +1716,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:11.527888"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--ie56ifz","latestRevisionFqdn":"containerapp000003--ie56ifz.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:49:44.4015129"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--l19fu4t","latestRevisionFqdn":"containerapp000003--l19fu4t.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1514' + - '1521' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:48:28 GMT + - Thu, 02 Jun 2022 19:50:26 GMT expires: - '-1' pragma: @@ -1808,7 +1803,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:48:28 GMT + - Thu, 02 Jun 2022 19:50:26 GMT expires: - '-1' pragma: @@ -1826,7 +1821,7 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -1836,23 +1831,23 @@ interactions: ParameterSetName: - -g -n --environment --ingress --target-port --image User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Succeeded","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '807' + - '810' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:48:30 GMT + - Thu, 02 Jun 2022 19:50:27 GMT expires: - '-1' pragma: @@ -1928,7 +1923,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:48:30 GMT + - Thu, 02 Jun 2022 19:50:28 GMT expires: - '-1' pragma: @@ -1943,17 +1938,14 @@ interactions: code: 200 message: OK - request: - body: '{"location": "northeurope", "identity": {"type": "None", "userAssignedIdentities": - null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", - "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": - {"fqdn": null, "external": true, "targetPort": 80, "transport": "auto", "traffic": - null, "customDomains": null}, "dapr": null, "registries": null}, "template": - {"revisionSuffix": null, "containers": [{"image": "nginx", "name": "containerapp000003", - "command": null, "args": null, "env": null, "resources": null, "volumeMounts": - null}], "scale": null, "volumes": null}}, "tags": null}' + body: '{"location": "northeurope", "identity": {"type": "None"}, "properties": + {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", + "configuration": {"activeRevisionsMode": "single", "ingress": {"external": true, + "targetPort": 80, "transport": "auto"}}, "template": {"containers": [{"image": + "nginx", "name": "containerapp000003"}]}}}' headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -1961,32 +1953,32 @@ interactions: Connection: - keep-alive Content-Length: - - '745' + - '453' Content-Type: - application/json ParameterSetName: - -g -n --environment --ingress --target-port --image User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:32.5518193Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--ie56ifz","latestRevisionFqdn":"containerapp000003--ie56ifz.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:50:30.8955747Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--l19fu4t","latestRevisionFqdn":"containerapp000003--l19fu4t.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/62906bb4-85d5-411f-b774-d8414da7197f?api-version=2022-03-01&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/fe3861ba-674a-4353-82bd-9795819cee85?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '1463' + - '1469' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:48:36 GMT + - Thu, 02 Jun 2022 19:50:34 GMT expires: - '-1' pragma: @@ -2020,126 +2012,23 @@ interactions: ParameterSetName: - -g -n --environment --ingress --target-port --image User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:32.5518193"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1462' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 May 2022 22:48:36 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp create - Connection: - - keep-alive - ParameterSetName: - - -g -n --environment --ingress --target-port --image - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:32.5518193"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1462' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 May 2022 22:48: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 create - Connection: - - keep-alive - ParameterSetName: - - -g -n --environment --ingress --target-port --image - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/fe3861ba-674a-4353-82bd-9795819cee85?api-version=2022-03-01&azureAsyncOperation=true response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:32.5518193"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/fe3861ba-674a-4353-82bd-9795819cee85","name":"fe3861ba-674a-4353-82bd-9795819cee85","status":"Succeeded","startTime":"2022-06-02T19:50:32.5832335"}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1462' + - '282' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:48:44 GMT + - Thu, 02 Jun 2022 19:50:39 GMT expires: - '-1' pragma: @@ -2173,24 +2062,24 @@ interactions: ParameterSetName: - -g -n --environment --ingress --target-port --image User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:32.5518193"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:50:30.8955747"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1461' + - '1467' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:48:48 GMT + - Thu, 02 Jun 2022 19:50:40 GMT expires: - '-1' pragma: @@ -2266,7 +2155,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:48:49 GMT + - Thu, 02 Jun 2022 19:50:41 GMT expires: - '-1' pragma: @@ -2284,7 +2173,7 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -2294,24 +2183,24 @@ interactions: ParameterSetName: - -g -n --mode User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:32.5518193"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:50:30.8955747"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1461' + - '1467' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:48:51 GMT + - Thu, 02 Jun 2022 19:50:42 GMT expires: - '-1' pragma: @@ -2332,24 +2221,16 @@ interactions: code: 200 message: OK - request: - body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003", - "name": "containerapp000003", "type": "Microsoft.App/containerApps", "location": - "North Europe", "systemData": {"createdBy": "haroonfeisal@microsoft.com", "createdByType": - "User", "createdAt": "2022-05-26T22:48:11.527888", "lastModifiedBy": "haroonfeisal@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-05-26T22:48:32.5518193"}, - "properties": {"provisioningState": "Succeeded", "managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", - "outboundIpAddresses": ["40.67.250.25", "40.67.250.221", "40.67.252.230"], "latestRevisionName": - "containerapp000003--aixgh10", "latestRevisionFqdn": "containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io", - "customDomainVerificationId": "99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E", - "configuration": {"activeRevisionsMode": "multiple", "ingress": {"fqdn": "containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io", - "external": true, "targetPort": 80, "transport": "Auto", "traffic": [{"weight": - 100, "latestRevision": true}], "allowInsecure": false}, "secrets": []}, "template": - {"containers": [{"image": "nginx", "name": "containerapp000003", "resources": - {"cpu": 0.5, "memory": "1Gi"}}], "scale": {"maxReplicas": 10}}}, "identity": - {"type": "None"}}' + body: '{"location": "North Europe", "identity": {"type": "None"}, "properties": + {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", + "configuration": {"secrets": [], "activeRevisionsMode": "multiple", "ingress": + {"external": true, "targetPort": 80, "transport": "Auto", "traffic": [{"weight": + 100, "latestRevision": true}], "allowInsecure": false}}, "template": {"containers": + [{"image": "nginx", "name": "containerapp000003", "resources": {"cpu": 0.5, + "memory": "1Gi"}}], "scale": {"maxReplicas": 10}}}}' headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -2357,32 +2238,32 @@ interactions: Connection: - keep-alive Content-Length: - - '1549' + - '623' Content-Type: - application/json ParameterSetName: - -g -n --mode User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:53.3572831Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:50:44.1677476Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/8ba7356c-e643-4fc8-83e1-cefce15cf4e5?api-version=2022-03-01&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/41d242c2-2725-47df-bf55-a49a41c3981c?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '1465' + - '1471' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:48:55 GMT + - Thu, 02 Jun 2022 19:50:47 GMT expires: - '-1' pragma: @@ -2416,24 +2297,23 @@ interactions: ParameterSetName: - -g -n --mode User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/41d242c2-2725-47df-bf55-a49a41c3981c?api-version=2022-03-01&azureAsyncOperation=true response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:53.3572831"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/41d242c2-2725-47df-bf55-a49a41c3981c","name":"41d242c2-2725-47df-bf55-a49a41c3981c","status":"Succeeded","startTime":"2022-06-02T19:50:45.4159024"}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1464' + - '282' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:48:58 GMT + - Thu, 02 Jun 2022 19:50:52 GMT expires: - '-1' pragma: @@ -2467,24 +2347,24 @@ interactions: ParameterSetName: - -g -n --mode User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:53.3572831"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:50:44.1677476"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1464' + - '1469' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:49:01 GMT + - Thu, 02 Jun 2022 19:50:53 GMT expires: - '-1' pragma: @@ -2508,50 +2388,69 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - containerapp revision set-mode + - containerapp revision list Connection: - keep-alive ParameterSetName: - - -g -n --mode + - -g -n --all --query User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + 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/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:53.3572831"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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, 2022-05-01 cache-control: - no-cache content-length: - - '1463' + - '3551' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:49:04 GMT + - Thu, 02 Jun 2022 19:50: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 + - Accept-Encoding x-content-type-options: - nosniff - x-powered-by: - - ASP.NET status: code: 200 message: OK @@ -2559,7 +2458,7 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -2569,23 +2468,23 @@ interactions: ParameterSetName: - -g -n --all --query User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions?api-version=2022-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--ie56ifz","name":"containerapp000003--ie56ifz","type":"Microsoft.App/containerapps/revisions","properties":{"createdTime":"2022-05-26T22:48:14+00:00","fqdn":"containerapp000003--ie56ifz.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.50,"memory":"1Gi"},"probes":[]}],"scale":{"maxReplicas":10}},"active":false,"replicas":0,"trafficWeight":0,"healthState":"Healthy","provisioningState":"Provisioned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--aixgh10","name":"containerapp000003--aixgh10","type":"Microsoft.App/containerapps/revisions","properties":{"createdTime":"2022-05-26T22:48:34+00:00","fqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.50,"memory":"1Gi"},"probes":[]}],"scale":{"maxReplicas":10}},"active":true,"replicas":1,"trafficWeight":100,"healthState":"Healthy","provisioningState":"Provisioned"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--l19fu4t","name":"containerapp000003--l19fu4t","type":"Microsoft.App/containerapps/revisions","properties":{"createdTime":"2022-06-02T19:49:46+00:00","fqdn":"containerapp000003--l19fu4t.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.50,"memory":"1Gi"},"probes":[]}],"scale":{"maxReplicas":10}},"active":false,"replicas":0,"trafficWeight":0,"healthState":"Healthy","provisioningState":"Provisioned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--q6ac2h3","name":"containerapp000003--q6ac2h3","type":"Microsoft.App/containerapps/revisions","properties":{"createdTime":"2022-06-02T19:50:32+00:00","fqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.50,"memory":"1Gi"},"probes":[]}],"scale":{"maxReplicas":10}},"active":true,"replicas":1,"trafficWeight":100,"healthState":"Healthy","provisioningState":"Provisioned"}}]}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1422' + - '1428' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:49:06 GMT + - Thu, 02 Jun 2022 19:50:55 GMT expires: - '-1' pragma: @@ -2661,7 +2560,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:49:07 GMT + - Thu, 02 Jun 2022 19:50:57 GMT expires: - '-1' pragma: @@ -2679,7 +2578,7 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -2689,24 +2588,24 @@ interactions: ParameterSetName: - -g -n --revision --label User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:53.3572831"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:50:44.1677476"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1463' + - '1469' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:49:08 GMT + - Thu, 02 Jun 2022 19:50:59 GMT expires: - '-1' pragma: @@ -2742,21 +2641,21 @@ interactions: User-Agent: - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--ie56ifz?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--l19fu4t?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--ie56ifz","name":"containerapp000003--ie56ifz","type":"Microsoft.App/containerapps/revisions","properties":{"createdTime":"2022-05-26T22:48:14+00:00","fqdn":"containerapp000003--ie56ifz.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.50,"memory":"1Gi"},"probes":[]}],"scale":{"maxReplicas":10}},"active":false,"replicas":0,"trafficWeight":0,"healthState":"Healthy","provisioningState":"Provisioned"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--l19fu4t","name":"containerapp000003--l19fu4t","type":"Microsoft.App/containerapps/revisions","properties":{"createdTime":"2022-06-02T19:49:46+00:00","fqdn":"containerapp000003--l19fu4t.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.50,"memory":"1Gi"},"probes":[]}],"scale":{"maxReplicas":10}},"active":false,"replicas":0,"trafficWeight":0,"healthState":"Healthy","provisioningState":"Provisioned"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '731' + - '734' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:49:11 GMT + - Thu, 02 Jun 2022 19:51:00 GMT expires: - '-1' pragma: @@ -2777,12 +2676,17 @@ interactions: code: 200 message: OK - request: - body: '{"properties": {"configuration": {"ingress": {"traffic": [{"weight": 100, - "latestRevision": true}, {"revisionName": "containerapp000003--ie56ifz", "weight": - 0, "latestRevision": false, "label": "label000005"}]}}}}' + body: '{"location": "North Europe", "identity": {"type": "None"}, "properties": + {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", + "configuration": {"activeRevisionsMode": "Multiple", "ingress": {"external": + true, "targetPort": 80, "transport": "Auto", "traffic": [{"weight": 100, "latestRevision": + true}, {"revisionName": "containerapp000003--l19fu4t", "weight": 0, "latestRevision": + false, "label": "label000005"}], "allowInsecure": false}}, "template": {"containers": + [{"image": "nginx", "name": "containerapp000003", "resources": {"cpu": 0.5, + "memory": "1Gi"}}], "scale": {"maxReplicas": 10}}}}' headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -2790,31 +2694,34 @@ interactions: Connection: - keep-alive Content-Length: - - '213' + - '719' Content-Type: - application/json ParameterSetName: - -g -n --revision --label User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: PATCH + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: - string: '' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:51:02.1586247Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":0,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/91dc7459-ed76-484e-b8e2-4254944ef83b?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '0' + - '1551' + content-type: + - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:49:13 GMT + - Thu, 02 Jun 2022 19:51:05 GMT expires: - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/5c4acb65-a941-4e24-af03-599071067fb6?api-version=2022-03-01 pragma: - no-cache server: @@ -2823,13 +2730,15 @@ interactions: - 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: 202 - message: Accepted + code: 201 + message: Created - request: body: null headers: @@ -2844,24 +2753,23 @@ interactions: ParameterSetName: - -g -n --revision --label User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/91dc7459-ed76-484e-b8e2-4254944ef83b?api-version=2022-03-01&azureAsyncOperation=true response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:11.855859"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/91dc7459-ed76-484e-b8e2-4254944ef83b","name":"91dc7459-ed76-484e-b8e2-4254944ef83b","status":"Succeeded","startTime":"2022-06-02T19:51:03.2382784"}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1543' + - '282' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:49:14 GMT + - Thu, 02 Jun 2022 19:51:10 GMT expires: - '-1' pragma: @@ -2895,24 +2803,24 @@ interactions: ParameterSetName: - -g -n --revision --label User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:11.855859"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:51:02.1586247"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":0,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1543' + - '1549' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:49:17 GMT + - Thu, 02 Jun 2022 19:51:10 GMT expires: - '-1' pragma: @@ -2936,7 +2844,7 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -2946,60 +2854,9 @@ interactions: ParameterSetName: - -g -n --revision --label User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:11.855859"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1542' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 May 2022 22:49: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 revision label add - Connection: - - keep-alive - ParameterSetName: - - -g -n --revision --label - User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) - 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/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 @@ -3039,7 +2896,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:49:22 GMT + - Thu, 02 Jun 2022 19:51:11 GMT expires: - '-1' pragma: @@ -3057,7 +2914,7 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -3067,24 +2924,24 @@ interactions: ParameterSetName: - -g -n --revision --label User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:11.855859"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:51:02.1586247"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":0,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1542' + - '1549' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:49:24 GMT + - Thu, 02 Jun 2022 19:51:13 GMT expires: - '-1' pragma: @@ -3120,21 +2977,21 @@ interactions: User-Agent: - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--aixgh10?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--q6ac2h3?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--aixgh10","name":"containerapp000003--aixgh10","type":"Microsoft.App/containerapps/revisions","properties":{"createdTime":"2022-05-26T22:48:34+00:00","fqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.50,"memory":"1Gi"},"probes":[]}],"scale":{"maxReplicas":10}},"active":true,"replicas":1,"trafficWeight":100,"healthState":"Healthy","provisioningState":"Provisioned"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--q6ac2h3","name":"containerapp000003--q6ac2h3","type":"Microsoft.App/containerapps/revisions","properties":{"createdTime":"2022-06-02T19:50:32+00:00","fqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.50,"memory":"1Gi"},"probes":[]}],"scale":{"maxReplicas":10}},"active":true,"replicas":1,"trafficWeight":100,"healthState":"Healthy","provisioningState":"Provisioned"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '678' + - '681' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:49:26 GMT + - Thu, 02 Jun 2022 19:51:15 GMT expires: - '-1' pragma: @@ -3155,13 +3012,18 @@ interactions: code: 200 message: OK - request: - body: '{"properties": {"configuration": {"ingress": {"traffic": [{"weight": 100, - "latestRevision": true}, {"revisionName": "containerapp000003--ie56ifz", "weight": - 0, "label": "label000005"}, {"revisionName": "containerapp000003--aixgh10", - "weight": 0, "latestRevision": false, "label": "label000006"}]}}}}' + body: '{"location": "North Europe", "identity": {"type": "None"}, "properties": + {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", + "configuration": {"activeRevisionsMode": "Multiple", "ingress": {"external": + true, "targetPort": 80, "transport": "Auto", "traffic": [{"weight": 100, "latestRevision": + true}, {"revisionName": "containerapp000003--l19fu4t", "weight": 0, "label": + "label000005"}, {"revisionName": "containerapp000003--q6ac2h3", "weight": 0, + "latestRevision": false, "label": "label000006"}], "allowInsecure": false}}, + "template": {"containers": [{"image": "nginx", "name": "containerapp000003", + "resources": {"cpu": 0.5, "memory": "1Gi"}}], "scale": {"maxReplicas": 10}}}}' headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -3169,231 +3031,32 @@ interactions: Connection: - keep-alive Content-Length: - - '299' + - '805' Content-Type: - application/json ParameterSetName: - -g -n --revision --label User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '0' - date: - - Thu, 26 May 2022 22:49:27 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/b63208a4-94cf-4583-8e6e-1052cd4b53da?api-version=2022-03-01 - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-resource-requests: - - '499' - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp revision label add - Connection: - - keep-alive - ParameterSetName: - - -g -n --revision --label - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:26.8621609"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1624' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 May 2022 22:49: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 revision label add - Connection: - - keep-alive - ParameterSetName: - - -g -n --revision --label - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:26.8621609"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1624' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 May 2022 22:49: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 revision label add - Connection: - - keep-alive - ParameterSetName: - - -g -n --revision --label - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:26.8621609"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1624' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 May 2022 22:49: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 revision label add - Connection: - - keep-alive - ParameterSetName: - - -g -n --revision --label - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:26.8621609"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:51:17.8737041Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--q6ac2h3","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/3ddb8669-3d56-4a9a-a6c5-f1aefb6175c8?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '1624' + - '1631' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:49:40 GMT + - Thu, 02 Jun 2022 19:51:20 GMT expires: - '-1' pragma: @@ -3402,17 +3065,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: @@ -3427,24 +3090,23 @@ interactions: ParameterSetName: - -g -n --revision --label User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/3ddb8669-3d56-4a9a-a6c5-f1aefb6175c8?api-version=2022-03-01&azureAsyncOperation=true response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:26.8621609"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/3ddb8669-3d56-4a9a-a6c5-f1aefb6175c8","name":"3ddb8669-3d56-4a9a-a6c5-f1aefb6175c8","status":"Succeeded","startTime":"2022-06-02T19:51:18.9055581"}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1624' + - '282' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:49:42 GMT + - Thu, 02 Jun 2022 19:51:25 GMT expires: - '-1' pragma: @@ -3478,24 +3140,24 @@ interactions: ParameterSetName: - -g -n --revision --label User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:26.8621609"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:51:17.8737041"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--q6ac2h3","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1623' + - '1629' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:49:46 GMT + - Thu, 02 Jun 2022 19:51:25 GMT expires: - '-1' pragma: @@ -3571,7 +3233,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:49:47 GMT + - Thu, 02 Jun 2022 19:51:26 GMT expires: - '-1' pragma: @@ -3605,18 +3267,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:26.8621609"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:51:17.8737041"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--q6ac2h3","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1623' + - '1629' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:49:48 GMT + - Thu, 02 Jun 2022 19:51:28 GMT expires: - '-1' pragma: @@ -3692,7 +3354,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:49:49 GMT + - Thu, 02 Jun 2022 19:51:28 GMT expires: - '-1' pragma: @@ -3726,18 +3388,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:26.8621609"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:51:17.8737041"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--q6ac2h3","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1623' + - '1629' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:49:49 GMT + - Thu, 02 Jun 2022 19:51:31 GMT expires: - '-1' pragma: @@ -3773,21 +3435,21 @@ interactions: User-Agent: - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--ie56ifz?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--l19fu4t?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--ie56ifz","name":"containerapp000003--ie56ifz","type":"Microsoft.App/containerapps/revisions","properties":{"createdTime":"2022-05-26T22:48:14+00:00","fqdn":"containerapp000003--ie56ifz.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.50,"memory":"1Gi"},"probes":[]}],"scale":{"maxReplicas":10}},"active":false,"replicas":0,"trafficWeight":0,"healthState":"Healthy","provisioningState":"Provisioned"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--l19fu4t","name":"containerapp000003--l19fu4t","type":"Microsoft.App/containerapps/revisions","properties":{"createdTime":"2022-06-02T19:49:46+00:00","fqdn":"containerapp000003--l19fu4t.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.50,"memory":"1Gi"},"probes":[]}],"scale":{"maxReplicas":10}},"active":false,"replicas":0,"trafficWeight":0,"healthState":"Healthy","provisioningState":"Provisioned"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '731' + - '734' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:49:51 GMT + - Thu, 02 Jun 2022 19:51:33 GMT expires: - '-1' pragma: @@ -3823,21 +3485,21 @@ interactions: User-Agent: - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--aixgh10?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--q6ac2h3?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--aixgh10","name":"containerapp000003--aixgh10","type":"Microsoft.App/containerapps/revisions","properties":{"createdTime":"2022-05-26T22:48:34+00:00","fqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.50,"memory":"1Gi"},"probes":[]}],"scale":{"maxReplicas":10}},"active":true,"replicas":1,"trafficWeight":100,"healthState":"Healthy","provisioningState":"Provisioned"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--q6ac2h3","name":"containerapp000003--q6ac2h3","type":"Microsoft.App/containerapps/revisions","properties":{"createdTime":"2022-06-02T19:50:32+00:00","fqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.50,"memory":"1Gi"},"probes":[]}],"scale":{"maxReplicas":10}},"active":true,"replicas":1,"trafficWeight":100,"healthState":"Healthy","provisioningState":"Provisioned"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '678' + - '681' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:49:52 GMT + - Thu, 02 Jun 2022 19:51:36 GMT expires: - '-1' pragma: @@ -3859,8 +3521,8 @@ interactions: message: OK - request: body: '{"properties": {"configuration": {"ingress": {"traffic": [{"weight": "50", - "latestRevision": true}, {"revisionName": "containerapp000003--ie56ifz", "weight": - "25", "label": "label000005"}, {"revisionName": "containerapp000003--aixgh10", + "latestRevision": true}, {"revisionName": "containerapp000003--l19fu4t", "weight": + "25", "label": "label000005"}, {"revisionName": "containerapp000003--q6ac2h3", "weight": "25", "label": "label000006"}]}}}}' headers: Accept: @@ -3892,11 +3554,11 @@ interactions: content-length: - '0' date: - - Thu, 26 May 2022 22:49:55 GMT + - Thu, 02 Jun 2022 19:51:38 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/440c433c-bedb-4a69-acd7-b1be15f7a380?api-version=2022-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/a43b05f2-1fca-4633-9a12-5af44da33fd7?api-version=2022-03-01 pragma: - no-cache server: @@ -3932,18 +3594,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:54.1108946"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":25,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:51:36.9317341"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":25,"label":"label000005"},{"revisionName":"containerapp000003--q6ac2h3","weight":25,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1625' + - '1631' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:49:56 GMT + - Thu, 02 Jun 2022 19:51:38 GMT expires: - '-1' pragma: @@ -3983,18 +3645,69 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:54.1108946"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":25,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:51:36.9317341"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":25,"label":"label000005"},{"revisionName":"containerapp000003--q6ac2h3","weight":25,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1624' + - '1631' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:50:00 GMT + - Thu, 02 Jun 2022 19: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 ingress traffic set + Connection: + - keep-alive + ParameterSetName: + - -g -n --revision-weight --label-weight + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:51:36.9317341"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":25,"label":"label000005"},{"revisionName":"containerapp000003--q6ac2h3","weight":25,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1630' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 02 Jun 2022 19:51:46 GMT expires: - '-1' pragma: @@ -4070,7 +3783,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:50:01 GMT + - Thu, 02 Jun 2022 19:51:47 GMT expires: - '-1' pragma: @@ -4104,18 +3817,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:54.1108946"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":25,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:51:36.9317341"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":25,"label":"label000005"},{"revisionName":"containerapp000003--q6ac2h3","weight":25,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1624' + - '1630' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:50:04 GMT + - Thu, 02 Jun 2022 19:51:48 GMT expires: - '-1' pragma: @@ -4191,7 +3904,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:50:04 GMT + - Thu, 02 Jun 2022 19:51:49 GMT expires: - '-1' pragma: @@ -4225,18 +3938,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:54.1108946"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":25,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:51:36.9317341"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":25,"label":"label000005"},{"revisionName":"containerapp000003--q6ac2h3","weight":25,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1624' + - '1630' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:50:07 GMT + - Thu, 02 Jun 2022 19:51:50 GMT expires: - '-1' pragma: @@ -4258,8 +3971,8 @@ interactions: message: OK - request: body: '{"properties": {"configuration": {"ingress": {"traffic": [{"weight": 50, - "latestRevision": true}, {"revisionName": "containerapp000003--ie56ifz", "weight": - 25, "label": "label000006"}, {"revisionName": "containerapp000003--aixgh10", + "latestRevision": true}, {"revisionName": "containerapp000003--l19fu4t", "weight": + 25, "label": "label000006"}, {"revisionName": "containerapp000003--q6ac2h3", "weight": 25, "label": "label000005"}]}}}}' headers: Accept: @@ -4291,11 +4004,11 @@ interactions: content-length: - '0' date: - - Thu, 26 May 2022 22:50:08 GMT + - Thu, 02 Jun 2022 19:51:52 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/db24023e-333c-4998-a287-12389fb6243f?api-version=2022-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/bca82246-87c3-4330-ad09-5a4690e4c024?api-version=2022-03-01 pragma: - no-cache server: @@ -4331,69 +4044,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:07.8057897"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--aixgh10","weight":25,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1625' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 May 2022 22: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 revision label swap - Connection: - - keep-alive - ParameterSetName: - - -g -n --labels - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:07.8057897"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--aixgh10","weight":25,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:51:51.4287401"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--q6ac2h3","weight":25,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1625' + - '1631' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:50:14 GMT + - Thu, 02 Jun 2022 19:51:54 GMT expires: - '-1' pragma: @@ -4433,18 +4095,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:07.8057897"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--aixgh10","weight":25,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:51:51.4287401"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--q6ac2h3","weight":25,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1624' + - '1630' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:50:18 GMT + - Thu, 02 Jun 2022 19:52:00 GMT expires: - '-1' pragma: @@ -4520,7 +4182,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:50:18 GMT + - Thu, 02 Jun 2022 19:52:01 GMT expires: - '-1' pragma: @@ -4554,18 +4216,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:07.8057897"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--aixgh10","weight":25,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:51:51.4287401"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--q6ac2h3","weight":25,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1624' + - '1630' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:50:21 GMT + - Thu, 02 Jun 2022 19:52:02 GMT expires: - '-1' pragma: @@ -4587,8 +4249,8 @@ interactions: message: OK - request: body: '{"properties": {"configuration": {"ingress": {"traffic": [{"weight": 50, - "latestRevision": true}, {"revisionName": "containerapp000003--ie56ifz", "weight": - 25, "label": "label000006"}, {"revisionName": "containerapp000003--aixgh10", + "latestRevision": true}, {"revisionName": "containerapp000003--l19fu4t", "weight": + 25, "label": "label000006"}, {"revisionName": "containerapp000003--q6ac2h3", "weight": 25, "label": null}]}}}}' headers: Accept: @@ -4620,11 +4282,11 @@ interactions: content-length: - '0' date: - - Thu, 26 May 2022 22:50:23 GMT + - Thu, 02 Jun 2022 19:52:04 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/d576d524-00ef-4cb3-a1b8-fb40801aeef3?api-version=2022-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/9182e243-a76d-4312-9219-ed6c2a9ce5a8?api-version=2022-03-01 pragma: - no-cache server: @@ -4660,18 +4322,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:22.0741046"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--aixgh10","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:52:04.0190932"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--q6ac2h3","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1603' + - '1609' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:50:24 GMT + - Thu, 02 Jun 2022 19:52:07 GMT expires: - '-1' pragma: @@ -4711,18 +4373,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:22.0741046"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--aixgh10","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:52:04.0190932"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--q6ac2h3","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1603' + - '1609' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:50:28 GMT + - Thu, 02 Jun 2022 19:52:11 GMT expires: - '-1' pragma: @@ -4762,18 +4424,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:22.0741046"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--aixgh10","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:52:04.0190932"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--q6ac2h3","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1602' + - '1608' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:50:31 GMT + - Thu, 02 Jun 2022 19:52:15 GMT expires: - '-1' pragma: @@ -4849,7 +4511,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:50:32 GMT + - Thu, 02 Jun 2022 19:52:15 GMT expires: - '-1' pragma: @@ -4883,18 +4545,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:22.0741046"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--aixgh10","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:52:04.0190932"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--q6ac2h3","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1602' + - '1608' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:50:33 GMT + - Thu, 02 Jun 2022 19:52:17 GMT expires: - '-1' pragma: @@ -4916,8 +4578,8 @@ interactions: message: OK - request: body: '{"properties": {"configuration": {"ingress": {"traffic": [{"weight": 50, - "latestRevision": true}, {"revisionName": "containerapp000003--ie56ifz", "weight": - 25, "label": null}, {"revisionName": "containerapp000003--aixgh10", "weight": + "latestRevision": true}, {"revisionName": "containerapp000003--l19fu4t", "weight": + 25, "label": null}, {"revisionName": "containerapp000003--q6ac2h3", "weight": 25}]}}}}' headers: Accept: @@ -4949,11 +4611,11 @@ interactions: content-length: - '0' date: - - Thu, 26 May 2022 22:50:36 GMT + - Thu, 02 Jun 2022 19:52:19 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/1f059768-29cc-4bb0-aaa1-335cf2706fc4?api-version=2022-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/02825adf-f589-4a9e-9c99-404e75c52153?api-version=2022-03-01 pragma: - no-cache server: @@ -4989,69 +4651,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:35.1008765"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25},{"revisionName":"containerapp000003--aixgh10","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1581' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 May 2022 22:50: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 revision label remove - Connection: - - keep-alive - ParameterSetName: - - -g -n --label - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:35.1008765"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25},{"revisionName":"containerapp000003--aixgh10","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:52:18.0755971"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":25},{"revisionName":"containerapp000003--q6ac2h3","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1581' + - '1587' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:50:41 GMT + - Thu, 02 Jun 2022 19:52:20 GMT expires: - '-1' pragma: @@ -5091,18 +4702,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:35.1008765"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25},{"revisionName":"containerapp000003--aixgh10","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:52:18.0755971"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":25},{"revisionName":"containerapp000003--q6ac2h3","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1580' + - '1586' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:50:45 GMT + - Thu, 02 Jun 2022 19:52:25 GMT expires: - '-1' pragma: @@ -5178,7 +4789,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:50:46 GMT + - Thu, 02 Jun 2022 19:52:25 GMT expires: - '-1' pragma: @@ -5212,18 +4823,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:35.1008765"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25},{"revisionName":"containerapp000003--aixgh10","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:52:18.0755971"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":25},{"revisionName":"containerapp000003--q6ac2h3","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1580' + - '1586' content-type: - application/json; charset=utf-8 date: - - Thu, 26 May 2022 22:50:47 GMT + - Thu, 02 Jun 2022 19:52:27 GMT expires: - '-1' pragma: From 97d43752317a0a1b54951e7f9e7c6e04b1537ec5 Mon Sep 17 00:00:00 2001 From: Haroon Feisal Date: Mon, 20 Jun 2022 12:58:37 -0700 Subject: [PATCH 11/15] Merged new update. --- scripts/ci/credscan/CredScanSuppressions.json | 30 +- src/containerapp/HISTORY.rst | 11 +- src/containerapp/azext_containerapp/_help.py | 8 +- .../azext_containerapp/_params.py | 9 +- src/containerapp/azext_containerapp/custom.py | 372 ++--- .../test_containerapp_revision_label_e2e.yaml | 1275 +++++++++++------ .../latest/test_containerapp_commands.py | 6 +- 7 files changed, 1042 insertions(+), 669 deletions(-) diff --git a/scripts/ci/credscan/CredScanSuppressions.json b/scripts/ci/credscan/CredScanSuppressions.json index ec753366715..632cbcb7192 100644 --- a/scripts/ci/credscan/CredScanSuppressions.json +++ b/scripts/ci/credscan/CredScanSuppressions.json @@ -140,12 +140,38 @@ "src\\containerapp\\azext_containerapp\\tests\\latest\\recordings\\test_containerapp_dapr_e2e.yaml", "src\\containerapp\\azext_containerapp\\tests\\latest\\recordings\\test_containerapp_up_image_e2e.yaml", "src\\containerapp\\azext_containerapp\\tests\\latest\\recordings\\test_containerapp_custom_domains_e2e.yaml", + "src\\containerapp\\azext_containerapp\\tests\\latest\\recordings\\test_containerapp_revision_label_e2e.yaml", "src\\containerapp\\azext_containerapp\\tests\\latest\\cert.pfx", "src\\containerapp\\azext_containerapp\\tests\\latest\\test_containerapp_commands.py", - "src\\containerapp\\azext_containerapp\\tests\\latest\\test_containerapp_env_commands.py", - "src\\containerapp\\azext_containerapp\\tests\\latest\\test_containerapp_revision_label_e2e.yaml" + "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-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." } ] } \ No newline at end of file diff --git a/src/containerapp/HISTORY.rst b/src/containerapp/HISTORY.rst index 99aba7e9a08..821596abbcf 100644 --- a/src/containerapp/HISTORY.rst +++ b/src/containerapp/HISTORY.rst @@ -3,12 +3,19 @@ Release History =============== +0.3.7 +++++++ + 0.3.6 ++++++ +* BREAKING CHANGE: 'az containerapp revision list' now shows only active revisions by default, added flag --all to show all revisions +* BREAKING CHANGE: 'az containerapp env certificate upload' does not prompt by default when re-uploading an existing certificate. Added --show-prompt to show prompts on re-upload. * Added parameter --environment to 'az containerapp list' * Added 'az containerapp revision label swap' to swap traffic labels -* BREAKING CHANGE: 'az containerapp revision list' now shows only active revisions by default, added flag --all to show all revisions - +* Fixed bug with 'az containerapp up' where custom domains would be removed when updating existing containerapp +* Fixed bug with 'az containerapp auth update' when using --unauthenticated-client-action +* Fixed bug with 'az containerapp env certificate upload' where it shows a misleading message for invalid certificate name +* 'az containerapp registry set': allow authenticating with managed identity (MSI) instead of ACR username & password 0.3.5 ++++++ diff --git a/src/containerapp/azext_containerapp/_help.py b/src/containerapp/azext_containerapp/_help.py index 3bc64a6f88b..7bf0dbad415 100644 --- a/src/containerapp/azext_containerapp/_help.py +++ b/src/containerapp/azext_containerapp/_help.py @@ -293,9 +293,9 @@ type: command short-summary: Swap a revision label between two revisions with associated traffic weights. examples: - - name: Swap a revision label between two revisions.. + - name: Swap a revision label between two revisions. text: | - az containerapp revision label swap -n MyContainerapp -g MyResourceGroup --labels myLabel1 myLabel2 + az containerapp revision label swap -n MyContainerapp -g MyResourceGroup --source myLabel1 --target myLabel2 """ # Environment Commands @@ -312,6 +312,10 @@ text: | az containerapp env create -n MyContainerappEnvironment -g MyResourceGroup \\ --location eastus2 + - name: Create a zone-redundant environment + text: | + az containerapp env create -n MyContainerappEnvironment -g MyResourceGroup \\ + --location eastus2 --zone-redundant - name: Create an environment with an existing Log Analytics workspace. text: | az containerapp env create -n MyContainerappEnvironment -g MyResourceGroup \\ diff --git a/src/containerapp/azext_containerapp/_params.py b/src/containerapp/azext_containerapp/_params.py index fb71dc93ccd..fdc0b412b68 100644 --- a/src/containerapp/azext_containerapp/_params.py +++ b/src/containerapp/azext_containerapp/_params.py @@ -155,6 +155,7 @@ def load_arguments(self, _): c.argument('certificate_file', options_list=['--certificate-file', '-f'], help='The filepath of the .pfx or .pem file') c.argument('certificate_name', options_list=['--certificate-name', '-c'], help='Name of the certificate which should be unique within the Container Apps environment.') c.argument('certificate_password', options_list=['--password', '-p'], help='The certificate file password') + c.argument('prompt', options_list=['--show-prompt'], action='store_true', help='Show prompt to upload an existing certificate.') with self.argument_context('containerapp env certificate list') as c: c.argument('name', id_part=None) @@ -200,7 +201,7 @@ def load_arguments(self, _): with self.argument_context('containerapp revision') as c: c.argument('revision_name', options_list=['--revision'], help='Name of the revision.') - c.argument('all', help='Boolean indicating whether to show inactive revisions.') + c.argument('all', help='Show inactive revisions.', action='store_true') with self.argument_context('containerapp revision copy') as c: c.argument('from_revision', help='Revision to copy from. Default: latest revision.') @@ -210,10 +211,11 @@ def load_arguments(self, _): c.argument('name', id_part=None) c.argument('revision', help='Name of the revision.') c.argument('label', help='Name of the label.') - c.argument('yes', options_list=['--yes', '-y'], help='Do not prompt for confirmation.') + c.argument('yes', options_list=['--no-prompt', '--yes', '-y'], help='Do not prompt for confirmation.', action='store_true') with self.argument_context('containerapp revision label') as c: - c.argument('labels', nargs='*', help='Labels to be swapped.') + c.argument('source_label', options_list=['--source'], help='Source label to be swapped.') + c.argument('target_label', options_list=['--target'], help='Target label to be swapped to.') with self.argument_context('containerapp ingress') as c: c.argument('allow_insecure', help='Allow insecure connections for ingress traffic.') @@ -246,6 +248,7 @@ def load_arguments(self, _): 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') + c.argument('identity', help="The managed identity with which to authenticate to the Azure Container Registry (instead of username/password). Use 'system' for a system-defined identity or a resource id for a user-defined identity. The managed identity should have been assigned acrpull permissions on the ACR before deployment (use 'az role assignment create --role acrpull ...').") with self.argument_context('containerapp registry list') as c: c.argument('name', id_part=None) diff --git a/src/containerapp/azext_containerapp/custom.py b/src/containerapp/azext_containerapp/custom.py index e622ff1a219..827b9bf0122 100644 --- a/src/containerapp/azext_containerapp/custom.py +++ b/src/containerapp/azext_containerapp/custom.py @@ -17,7 +17,8 @@ CLIError, CLIInternalError, InvalidArgumentValueError, - ArgumentUsageError) + ArgumentUsageError, + MutuallyExclusiveArgumentError) from azure.cli.core.commands.client_factory import get_subscription_id from azure.cli.core.commands import LongRunningOperation from azure.cli.core.util import open_page_in_browser @@ -63,13 +64,14 @@ _update_revision_env_secretrefs, _get_acr_cred, safe_get, await_github_action, repo_url_to_name, validate_container_app_name, _update_weights, get_vnet_location, register_provider_if_needed, generate_randomized_cert_name, _get_name, load_cert_file, check_cert_name_availability, - validate_hostname, patch_new_custom_domain, get_custom_domains, _validate_revision_name) + validate_hostname, patch_new_custom_domain, get_custom_domains, _validate_revision_name, set_managed_identity) 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, MICROSOFT_SECRET_SETTING_NAME, FACEBOOK_SECRET_SETTING_NAME, GITHUB_SECRET_SETTING_NAME, - GOOGLE_SECRET_SETTING_NAME, TWITTER_SECRET_SETTING_NAME, APPLE_SECRET_SETTING_NAME, CONTAINER_APPS_RP) + GOOGLE_SECRET_SETTING_NAME, TWITTER_SECRET_SETTING_NAME, APPLE_SECRET_SETTING_NAME, CONTAINER_APPS_RP, + NAME_INVALID, NAME_ALREADY_EXISTS, ACR_IMAGE_SUFFIX) logger = get_logger(__name__) @@ -293,7 +295,12 @@ def update_containerapp_logic(cmd, args=None, tags=None, no_wait=False, - from_revision=None): + from_revision=None, + ingress=None, + target_port=None, + registry_server=None, + registry_user=None, + registry_pass=None): _validate_subscription_registered(cmd, CONTAINER_APPS_RP) if yaml: @@ -314,6 +321,8 @@ def update_containerapp_logic(cmd, if not containerapp_def: raise ResourceNotFoundError("The containerapp '{}' does not exist".format(name)) + new_containerapp = {} + new_containerapp["properties"] = {} if from_revision: try: from ._client_factory import cf_revisions @@ -322,8 +331,9 @@ def update_containerapp_logic(cmd, # Error handle the case where revision not found? handle_raw_exception(e) - _update_revision_env_secretrefs(r["template"]["containers"], name) - containerapp_def["properties"]["template"] = r["template"] + + _update_revision_env_secretrefs(r["properties"]["template"]["containers"], name) + new_containerapp["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"]: @@ -336,24 +346,29 @@ def update_containerapp_logic(cmd, 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 + update_map['ingress'] = ingress or target_port + update_map['registry'] = registry_server or registry_user or registry_pass if tags: - _add_or_update_tags(containerapp_def, tags) + _add_or_update_tags(new_containerapp, tags) if revision_suffix is not None: - containerapp_def["properties"]["template"]["revisionSuffix"] = revision_suffix + new_containerapp["properties"]["template"] = {} if "template" not in new_containerapp["properties"] else new_containerapp["properties"]["template"] + new_containerapp["properties"]["template"]["revisionSuffix"] = revision_suffix # Containers if update_map["container"]: + new_containerapp["properties"]["template"] = {} if "template" not in new_containerapp["properties"] else new_containerapp["properties"]["template"] + new_containerapp["properties"]["template"]["containers"] = containerapp_def["properties"]["template"]["containers"] if not container_name: - if len(containerapp_def["properties"]["template"]["containers"]) == 1: - container_name = containerapp_def["properties"]["template"]["containers"][0]["name"] + if len(new_containerapp["properties"]["template"]["containers"]) == 1: + container_name = new_containerapp["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"]: + for c in new_containerapp["properties"]["template"]["containers"]: if c["name"].lower() == container_name.lower(): updating_existing_container = True @@ -446,22 +461,91 @@ def update_containerapp_logic(cmd, if resources_def is not None: container_def["resources"] = resources_def - containerapp_def["properties"]["template"]["containers"].append(container_def) + new_containerapp["properties"]["template"]["containers"].append(container_def) # Scale if update_map["scale"]: - if "scale" not in containerapp_def["template"]: - containerapp_def["properties"]["template"]["scale"] = {} + new_containerapp["properties"]["template"] = {} if "template" not in new_containerapp["properties"] else new_containerapp["properties"]["template"] + if "scale" not in new_containerapp["properties"]["template"]: + new_containerapp["properties"]["template"]["scale"] = {} if min_replicas is not None: - containerapp_def["properties"]["template"]["scale"]["minReplicas"] = min_replicas + new_containerapp["properties"]["template"]["scale"]["minReplicas"] = min_replicas if max_replicas is not None: - containerapp_def["properties"]["template"]["scale"]["maxReplicas"] = max_replicas + new_containerapp["properties"]["template"]["scale"]["maxReplicas"] = max_replicas + + # Ingress + if update_map["ingress"]: + new_containerapp["properties"]["configuration"] = {} if "configuration" not in new_containerapp["properties"] else new_containerapp["properties"]["configuration"] + if target_port is not None or ingress is not None: + new_containerapp["properties"]["configuration"]["ingress"] = {} + if ingress: + new_containerapp["properties"]["configuration"]["ingress"]["external"] = ingress.lower() == "external" + if target_port: + new_containerapp["properties"]["configuration"]["ingress"]["targetPort"] = target_port - _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) + # Registry + if update_map["registry"]: + new_containerapp["properties"]["configuration"] = {} if "configuration" not in new_containerapp["properties"] else new_containerapp["properties"]["configuration"] + if "registries" in containerapp_def["properties"]["configuration"]: + new_containerapp["properties"]["configuration"]["registries"] = containerapp_def["properties"]["configuration"]["registries"] + if "registries" not in containerapp_def["properties"]["configuration"] or containerapp_def["properties"]["configuration"]["registries"] is None: + new_containerapp["properties"]["configuration"]["registries"] = [] - try: - poller = client.begin_create_or_update(resource_group_name=resource_group_name, container_app_name=name, container_app_envelope=containerapp_def) + registries_def = new_containerapp["properties"]["configuration"]["registries"] + + _get_existing_secrets(cmd, resource_group_name, name, containerapp_def) + if "secrets" in containerapp_def["properties"]["configuration"] and containerapp_def["properties"]["configuration"]["secrets"]: + new_containerapp["properties"]["configuration"]["secrets"] = containerapp_def["properties"]["configuration"]["secrets"] + else: + new_containerapp["properties"]["configuration"]["secrets"] = [] + + if registry_server: + if not registry_pass or not registry_user: + if ACR_IMAGE_SUFFIX 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( + new_containerapp["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( + new_containerapp["properties"]["configuration"]["secrets"], + registry_user, + registry_server, + registry_pass, + update_existing_secret=True, + disable_warnings=True) + + registries_def.append(registry) + + try: + poller = client.begin_create_or_update(resource_group_name=resource_group_name, container_app_name=name, container_app_envelope=new_containerapp) r = LongRunningOperation(cmd.cli_ctx)(poller) + + # return new_containerapp + # 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) @@ -538,6 +622,14 @@ def list_containerapp(cmd, client, resource_group_name=None, managed_env=None): else: containerapps = [c for c in containerapps if parse_resource_id(c.managed_environment_id)["name"].lower() == env_name] + if managed_env: + env_name = parse_resource_id(managed_env)["name"].lower() + if "resource_group" in parse_resource_id(managed_env): + ManagedEnvironmentClient.show(cmd, parse_resource_id(managed_env)["resource_group"], parse_resource_id(managed_env)["name"]) + containerapps = [c for c in containerapps if c["properties"]["managedEnvironmentId"].lower() == managed_env.lower()] + else: + containerapps = [c for c in containerapps if parse_resource_id(c["properties"]["managedEnvironmentId"])["name"].lower() == env_name] + return containerapps except CLIError as e: handle_raw_exception(e) @@ -687,12 +779,6 @@ def delete_managed_environment(cmd, name, resource_group_name, no_wait=False): def assign_managed_identity(cmd, client, name, resource_group_name, system_assigned=False, user_assigned=None, no_wait=False): _validate_subscription_registered(cmd, CONTAINER_APPS_RP) - - 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 @@ -705,56 +791,7 @@ def assign_managed_identity(cmd, client, name, resource_group_name, system_assig 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] = {} + set_managed_identity(cmd, resource_group_name, containerapp_def, system_assigned, user_assigned) try: poller = client.begin_create_or_update(resource_group_name=resource_group_name, container_app_name=name, container_app_envelope=containerapp_def) @@ -950,7 +987,7 @@ def create_or_update_github_action(cmd, # 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: + if not registry_url or ACR_IMAGE_SUFFIX 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) @@ -1271,10 +1308,12 @@ def swap_revision_label(cmd, name, resource_group_name, labels, no_wait=False): raise ResourceNotFoundError(f"The containerapp '{name}' does not exist in group '{resource_group_name}'") if "ingress" not in containerapp_def['properties']['configuration'] or "traffic" not in containerapp_def['properties']['configuration']['ingress']: - raise ValidationError("Ingress and traffic weights are required to swap labels.") + raise ValidationError("Ingress and traffic weights are required to add labels.") traffic_weight = containerapp_def['properties']['configuration']['ingress']['traffic'] if 'traffic' in containerapp_def['properties']['configuration']['ingress'] else {} + _validate_revision_name(cmd, revision, resource_group_name, name) + label1_found = False label2_found = False for weight in traffic_weight: @@ -1549,8 +1588,10 @@ def list_registry(cmd, name, resource_group_name): 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): +def set_registry(cmd, name, resource_group_name, server, username=None, password=None, disable_warnings=False, identity=None, no_wait=False): _validate_subscription_registered(cmd, CONTAINER_APPS_RP) + if (username or password) and identity: + raise MutuallyExclusiveArgumentError("Use either identity or username/password.") containerapp_def = None try: @@ -1571,9 +1612,9 @@ def set_registry(cmd, name, resource_group_name, server, username=None, password registries_def = containerapp_def["properties"]["configuration"]["registries"] - if not username or not password: + if (not username or not password) and not identity: # If registry is Azure Container Registry, we can try inferring credentials - if '.azurecr.io' not in server: + if ACR_IMAGE_SUFFIX 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) @@ -1599,21 +1640,31 @@ def set_registry(cmd, name, resource_group_name, server, username=None, password r["server"], password, update_existing_secret=True) + if identity: + r["identity"] = identity # 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) + if not identity: + registry["username"] = username + registry["passwordSecretRef"] = store_as_secret_and_return_secret_ref( + containerapp_def["properties"]["configuration"]["secrets"], + username, + server, + password, + update_existing_secret=True) + else: + registry["identity"] = identity registries_def.append(registry) + if identity: + system_assigned_identity = identity.lower() == "system" + user_assigned = None if system_assigned_identity else [identity] + set_managed_identity(cmd, resource_group_name, containerapp_def, system_assigned_identity, user_assigned) + 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) @@ -2113,128 +2164,10 @@ def containerapp_up_logic(cmd, resource_group_name, name, managed_env, image, en 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) + return update_containerapp_logic(cmd=cmd, name=name, resource_group_name=resource_group_name, image=image, replace_env_vars=env_vars, ingress=ingress, target_port=target_port, registry_server=registry_server, registry_user=registry_user, registry_pass=registry_pass, container_name=name) # need ingress, target port, registry stuff to work here + return create_containerapp(cmd=cmd, name=name, resource_group_name=resource_group_name, managed_env=managed_env, image=image, env_vars=env_vars, ingress=ingress, target_port=target_port, registry_server=registry_server, registry_user=registry_user, registry_pass=registry_pass) def list_certificates(cmd, name, resource_group_name, location=None, certificate=None, thumbprint=None): @@ -2267,25 +2200,36 @@ def both_match(c): handle_raw_exception(e) -def upload_certificate(cmd, name, resource_group_name, certificate_file, certificate_name=None, certificate_password=None, location=None): +def upload_certificate(cmd, name, resource_group_name, certificate_file, certificate_name=None, certificate_password=None, location=None, prompt=False): _validate_subscription_registered(cmd, CONTAINER_APPS_RP) blob, thumbprint = load_cert_file(certificate_file, certificate_password) cert_name = None if certificate_name: - if not check_cert_name_availability(cmd, resource_group_name, name, certificate_name): - msg = 'A certificate with the name {} already exists in {}. If continue with this name, it will be overwritten by the new certificate file.\nOverwrite?' - overwrite = prompt_y_n(msg.format(certificate_name, name)) - if overwrite: - cert_name = certificate_name + name_availability = check_cert_name_availability(cmd, resource_group_name, name, certificate_name) + if not name_availability["nameAvailable"]: + if name_availability["reason"] == NAME_ALREADY_EXISTS: + msg = '{}. If continue with this name, it will be overwritten by the new certificate file.\nOverwrite?' + overwrite = True + if prompt: + overwrite = prompt_y_n(msg.format(name_availability["message"])) + else: + logger.warning('{}. It will be overwritten by the new certificate file.'.format(name_availability["message"])) + if overwrite: + cert_name = certificate_name + else: + raise ValidationError(name_availability["message"]) else: cert_name = certificate_name while not cert_name: random_name = generate_randomized_cert_name(thumbprint, name, resource_group_name) - if check_cert_name_availability(cmd, resource_group_name, name, random_name): + check_result = check_cert_name_availability(cmd, resource_group_name, name, random_name) + if check_result["nameAvailable"]: cert_name = random_name + elif not check_result["nameAvailable"] and (check_result["reason"] == NAME_INVALID): + raise ValidationError(check_result["message"]) certificate = ContainerAppCertificateEnvelopeModel certificate["properties"]["password"] = certificate_password diff --git a/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_revision_label_e2e.yaml b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_revision_label_e2e.yaml index 4842af0d01d..86f477461b7 100644 --- a/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_revision_label_e2e.yaml +++ b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_revision_label_e2e.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"northeurope","tags":{"product":"azurecli","cause":"automation","date":"2022-06-02T19:47:56Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"northeurope","tags":{"product":"azurecli","cause":"automation","date":"2022-05-26T22:46:23Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:47:59 GMT + - Thu, 26 May 2022 22:46:26 GMT expires: - '-1' pragma: @@ -65,7 +65,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004?api-version=2021-12-01-preview response: body: - string: '{"properties":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2022-06-02T19:48:04.1266635Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2022-06-03T11:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2022-06-02T19:48:04.1266635Z","modifiedDate":"2022-06-02T19:48:04.1266635Z"},"location":"northeurope","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004","name":"containerapp-env000004","type":"Microsoft.OperationalInsights/workspaces"}' + string: '{"properties":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2022-05-26T22:46:31.2820632Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2022-05-27T14:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2022-05-26T22:46:31.2820632Z","modifiedDate":"2022-05-26T22:46:31.2820632Z"},"location":"northeurope","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004","name":"containerapp-env000004","type":"Microsoft.OperationalInsights/workspaces"}' headers: access-control-allow-origin: - '*' @@ -78,7 +78,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:48:05 GMT + - Thu, 26 May 2022 22:46:32 GMT expires: - '-1' location: @@ -119,7 +119,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004?api-version=2021-12-01-preview response: body: - string: '{"properties":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded","provisioningState":"Succeeded","sku":{"name":"PerGB2018","lastSkuUpdate":"2022-06-02T19:48:04.1266635Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2022-06-03T11:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2022-06-02T19:48:04.1266635Z","modifiedDate":"2022-06-02T19:48:04.1266635Z"},"location":"northeurope","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004","name":"containerapp-env000004","type":"Microsoft.OperationalInsights/workspaces"}' + string: '{"properties":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b","provisioningState":"Succeeded","sku":{"name":"PerGB2018","lastSkuUpdate":"2022-05-26T22:46:31.2820632Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2022-05-27T14:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2022-05-26T22:46:31.2820632Z","modifiedDate":"2022-05-26T22:46:31.2820632Z"},"location":"northeurope","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004","name":"containerapp-env000004","type":"Microsoft.OperationalInsights/workspaces"}' headers: access-control-allow-origin: - '*' @@ -132,7 +132,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:48:35 GMT + - Thu, 26 May 2022 22:47:02 GMT expires: - '-1' pragma: @@ -175,7 +175,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004/sharedKeys?api-version=2020-08-01 response: body: - string: '{"primarySharedKey":"nAmSsZKQOEP4nsb+PNRKnGo/jL6ZsGmFS8dNzH0ET9O+TN8WG7wSoJ7mRGeGJymInc6X/j+GTE6mFV5lbs4RqA==","secondarySharedKey":"9rG5Od1U6TEMjIYmmXk6G3eB5YsBTQMZtz8KD+N4aHvUJm7YDw7tjxDE2rqeJmfkWoy1wYWFpg43luBGy+xbbA=="}' + string: '{"primarySharedKey":"jqp641ZYmljIcLPwXVjYn39ad5IGN+8XELoB7rRC0/EOYB8IXCAiG7d75VAXcXlmXvbO+SpA5jmlT9bLQgQNfg==","secondarySharedKey":"Rk0cnP2aDe2b1v6BW2e1rvg+RHrcwaHfMIfKLFA9v849JZRFDzGYbOyuvdQXFifXt3+rT55X5XMLQJi/6jO7bA=="}' headers: access-control-allow-origin: - '*' @@ -188,7 +188,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:48:37 GMT + - Thu, 26 May 2022 22:47:05 GMT expires: - '-1' pragma: @@ -231,7 +231,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"northeurope","tags":{"product":"azurecli","cause":"automation","date":"2022-06-02T19:47:56Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"northeurope","tags":{"product":"azurecli","cause":"automation","date":"2022-05-26T22:46:23Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -240,7 +240,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:48:39 GMT + - Thu, 26 May 2022 22:47:06 GMT expires: - '-1' pragma: @@ -310,7 +310,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:48:39 GMT + - Thu, 26 May 2022 22:47:06 GMT expires: - '-1' pragma: @@ -380,7 +380,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:48:40 GMT + - Thu, 26 May 2022 22:47:07 GMT expires: - '-1' pragma: @@ -398,7 +398,7 @@ interactions: body: '{"location": "northeurope", "tags": null, "properties": {"daprAIInstrumentationKey": null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": - "306b66c3-4000-4041-b3fa-2b4e02d1eded", "sharedKey": "nAmSsZKQOEP4nsb+PNRKnGo/jL6ZsGmFS8dNzH0ET9O+TN8WG7wSoJ7mRGeGJymInc6X/j+GTE6mFV5lbs4RqA=="}}, + "6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b", "sharedKey": "jqp641ZYmljIcLPwXVjYn39ad5IGN+8XELoB7rRC0/EOYB8IXCAiG7d75VAXcXlmXvbO+SpA5jmlT9bLQgQNfg=="}}, "zoneRedundant": false}}' headers: Accept: @@ -421,20 +421,20 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585Z","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265Z","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/managedEnvironmentOperationStatuses/1c7314f4-9913-45f8-a1b8-bf9ea0068426?api-version=2022-03-01&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/managedEnvironmentOperationStatuses/f94f87c7-c435-49f2-b983-5ddb2af6ba43?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '810' + - '807' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:48:45 GMT + - Thu, 26 May 2022 22:47:12 GMT expires: - '-1' pragma: @@ -473,18 +473,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '808' + - '805' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:48:47 GMT + - Thu, 26 May 2022 22:47:14 GMT expires: - '-1' pragma: @@ -523,18 +523,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '808' + - '805' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:48:51 GMT + - Thu, 26 May 2022 22:47:18 GMT expires: - '-1' pragma: @@ -573,18 +573,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '808' + - '805' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:48:55 GMT + - Thu, 26 May 2022 22:47:22 GMT expires: - '-1' pragma: @@ -623,18 +623,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '808' + - '805' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:49:00 GMT + - Thu, 26 May 2022 22:47:25 GMT expires: - '-1' pragma: @@ -673,18 +673,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '808' + - '805' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:49:03 GMT + - Thu, 26 May 2022 22:47:30 GMT expires: - '-1' pragma: @@ -723,18 +723,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '808' + - '805' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:49:07 GMT + - Thu, 26 May 2022 22:47:34 GMT expires: - '-1' pragma: @@ -773,18 +773,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '808' + - '805' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:49:11 GMT + - Thu, 26 May 2022 22:47:38 GMT expires: - '-1' pragma: @@ -823,18 +823,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '808' + - '805' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:49:15 GMT + - Thu, 26 May 2022 22:47:41 GMT expires: - '-1' pragma: @@ -873,18 +873,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '808' + - '805' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:49:18 GMT + - Thu, 26 May 2022 22:47:45 GMT expires: - '-1' pragma: @@ -923,18 +923,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '808' + - '805' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:49:22 GMT + - Thu, 26 May 2022 22:47:48 GMT expires: - '-1' pragma: @@ -973,18 +973,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '808' + - '805' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:49:26 GMT + - Thu, 26 May 2022 22:47:52 GMT expires: - '-1' pragma: @@ -1023,18 +1023,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Waiting","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Waiting","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '808' + - '805' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:49:31 GMT + - Thu, 26 May 2022 22:47:56 GMT expires: - '-1' pragma: @@ -1073,18 +1073,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Succeeded","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '810' + - '807' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:49:35 GMT + - Thu, 26 May 2022 22:48:00 GMT expires: - '-1' pragma: @@ -1160,7 +1160,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:49:35 GMT + - Thu, 26 May 2022 22:48:01 GMT expires: - '-1' pragma: @@ -1193,18 +1193,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Succeeded","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '810' + - '807' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:49:37 GMT + - Thu, 26 May 2022 22:48:04 GMT expires: - '-1' pragma: @@ -1280,7 +1280,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:49:38 GMT + - Thu, 26 May 2022 22:48:04 GMT expires: - '-1' pragma: @@ -1298,7 +1298,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1308,23 +1308,23 @@ interactions: ParameterSetName: - -g -n --environment --ingress --target-port User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Succeeded","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '810' + - '807' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:49:40 GMT + - Thu, 26 May 2022 22:48:07 GMT expires: - '-1' pragma: @@ -1400,7 +1400,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:49:40 GMT + - Thu, 26 May 2022 22:48:07 GMT expires: - '-1' pragma: @@ -1415,14 +1415,17 @@ interactions: code: 200 message: OK - request: - body: '{"location": "northeurope", "identity": {"type": "None"}, "properties": - {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", - "configuration": {"activeRevisionsMode": "single", "ingress": {"external": true, - "targetPort": 80, "transport": "auto"}}, "template": {"containers": [{"image": - "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest", "name": "containerapp000003"}]}}}' + body: '{"location": "northeurope", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", + "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": + {"fqdn": null, "external": true, "targetPort": 80, "transport": "auto", "traffic": + null, "customDomains": null}, "dapr": null, "registries": null}, "template": + {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest", + "name": "containerapp000003", "command": null, "args": null, "env": null, "resources": + null, "volumeMounts": null}], "scale": null, "volumes": null}}, "tags": null}' headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1430,32 +1433,32 @@ interactions: Connection: - keep-alive Content-Length: - - '507' + - '799' Content-Type: - application/json ParameterSetName: - -g -n --environment --ingress --target-port User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129Z","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:49:44.4015129Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888Z","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:11.527888Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/86e873ac-a45f-4f32-9e63-bbc41138d690?api-version=2022-03-01&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/39d00265-9582-4ac5-80da-c6d7301861af?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '1388' + - '1408' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:49:47 GMT + - Thu, 26 May 2022 22:48:13 GMT expires: - '-1' pragma: @@ -1489,23 +1492,24 @@ interactions: ParameterSetName: - -g -n --environment --ingress --target-port User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/86e873ac-a45f-4f32-9e63-bbc41138d690?api-version=2022-03-01&azureAsyncOperation=true + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/86e873ac-a45f-4f32-9e63-bbc41138d690","name":"86e873ac-a45f-4f32-9e63-bbc41138d690","status":"InProgress","startTime":"2022-06-02T19:49:45.0857946"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:11.527888"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--ie56ifz","latestRevisionFqdn":"containerapp000003--ie56ifz.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '283' + - '1515' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:49:52 GMT + - Thu, 26 May 2022 22:48:16 GMT expires: - '-1' pragma: @@ -1539,23 +1543,24 @@ interactions: ParameterSetName: - -g -n --environment --ingress --target-port User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/86e873ac-a45f-4f32-9e63-bbc41138d690?api-version=2022-03-01&azureAsyncOperation=true + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/86e873ac-a45f-4f32-9e63-bbc41138d690","name":"86e873ac-a45f-4f32-9e63-bbc41138d690","status":"Succeeded","startTime":"2022-06-02T19:49:45.0857946"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:11.527888"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--ie56ifz","latestRevisionFqdn":"containerapp000003--ie56ifz.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '282' + - '1515' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:50:22 GMT + - Thu, 26 May 2022 22:48:21 GMT expires: - '-1' pragma: @@ -1589,24 +1594,24 @@ interactions: ParameterSetName: - -g -n --environment --ingress --target-port User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:49:44.4015129"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--l19fu4t","latestRevisionFqdn":"containerapp000003--l19fu4t.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:11.527888"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--ie56ifz","latestRevisionFqdn":"containerapp000003--ie56ifz.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1521' + - '1514' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:50:22 GMT + - Thu, 26 May 2022 22:48:26 GMT expires: - '-1' pragma: @@ -1682,7 +1687,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:50:24 GMT + - Thu, 26 May 2022 22:48:26 GMT expires: - '-1' pragma: @@ -1716,18 +1721,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:49:44.4015129"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--l19fu4t","latestRevisionFqdn":"containerapp000003--l19fu4t.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:11.527888"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--ie56ifz","latestRevisionFqdn":"containerapp000003--ie56ifz.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1521' + - '1514' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:50:26 GMT + - Thu, 26 May 2022 22:48:28 GMT expires: - '-1' pragma: @@ -1803,7 +1808,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:50:26 GMT + - Thu, 26 May 2022 22:48:28 GMT expires: - '-1' pragma: @@ -1821,7 +1826,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1831,23 +1836,23 @@ interactions: ParameterSetName: - -g -n --environment --ingress --target-port --image User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:48:44.6896585","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:48:44.6896585"},"properties":{"provisioningState":"Succeeded","defaultDomain":"ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","staticIp":"20.82.156.216","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"306b66c3-4000-4041-b3fa-2b4e02d1eded"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:47:11.7103265","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:47:11.7103265"},"properties":{"provisioningState":"Succeeded","defaultDomain":"wittyforest-5acee1e7.northeurope.azurecontainerapps.io","staticIp":"20.107.155.53","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"6d5e7bb1-20f4-4ed7-9045-75cf8d280d8b"}},"zoneRedundant":false}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '810' + - '807' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:50:27 GMT + - Thu, 26 May 2022 22:48:30 GMT expires: - '-1' pragma: @@ -1923,7 +1928,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:50:28 GMT + - Thu, 26 May 2022 22:48:30 GMT expires: - '-1' pragma: @@ -1938,14 +1943,17 @@ interactions: code: 200 message: OK - request: - body: '{"location": "northeurope", "identity": {"type": "None"}, "properties": - {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", - "configuration": {"activeRevisionsMode": "single", "ingress": {"external": true, - "targetPort": 80, "transport": "auto"}}, "template": {"containers": [{"image": - "nginx", "name": "containerapp000003"}]}}}' + body: '{"location": "northeurope", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", + "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": + {"fqdn": null, "external": true, "targetPort": 80, "transport": "auto", "traffic": + null, "customDomains": null}, "dapr": null, "registries": null}, "template": + {"revisionSuffix": null, "containers": [{"image": "nginx", "name": "containerapp000003", + "command": null, "args": null, "env": null, "resources": null, "volumeMounts": + null}], "scale": null, "volumes": null}}, "tags": null}' headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1953,32 +1961,32 @@ interactions: Connection: - keep-alive Content-Length: - - '453' + - '745' Content-Type: - application/json ParameterSetName: - -g -n --environment --ingress --target-port --image User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:50:30.8955747Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--l19fu4t","latestRevisionFqdn":"containerapp000003--l19fu4t.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:32.5518193Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--ie56ifz","latestRevisionFqdn":"containerapp000003--ie56ifz.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/fe3861ba-674a-4353-82bd-9795819cee85?api-version=2022-03-01&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/62906bb4-85d5-411f-b774-d8414da7197f?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '1469' + - '1463' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:50:34 GMT + - Thu, 26 May 2022 22:48:36 GMT expires: - '-1' pragma: @@ -2012,23 +2020,126 @@ interactions: ParameterSetName: - -g -n --environment --ingress --target-port --image User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:32.5518193"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1462' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:48:36 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment --ingress --target-port --image + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:32.5518193"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1462' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:48: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 create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment --ingress --target-port --image + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/fe3861ba-674a-4353-82bd-9795819cee85?api-version=2022-03-01&azureAsyncOperation=true + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/fe3861ba-674a-4353-82bd-9795819cee85","name":"fe3861ba-674a-4353-82bd-9795819cee85","status":"Succeeded","startTime":"2022-06-02T19:50:32.5832335"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:32.5518193"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '282' + - '1462' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:50:39 GMT + - Thu, 26 May 2022 22:48:44 GMT expires: - '-1' pragma: @@ -2062,24 +2173,24 @@ interactions: ParameterSetName: - -g -n --environment --ingress --target-port --image User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:50:30.8955747"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:32.5518193"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1467' + - '1461' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:50:40 GMT + - Thu, 26 May 2022 22:48:48 GMT expires: - '-1' pragma: @@ -2155,7 +2266,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:50:41 GMT + - Thu, 26 May 2022 22:48:49 GMT expires: - '-1' pragma: @@ -2173,7 +2284,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -2183,24 +2294,24 @@ interactions: ParameterSetName: - -g -n --mode User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:50:30.8955747"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:32.5518193"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1467' + - '1461' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:50:42 GMT + - Thu, 26 May 2022 22:48:51 GMT expires: - '-1' pragma: @@ -2221,16 +2332,24 @@ interactions: code: 200 message: OK - request: - body: '{"location": "North Europe", "identity": {"type": "None"}, "properties": - {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", - "configuration": {"secrets": [], "activeRevisionsMode": "multiple", "ingress": - {"external": true, "targetPort": 80, "transport": "Auto", "traffic": [{"weight": - 100, "latestRevision": true}], "allowInsecure": false}}, "template": {"containers": - [{"image": "nginx", "name": "containerapp000003", "resources": {"cpu": 0.5, - "memory": "1Gi"}}], "scale": {"maxReplicas": 10}}}}' + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003", + "name": "containerapp000003", "type": "Microsoft.App/containerApps", "location": + "North Europe", "systemData": {"createdBy": "haroonfeisal@microsoft.com", "createdByType": + "User", "createdAt": "2022-05-26T22:48:11.527888", "lastModifiedBy": "haroonfeisal@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-05-26T22:48:32.5518193"}, + "properties": {"provisioningState": "Succeeded", "managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", + "outboundIpAddresses": ["40.67.250.25", "40.67.250.221", "40.67.252.230"], "latestRevisionName": + "containerapp000003--aixgh10", "latestRevisionFqdn": "containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io", + "customDomainVerificationId": "99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E", + "configuration": {"activeRevisionsMode": "multiple", "ingress": {"fqdn": "containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io", + "external": true, "targetPort": 80, "transport": "Auto", "traffic": [{"weight": + 100, "latestRevision": true}], "allowInsecure": false}, "secrets": []}, "template": + {"containers": [{"image": "nginx", "name": "containerapp000003", "resources": + {"cpu": 0.5, "memory": "1Gi"}}], "scale": {"maxReplicas": 10}}}, "identity": + {"type": "None"}}' headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -2238,32 +2357,32 @@ interactions: Connection: - keep-alive Content-Length: - - '623' + - '1549' Content-Type: - application/json ParameterSetName: - -g -n --mode User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:50:44.1677476Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:53.3572831Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/41d242c2-2725-47df-bf55-a49a41c3981c?api-version=2022-03-01&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/8ba7356c-e643-4fc8-83e1-cefce15cf4e5?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '1471' + - '1465' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:50:47 GMT + - Thu, 26 May 2022 22:48:55 GMT expires: - '-1' pragma: @@ -2297,23 +2416,24 @@ interactions: ParameterSetName: - -g -n --mode User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/41d242c2-2725-47df-bf55-a49a41c3981c?api-version=2022-03-01&azureAsyncOperation=true + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/41d242c2-2725-47df-bf55-a49a41c3981c","name":"41d242c2-2725-47df-bf55-a49a41c3981c","status":"Succeeded","startTime":"2022-06-02T19:50:45.4159024"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:53.3572831"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '282' + - '1464' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:50:52 GMT + - Thu, 26 May 2022 22:48:58 GMT expires: - '-1' pragma: @@ -2347,24 +2467,24 @@ interactions: ParameterSetName: - -g -n --mode User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:50:44.1677476"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:53.3572831"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1469' + - '1464' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:50:53 GMT + - Thu, 26 May 2022 22:49:01 GMT expires: - '-1' pragma: @@ -2388,69 +2508,50 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - containerapp revision list + - containerapp revision set-mode Connection: - keep-alive ParameterSetName: - - -g -n --all --query + - -g -n --mode User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.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/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:53.3572831"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '3551' + - '1463' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:50:53 GMT + - Thu, 26 May 2022 22:49: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,Accept-Encoding x-content-type-options: - nosniff + x-powered-by: + - ASP.NET status: code: 200 message: OK @@ -2458,7 +2559,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -2468,23 +2569,23 @@ interactions: ParameterSetName: - -g -n --all --query User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions?api-version=2022-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--l19fu4t","name":"containerapp000003--l19fu4t","type":"Microsoft.App/containerapps/revisions","properties":{"createdTime":"2022-06-02T19:49:46+00:00","fqdn":"containerapp000003--l19fu4t.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.50,"memory":"1Gi"},"probes":[]}],"scale":{"maxReplicas":10}},"active":false,"replicas":0,"trafficWeight":0,"healthState":"Healthy","provisioningState":"Provisioned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--q6ac2h3","name":"containerapp000003--q6ac2h3","type":"Microsoft.App/containerapps/revisions","properties":{"createdTime":"2022-06-02T19:50:32+00:00","fqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.50,"memory":"1Gi"},"probes":[]}],"scale":{"maxReplicas":10}},"active":true,"replicas":1,"trafficWeight":100,"healthState":"Healthy","provisioningState":"Provisioned"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--ie56ifz","name":"containerapp000003--ie56ifz","type":"Microsoft.App/containerapps/revisions","properties":{"createdTime":"2022-05-26T22:48:14+00:00","fqdn":"containerapp000003--ie56ifz.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.50,"memory":"1Gi"},"probes":[]}],"scale":{"maxReplicas":10}},"active":false,"replicas":0,"trafficWeight":0,"healthState":"Healthy","provisioningState":"Provisioned"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--aixgh10","name":"containerapp000003--aixgh10","type":"Microsoft.App/containerapps/revisions","properties":{"createdTime":"2022-05-26T22:48:34+00:00","fqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.50,"memory":"1Gi"},"probes":[]}],"scale":{"maxReplicas":10}},"active":true,"replicas":1,"trafficWeight":100,"healthState":"Healthy","provisioningState":"Provisioned"}}]}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1428' + - '1422' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:50:55 GMT + - Thu, 26 May 2022 22:49:06 GMT expires: - '-1' pragma: @@ -2560,7 +2661,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:50:57 GMT + - Thu, 26 May 2022 22:49:07 GMT expires: - '-1' pragma: @@ -2578,7 +2679,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -2588,24 +2689,24 @@ interactions: ParameterSetName: - -g -n --revision --label User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:50:44.1677476"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:48:53.3572831"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1469' + - '1463' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:50:59 GMT + - Thu, 26 May 2022 22:49:08 GMT expires: - '-1' pragma: @@ -2641,21 +2742,21 @@ interactions: User-Agent: - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--l19fu4t?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--ie56ifz?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--l19fu4t","name":"containerapp000003--l19fu4t","type":"Microsoft.App/containerapps/revisions","properties":{"createdTime":"2022-06-02T19:49:46+00:00","fqdn":"containerapp000003--l19fu4t.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.50,"memory":"1Gi"},"probes":[]}],"scale":{"maxReplicas":10}},"active":false,"replicas":0,"trafficWeight":0,"healthState":"Healthy","provisioningState":"Provisioned"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--ie56ifz","name":"containerapp000003--ie56ifz","type":"Microsoft.App/containerapps/revisions","properties":{"createdTime":"2022-05-26T22:48:14+00:00","fqdn":"containerapp000003--ie56ifz.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.50,"memory":"1Gi"},"probes":[]}],"scale":{"maxReplicas":10}},"active":false,"replicas":0,"trafficWeight":0,"healthState":"Healthy","provisioningState":"Provisioned"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '734' + - '731' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:51:00 GMT + - Thu, 26 May 2022 22:49:11 GMT expires: - '-1' pragma: @@ -2676,17 +2777,12 @@ interactions: code: 200 message: OK - request: - body: '{"location": "North Europe", "identity": {"type": "None"}, "properties": - {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", - "configuration": {"activeRevisionsMode": "Multiple", "ingress": {"external": - true, "targetPort": 80, "transport": "Auto", "traffic": [{"weight": 100, "latestRevision": - true}, {"revisionName": "containerapp000003--l19fu4t", "weight": 0, "latestRevision": - false, "label": "label000005"}], "allowInsecure": false}}, "template": {"containers": - [{"image": "nginx", "name": "containerapp000003", "resources": {"cpu": 0.5, - "memory": "1Gi"}}], "scale": {"maxReplicas": 10}}}}' + body: '{"properties": {"configuration": {"ingress": {"traffic": [{"weight": 100, + "latestRevision": true}, {"revisionName": "containerapp000003--ie56ifz", "weight": + 0, "latestRevision": false, "label": "label000005"}]}}}}' headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -2694,34 +2790,31 @@ interactions: Connection: - keep-alive Content-Length: - - '719' + - '213' Content-Type: - application/json ParameterSetName: - -g -n --revision --label User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: PUT + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:51:02.1586247Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":0,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + string: '' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/91dc7459-ed76-484e-b8e2-4254944ef83b?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '1551' - content-type: - - application/json; charset=utf-8 + - '0' date: - - Thu, 02 Jun 2022 19:51:05 GMT + - Thu, 26 May 2022 22:49:13 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/5c4acb65-a941-4e24-af03-599071067fb6?api-version=2022-03-01 pragma: - no-cache server: @@ -2730,15 +2823,13 @@ interactions: - 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 + code: 202 + message: Accepted - request: body: null headers: @@ -2753,23 +2844,24 @@ interactions: ParameterSetName: - -g -n --revision --label User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/91dc7459-ed76-484e-b8e2-4254944ef83b?api-version=2022-03-01&azureAsyncOperation=true + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/91dc7459-ed76-484e-b8e2-4254944ef83b","name":"91dc7459-ed76-484e-b8e2-4254944ef83b","status":"Succeeded","startTime":"2022-06-02T19:51:03.2382784"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:11.855859"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '282' + - '1543' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:51:10 GMT + - Thu, 26 May 2022 22:49:14 GMT expires: - '-1' pragma: @@ -2803,24 +2895,24 @@ interactions: ParameterSetName: - -g -n --revision --label User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:51:02.1586247"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":0,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:11.855859"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1549' + - '1543' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:51:10 GMT + - Thu, 26 May 2022 22:49:17 GMT expires: - '-1' pragma: @@ -2844,7 +2936,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -2854,39 +2946,90 @@ interactions: ParameterSetName: - -g -n --revision --label User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.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/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:11.855859"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1542' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:49: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 revision label add + Connection: + - keep-alive + ParameterSetName: + - -g -n --revision --label + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) + 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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","Central US EUAP","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US"],"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","East Asia","Australia East","Germany West Central","Japan East","UK South","West US"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' headers: cache-control: @@ -2896,7 +3039,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:51:11 GMT + - Thu, 26 May 2022 22:49:22 GMT expires: - '-1' pragma: @@ -2914,7 +3057,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -2924,24 +3067,24 @@ interactions: ParameterSetName: - -g -n --revision --label User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:51:02.1586247"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":0,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:11.855859"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1549' + - '1542' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:51:13 GMT + - Thu, 26 May 2022 22:49:24 GMT expires: - '-1' pragma: @@ -2977,21 +3120,21 @@ interactions: User-Agent: - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--q6ac2h3?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--aixgh10?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--q6ac2h3","name":"containerapp000003--q6ac2h3","type":"Microsoft.App/containerapps/revisions","properties":{"createdTime":"2022-06-02T19:50:32+00:00","fqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.50,"memory":"1Gi"},"probes":[]}],"scale":{"maxReplicas":10}},"active":true,"replicas":1,"trafficWeight":100,"healthState":"Healthy","provisioningState":"Provisioned"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--aixgh10","name":"containerapp000003--aixgh10","type":"Microsoft.App/containerapps/revisions","properties":{"createdTime":"2022-05-26T22:48:34+00:00","fqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.50,"memory":"1Gi"},"probes":[]}],"scale":{"maxReplicas":10}},"active":true,"replicas":1,"trafficWeight":100,"healthState":"Healthy","provisioningState":"Provisioned"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '681' + - '678' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:51:15 GMT + - Thu, 26 May 2022 22:49:26 GMT expires: - '-1' pragma: @@ -3012,18 +3155,13 @@ interactions: code: 200 message: OK - request: - body: '{"location": "North Europe", "identity": {"type": "None"}, "properties": - {"managedEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", - "configuration": {"activeRevisionsMode": "Multiple", "ingress": {"external": - true, "targetPort": 80, "transport": "Auto", "traffic": [{"weight": 100, "latestRevision": - true}, {"revisionName": "containerapp000003--l19fu4t", "weight": 0, "label": - "label000005"}, {"revisionName": "containerapp000003--q6ac2h3", "weight": 0, - "latestRevision": false, "label": "label000006"}], "allowInsecure": false}}, - "template": {"containers": [{"image": "nginx", "name": "containerapp000003", - "resources": {"cpu": 0.5, "memory": "1Gi"}}], "scale": {"maxReplicas": 10}}}}' + body: '{"properties": {"configuration": {"ingress": {"traffic": [{"weight": 100, + "latestRevision": true}, {"revisionName": "containerapp000003--ie56ifz", "weight": + 0, "label": "label000005"}, {"revisionName": "containerapp000003--aixgh10", + "weight": 0, "latestRevision": false, "label": "label000006"}]}}}}' headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -3031,32 +3169,78 @@ interactions: Connection: - keep-alive Content-Length: - - '805' + - '299' Content-Type: - application/json ParameterSetName: - -g -n --revision --label User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) - method: PUT + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: PATCH + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 26 May 2022 22:49:27 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/b63208a4-94cf-4583-8e6e-1052cd4b53da?api-version=2022-03-01 + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '499' + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp revision label add + Connection: + - keep-alive + ParameterSetName: + - -g -n --revision --label + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:51:17.8737041Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--q6ac2h3","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:26.8621609"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/3ddb8669-3d56-4a9a-a6c5-f1aefb6175c8?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: - - '1631' + - '1624' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:51:20 GMT + - Thu, 26 May 2022 22:49:30 GMT expires: - '-1' pragma: @@ -3065,17 +3249,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: 201 - message: Created + code: 200 + message: OK - request: body: null headers: @@ -3090,23 +3274,24 @@ interactions: ParameterSetName: - -g -n --revision --label User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/3ddb8669-3d56-4a9a-a6c5-f1aefb6175c8?api-version=2022-03-01&azureAsyncOperation=true + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/3ddb8669-3d56-4a9a-a6c5-f1aefb6175c8","name":"3ddb8669-3d56-4a9a-a6c5-f1aefb6175c8","status":"Succeeded","startTime":"2022-06-02T19:51:18.9055581"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:26.8621609"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '282' + - '1624' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:51:25 GMT + - Thu, 26 May 2022 22:49:33 GMT expires: - '-1' pragma: @@ -3140,24 +3325,177 @@ interactions: ParameterSetName: - -g -n --revision --label User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:51:17.8737041"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--q6ac2h3","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:26.8621609"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1629' + - '1624' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:51:25 GMT + - Thu, 26 May 2022 22:49: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 revision label add + Connection: + - keep-alive + ParameterSetName: + - -g -n --revision --label + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:26.8621609"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1624' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:49: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 revision label add + Connection: + - keep-alive + ParameterSetName: + - -g -n --revision --label + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:26.8621609"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1624' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:49: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 revision label add + Connection: + - keep-alive + ParameterSetName: + - -g -n --revision --label + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:26.8621609"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1623' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:49:46 GMT expires: - '-1' pragma: @@ -3233,7 +3571,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:51:26 GMT + - Thu, 26 May 2022 22:49:47 GMT expires: - '-1' pragma: @@ -3267,18 +3605,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:51:17.8737041"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--q6ac2h3","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:26.8621609"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1629' + - '1623' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:51:28 GMT + - Thu, 26 May 2022 22:49:48 GMT expires: - '-1' pragma: @@ -3354,7 +3692,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:51:28 GMT + - Thu, 26 May 2022 22:49:49 GMT expires: - '-1' pragma: @@ -3388,18 +3726,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:51:17.8737041"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--q6ac2h3","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:26.8621609"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":0,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":0,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1629' + - '1623' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:51:31 GMT + - Thu, 26 May 2022 22:49:49 GMT expires: - '-1' pragma: @@ -3435,21 +3773,21 @@ interactions: User-Agent: - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--l19fu4t?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--ie56ifz?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--l19fu4t","name":"containerapp000003--l19fu4t","type":"Microsoft.App/containerapps/revisions","properties":{"createdTime":"2022-06-02T19:49:46+00:00","fqdn":"containerapp000003--l19fu4t.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.50,"memory":"1Gi"},"probes":[]}],"scale":{"maxReplicas":10}},"active":false,"replicas":0,"trafficWeight":0,"healthState":"Healthy","provisioningState":"Provisioned"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--ie56ifz","name":"containerapp000003--ie56ifz","type":"Microsoft.App/containerapps/revisions","properties":{"createdTime":"2022-05-26T22:48:14+00:00","fqdn":"containerapp000003--ie56ifz.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","template":{"containers":[{"image":"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest","name":"containerapp000003","resources":{"cpu":0.50,"memory":"1Gi"},"probes":[]}],"scale":{"maxReplicas":10}},"active":false,"replicas":0,"trafficWeight":0,"healthState":"Healthy","provisioningState":"Provisioned"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '734' + - '731' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:51:33 GMT + - Thu, 26 May 2022 22:49:51 GMT expires: - '-1' pragma: @@ -3485,21 +3823,21 @@ interactions: User-Agent: - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--q6ac2h3?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--aixgh10?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--q6ac2h3","name":"containerapp000003--q6ac2h3","type":"Microsoft.App/containerapps/revisions","properties":{"createdTime":"2022-06-02T19:50:32+00:00","fqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.50,"memory":"1Gi"},"probes":[]}],"scale":{"maxReplicas":10}},"active":true,"replicas":1,"trafficWeight":100,"healthState":"Healthy","provisioningState":"Provisioned"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003/revisions/containerapp000003--aixgh10","name":"containerapp000003--aixgh10","type":"Microsoft.App/containerapps/revisions","properties":{"createdTime":"2022-05-26T22:48:34+00:00","fqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.50,"memory":"1Gi"},"probes":[]}],"scale":{"maxReplicas":10}},"active":true,"replicas":1,"trafficWeight":100,"healthState":"Healthy","provisioningState":"Provisioned"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '681' + - '678' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:51:36 GMT + - Thu, 26 May 2022 22:49:52 GMT expires: - '-1' pragma: @@ -3521,8 +3859,8 @@ interactions: message: OK - request: body: '{"properties": {"configuration": {"ingress": {"traffic": [{"weight": "50", - "latestRevision": true}, {"revisionName": "containerapp000003--l19fu4t", "weight": - "25", "label": "label000005"}, {"revisionName": "containerapp000003--q6ac2h3", + "latestRevision": true}, {"revisionName": "containerapp000003--ie56ifz", "weight": + "25", "label": "label000005"}, {"revisionName": "containerapp000003--aixgh10", "weight": "25", "label": "label000006"}]}}}}' headers: Accept: @@ -3554,11 +3892,11 @@ interactions: content-length: - '0' date: - - Thu, 02 Jun 2022 19:51:38 GMT + - Thu, 26 May 2022 22:49:55 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/a43b05f2-1fca-4633-9a12-5af44da33fd7?api-version=2022-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/440c433c-bedb-4a69-acd7-b1be15f7a380?api-version=2022-03-01 pragma: - no-cache server: @@ -3594,69 +3932,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:51:36.9317341"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":25,"label":"label000005"},{"revisionName":"containerapp000003--q6ac2h3","weight":25,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-05-01 - cache-control: - - no-cache - content-length: - - '1631' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 02 Jun 2022 19:51: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 ingress traffic set - Connection: - - keep-alive - ParameterSetName: - - -g -n --revision-weight --label-weight - User-Agent: - - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:51:36.9317341"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":25,"label":"label000005"},{"revisionName":"containerapp000003--q6ac2h3","weight":25,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:54.1108946"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":25,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1631' + - '1625' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:51:42 GMT + - Thu, 26 May 2022 22:49:56 GMT expires: - '-1' pragma: @@ -3696,18 +3983,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:51:36.9317341"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":25,"label":"label000005"},{"revisionName":"containerapp000003--q6ac2h3","weight":25,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:54.1108946"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":25,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1630' + - '1624' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:51:46 GMT + - Thu, 26 May 2022 22:50:00 GMT expires: - '-1' pragma: @@ -3783,7 +4070,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:51:47 GMT + - Thu, 26 May 2022 22:50:01 GMT expires: - '-1' pragma: @@ -3817,18 +4104,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:51:36.9317341"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":25,"label":"label000005"},{"revisionName":"containerapp000003--q6ac2h3","weight":25,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:54.1108946"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":25,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1630' + - '1624' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:51:48 GMT + - Thu, 26 May 2022 22:50:04 GMT expires: - '-1' pragma: @@ -3904,7 +4191,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:51:49 GMT + - Thu, 26 May 2022 22:50:04 GMT expires: - '-1' pragma: @@ -3938,18 +4225,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:51:36.9317341"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":25,"label":"label000005"},{"revisionName":"containerapp000003--q6ac2h3","weight":25,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:49:54.1108946"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000005"},{"revisionName":"containerapp000003--aixgh10","weight":25,"label":"label000006"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1630' + - '1624' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:51:50 GMT + - Thu, 26 May 2022 22:50:07 GMT expires: - '-1' pragma: @@ -3971,8 +4258,8 @@ interactions: message: OK - request: body: '{"properties": {"configuration": {"ingress": {"traffic": [{"weight": 50, - "latestRevision": true}, {"revisionName": "containerapp000003--l19fu4t", "weight": - 25, "label": "label000006"}, {"revisionName": "containerapp000003--q6ac2h3", + "latestRevision": true}, {"revisionName": "containerapp000003--ie56ifz", "weight": + 25, "label": "label000006"}, {"revisionName": "containerapp000003--aixgh10", "weight": 25, "label": "label000005"}]}}}}' headers: Accept: @@ -4004,11 +4291,11 @@ interactions: content-length: - '0' date: - - Thu, 02 Jun 2022 19:51:52 GMT + - Thu, 26 May 2022 22:50:08 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/bca82246-87c3-4330-ad09-5a4690e4c024?api-version=2022-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/db24023e-333c-4998-a287-12389fb6243f?api-version=2022-03-01 pragma: - no-cache server: @@ -4044,18 +4331,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:51:51.4287401"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--q6ac2h3","weight":25,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:07.8057897"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--aixgh10","weight":25,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1631' + - '1625' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:51:54 GMT + - Thu, 26 May 2022 22:50:11 GMT expires: - '-1' pragma: @@ -4095,18 +4382,69 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:51:51.4287401"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--q6ac2h3","weight":25,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:07.8057897"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--aixgh10","weight":25,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1630' + - '1625' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:52:00 GMT + - Thu, 26 May 2022 22: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 revision label swap + Connection: + - keep-alive + ParameterSetName: + - -g -n --labels + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:07.8057897"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--aixgh10","weight":25,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1624' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:50:18 GMT expires: - '-1' pragma: @@ -4182,7 +4520,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:52:01 GMT + - Thu, 26 May 2022 22:50:18 GMT expires: - '-1' pragma: @@ -4216,18 +4554,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:51:51.4287401"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--q6ac2h3","weight":25,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:07.8057897"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--aixgh10","weight":25,"label":"label000005"}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1630' + - '1624' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:52:02 GMT + - Thu, 26 May 2022 22:50:21 GMT expires: - '-1' pragma: @@ -4249,8 +4587,8 @@ interactions: message: OK - request: body: '{"properties": {"configuration": {"ingress": {"traffic": [{"weight": 50, - "latestRevision": true}, {"revisionName": "containerapp000003--l19fu4t", "weight": - 25, "label": "label000006"}, {"revisionName": "containerapp000003--q6ac2h3", + "latestRevision": true}, {"revisionName": "containerapp000003--ie56ifz", "weight": + 25, "label": "label000006"}, {"revisionName": "containerapp000003--aixgh10", "weight": 25, "label": null}]}}}}' headers: Accept: @@ -4282,11 +4620,11 @@ interactions: content-length: - '0' date: - - Thu, 02 Jun 2022 19:52:04 GMT + - Thu, 26 May 2022 22:50:23 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/9182e243-a76d-4312-9219-ed6c2a9ce5a8?api-version=2022-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/d576d524-00ef-4cb3-a1b8-fb40801aeef3?api-version=2022-03-01 pragma: - no-cache server: @@ -4322,18 +4660,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:52:04.0190932"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--q6ac2h3","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:22.0741046"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--aixgh10","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1609' + - '1603' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:52:07 GMT + - Thu, 26 May 2022 22:50:24 GMT expires: - '-1' pragma: @@ -4373,18 +4711,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:52:04.0190932"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--q6ac2h3","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:22.0741046"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--aixgh10","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1609' + - '1603' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:52:11 GMT + - Thu, 26 May 2022 22:50:28 GMT expires: - '-1' pragma: @@ -4424,18 +4762,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:52:04.0190932"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--q6ac2h3","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:22.0741046"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--aixgh10","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1608' + - '1602' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:52:15 GMT + - Thu, 26 May 2022 22:50:31 GMT expires: - '-1' pragma: @@ -4511,7 +4849,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:52:15 GMT + - Thu, 26 May 2022 22:50:32 GMT expires: - '-1' pragma: @@ -4545,18 +4883,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:52:04.0190932"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--q6ac2h3","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:22.0741046"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25,"label":"label000006"},{"revisionName":"containerapp000003--aixgh10","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1608' + - '1602' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:52:17 GMT + - Thu, 26 May 2022 22:50:33 GMT expires: - '-1' pragma: @@ -4578,8 +4916,8 @@ interactions: message: OK - request: body: '{"properties": {"configuration": {"ingress": {"traffic": [{"weight": 50, - "latestRevision": true}, {"revisionName": "containerapp000003--l19fu4t", "weight": - 25, "label": null}, {"revisionName": "containerapp000003--q6ac2h3", "weight": + "latestRevision": true}, {"revisionName": "containerapp000003--ie56ifz", "weight": + 25, "label": null}, {"revisionName": "containerapp000003--aixgh10", "weight": 25}]}}}}' headers: Accept: @@ -4611,11 +4949,11 @@ interactions: content-length: - '0' date: - - Thu, 02 Jun 2022 19:52:19 GMT + - Thu, 26 May 2022 22:50:36 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/02825adf-f589-4a9e-9c99-404e75c52153?api-version=2022-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/containerappOperationStatuses/1f059768-29cc-4bb0-aaa1-335cf2706fc4?api-version=2022-03-01 pragma: - no-cache server: @@ -4651,18 +4989,69 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:52:18.0755971"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":25},{"revisionName":"containerapp000003--q6ac2h3","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:35.1008765"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25},{"revisionName":"containerapp000003--aixgh10","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-05-01 + cache-control: + - no-cache + content-length: + - '1581' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 26 May 2022 22:50: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 revision label remove + Connection: + - keep-alive + ParameterSetName: + - -g -n --label + User-Agent: + - python/3.8.10 (Windows-10-10.0.19044-SP0) AZURECLI/2.37.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2022-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:35.1008765"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25},{"revisionName":"containerapp000003--aixgh10","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1587' + - '1581' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:52:20 GMT + - Thu, 26 May 2022 22:50:41 GMT expires: - '-1' pragma: @@ -4702,18 +5091,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:52:18.0755971"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":25},{"revisionName":"containerapp000003--q6ac2h3","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:35.1008765"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25},{"revisionName":"containerapp000003--aixgh10","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1586' + - '1580' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:52:25 GMT + - Thu, 26 May 2022 22:50:45 GMT expires: - '-1' pragma: @@ -4789,7 +5178,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:52:25 GMT + - Thu, 26 May 2022 22:50:46 GMT expires: - '-1' pragma: @@ -4823,18 +5212,18 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"North - Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-02T19:49:44.4015129","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-02T19:52:18.0755971"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["20.82.156.73","20.82.156.88","20.82.156.101"],"latestRevisionName":"containerapp000003--q6ac2h3","latestRevisionFqdn":"containerapp000003--q6ac2h3.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.ambitioussmoke-8d8ed563.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--l19fu4t","weight":25},{"revisionName":"containerapp000003--q6ac2h3","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' + Europe","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-05-26T22:48:11.527888","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-26T22:50:35.1008765"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","outboundIpAddresses":["40.67.250.25","40.67.250.221","40.67.252.230"],"latestRevisionName":"containerapp000003--aixgh10","latestRevisionFqdn":"containerapp000003--aixgh10.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","customDomainVerificationId":"99A6464610F70E526E50B6B7BECF7E0698398F28CB03C7A235D70FDF654D411E","configuration":{"activeRevisionsMode":"Multiple","ingress":{"fqdn":"containerapp000003.wittyforest-5acee1e7.northeurope.azurecontainerapps.io","external":true,"targetPort":80,"transport":"Auto","traffic":[{"weight":50,"latestRevision":true},{"revisionName":"containerapp000003--ie56ifz","weight":25},{"revisionName":"containerapp000003--aixgh10","weight":25}],"allowInsecure":false}},"template":{"containers":[{"image":"nginx","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi"}}],"scale":{"maxReplicas":10}}},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '1586' + - '1580' content-type: - application/json; charset=utf-8 date: - - Thu, 02 Jun 2022 19:52:27 GMT + - Thu, 26 May 2022 22:50:47 GMT expires: - '-1' pragma: diff --git a/src/containerapp/azext_containerapp/tests/latest/test_containerapp_commands.py b/src/containerapp/azext_containerapp/tests/latest/test_containerapp_commands.py index 4c0a1b74536..24ecca95e36 100644 --- a/src/containerapp/azext_containerapp/tests/latest/test_containerapp_commands.py +++ b/src/containerapp/azext_containerapp/tests/latest/test_containerapp_commands.py @@ -229,7 +229,7 @@ def test_containerapp_ingress_traffic_e2e(self, resource_group): time.sleep(5) containerapp_env = self.cmd('containerapp env show -g {} -n {}'.format(resource_group, env_name)).get_output_in_json() - self.cmd('containerapp create -g {} -n {} --environment {} --ingress external --target-port 80'.format(resource_group, ca_name, env_name)) + self.cmd('containerapp create -g {} -n {} --environment {} --ingress external --target-port 80 --revisions-mode multiple'.format(resource_group, ca_name, env_name)) self.cmd('containerapp ingress show -g {} -n {}'.format(resource_group, ca_name), checks=[ JMESPathCheck('external', True), @@ -541,8 +541,8 @@ def test_containerapp_revision_label_e2e(self, resource_group): else: self.assertEqual(traffic["weight"], 50) - traffic_weight = self.cmd(f"containerapp revision label swap -g {resource_group} -n {ca_name} --labels {labels[0]} {labels[1]}").get_output_in_json() - + traffic_weight = self.cmd(f"containerapp revision label swap -g {resource_group} -n {ca_name} --source {labels[0]} --target {labels[1]}").get_output_in_json() + for revision in revision_names: traffic = [w for w in traffic_weight if "revisionName" in w and w["revisionName"] == revision][0] self.assertEqual(traffic["label"], labels[(revision_names.index(revision) + 1) % 2]) From c12b90d9474b882246fdfbc995f5259f50dd170c Mon Sep 17 00:00:00 2001 From: Haroon Feisal Date: Mon, 20 Jun 2022 13:52:46 -0700 Subject: [PATCH 12/15] Fixed no_wait in ca update and create. --- src/containerapp/azext_containerapp/custom.py | 29 +++++++------------ 1 file changed, 11 insertions(+), 18 deletions(-) diff --git a/src/containerapp/azext_containerapp/custom.py b/src/containerapp/azext_containerapp/custom.py index 827b9bf0122..2881fbea715 100644 --- a/src/containerapp/azext_containerapp/custom.py +++ b/src/containerapp/azext_containerapp/custom.py @@ -64,14 +64,13 @@ _update_revision_env_secretrefs, _get_acr_cred, safe_get, await_github_action, repo_url_to_name, validate_container_app_name, _update_weights, get_vnet_location, register_provider_if_needed, generate_randomized_cert_name, _get_name, load_cert_file, check_cert_name_availability, - validate_hostname, patch_new_custom_domain, get_custom_domains, _validate_revision_name, set_managed_identity) + validate_hostname, patch_new_custom_domain, get_custom_domains, _validate_revision_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, MICROSOFT_SECRET_SETTING_NAME, FACEBOOK_SECRET_SETTING_NAME, GITHUB_SECRET_SETTING_NAME, - GOOGLE_SECRET_SETTING_NAME, TWITTER_SECRET_SETTING_NAME, APPLE_SECRET_SETTING_NAME, CONTAINER_APPS_RP, - NAME_INVALID, NAME_ALREADY_EXISTS, ACR_IMAGE_SUFFIX) + GOOGLE_SECRET_SETTING_NAME, TWITTER_SECRET_SETTING_NAME, APPLE_SECRET_SETTING_NAME, CONTAINER_APPS_RP) logger = get_logger(__name__) @@ -263,7 +262,10 @@ def create_containerapp(cmd, try: poller = client.begin_create_or_update(resource_group_name=resource_group_name, container_app_name=name, container_app_envelope=containerapp_def) - r = LongRunningOperation(cmd.cli_ctx)(poller) + if not no_wait: + r = LongRunningOperation(cmd.cli_ctx)(poller) + else: + r = client.get(resource_group_name=resource_group_name, container_app_name=name) if r.configuration.ingress and r.configuration.ingress.fqdn: not disable_warnings and logger.warning("\nContainer app created. Access your app at https://{}/\n".format(r.configuration.ingress.fqdn)) @@ -539,12 +541,11 @@ def update_containerapp_logic(cmd, registries_def.append(registry) try: - poller = client.begin_create_or_update(resource_group_name=resource_group_name, container_app_name=name, container_app_envelope=new_containerapp) - r = LongRunningOperation(cmd.cli_ctx)(poller) + poller = client.begin_update(resource_group_name=resource_group_name, container_app_name=name, container_app_envelope=new_containerapp) + if not no_wait: + LongRunningOperation(cmd.cli_ctx)(poller) # doesn't return object, only status code since it uses patch api - # return new_containerapp - # 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)) + r = client.get(resource_group_name=resource_group_name, container_app_name=name) return r except Exception as e: @@ -622,20 +623,12 @@ def list_containerapp(cmd, client, resource_group_name=None, managed_env=None): else: containerapps = [c for c in containerapps if parse_resource_id(c.managed_environment_id)["name"].lower() == env_name] - if managed_env: - env_name = parse_resource_id(managed_env)["name"].lower() - if "resource_group" in parse_resource_id(managed_env): - ManagedEnvironmentClient.show(cmd, parse_resource_id(managed_env)["resource_group"], parse_resource_id(managed_env)["name"]) - containerapps = [c for c in containerapps if c["properties"]["managedEnvironmentId"].lower() == managed_env.lower()] - else: - containerapps = [c for c in containerapps if parse_resource_id(c["properties"]["managedEnvironmentId"])["name"].lower() == env_name] - return containerapps except CLIError as e: handle_raw_exception(e) -def delete_containerapp(cmd, client, name, resource_group_name, no_wait=False): +def delete_containerapp(cmd, client, name, resource_group_name): _validate_subscription_registered(cmd, CONTAINER_APPS_RP) try: From 95074dac3ef4acd8e0a5d6a0a590ca6591cf1ab2 Mon Sep 17 00:00:00 2001 From: Haroon Feisal Date: Mon, 20 Jun 2022 14:06:58 -0700 Subject: [PATCH 13/15] Updated replica commands. --- .../azext_containerapp/_client_factory.py | 3 +++ .../azext_containerapp/commands.py | 10 ++++---- src/containerapp/azext_containerapp/custom.py | 25 ++++++++----------- 3 files changed, 18 insertions(+), 20 deletions(-) diff --git a/src/containerapp/azext_containerapp/_client_factory.py b/src/containerapp/azext_containerapp/_client_factory.py index 27a6130c224..6c52073697f 100644 --- a/src/containerapp/azext_containerapp/_client_factory.py +++ b/src/containerapp/azext_containerapp/_client_factory.py @@ -93,3 +93,6 @@ def cf_managedenvs(cli_ctx, *_): def cf_revisions(cli_ctx, *_): return app_client_factory(cli_ctx).container_apps_revisions + +def cf_replicas(cli_ctx, *_): + return app_client_factory(cli_ctx).container_apps_revision_replicas \ No newline at end of file diff --git a/src/containerapp/azext_containerapp/commands.py b/src/containerapp/azext_containerapp/commands.py index d4cb5a71486..55ba6f170ff 100644 --- a/src/containerapp/azext_containerapp/commands.py +++ b/src/containerapp/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 azext_containerapp._client_factory import ex_handler_factory, cf_containerapps, cf_managedenvs, cf_revisions +from azext_containerapp._client_factory import ex_handler_factory, cf_containerapps, cf_managedenvs, cf_revisions, cf_replicas from ._validators import validate_ssh @@ -50,16 +50,16 @@ def load_command_table(self, _): 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('exec', 'containerapp_ssh', validator=validate_ssh) # TODO + g.custom_command('up', 'containerapp_up', supports_no_wait=False, exception_handler=ex_handler_factory()) # TODO g.custom_command('browse', 'open_containerapp_in_browser') - with self.command_group('containerapp replica') as g: + with self.command_group('containerapp replica', client_factory=cf_replicas) 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') as g: - g.custom_show_command('show', 'stream_containerapp_logs', validator=validate_ssh) + g.custom_show_command('show', 'stream_containerapp_logs', validator=validate_ssh) # TODO with self.command_group('containerapp env') as g: g.custom_show_command('show', 'show_managed_environment') diff --git a/src/containerapp/azext_containerapp/custom.py b/src/containerapp/azext_containerapp/custom.py index 2881fbea715..6cb457dba7a 100644 --- a/src/containerapp/azext_containerapp/custom.py +++ b/src/containerapp/azext_containerapp/custom.py @@ -1977,25 +1977,20 @@ def remove_dapr_component(cmd, resource_group_name, dapr_component_name, environ handle_raw_exception(e) -def list_replicas(cmd, resource_group_name, name, revision=None): - app = ContainerAppClient.show(cmd, resource_group_name, name) +def list_replicas(cmd, client, resource_group_name, name, revision=None): + from ._client_factory import cf_containerapps + app = cf_containerapps(cmd.cli_ctx).get(container_app_name=name, resource_group_name=resource_group_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) + revision = app.latest_revision_name + return client.list_replicas(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) +def get_replica(cmd, client, resource_group_name, name, replica, revision=None): + from ._client_factory import cf_containerapps + app = cf_containerapps(cmd.cli_ctx).get(container_app_name=name, resource_group_name=resource_group_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) + revision = app.latest_revision_name + return client.get_replica(container_app_name=name, resource_group_name=resource_group_name, revision_name=revision, replica_name=replica) def containerapp_ssh(cmd, resource_group_name, name, container=None, revision=None, replica=None, startup_command="sh"): From 914ec18ccca9be0286542f6821af69977729ecd5 Mon Sep 17 00:00:00 2001 From: Haroon Feisal Date: Mon, 20 Jun 2022 15:29:47 -0700 Subject: [PATCH 14/15] Updated env commands and dapr component commands. --- .../azext_containerapp/_client_factory.py | 5 +- .../azext_containerapp/_constants.py | 7 +- .../azext_containerapp/_params.py | 1 + .../azext_containerapp/commands.py | 12 +- src/containerapp/azext_containerapp/custom.py | 111 +-- ...test_containerapp_env_dapr_components.yaml | 749 ++++++++---------- .../latest/test_containerapp_env_commands.py | 10 +- 7 files changed, 366 insertions(+), 529 deletions(-) diff --git a/src/containerapp/azext_containerapp/_client_factory.py b/src/containerapp/azext_containerapp/_client_factory.py index 6c52073697f..4b0fc62355d 100644 --- a/src/containerapp/azext_containerapp/_client_factory.py +++ b/src/containerapp/azext_containerapp/_client_factory.py @@ -95,4 +95,7 @@ def cf_revisions(cli_ctx, *_): return app_client_factory(cli_ctx).container_apps_revisions def cf_replicas(cli_ctx, *_): - return app_client_factory(cli_ctx).container_apps_revision_replicas \ No newline at end of file + return app_client_factory(cli_ctx).container_apps_revision_replicas + +def cf_dapr_components(cli_ctx, *_): + return app_client_factory(cli_ctx).dapr_components \ No newline at end of file diff --git a/src/containerapp/azext_containerapp/_constants.py b/src/containerapp/azext_containerapp/_constants.py index 1ba84998feb..fb0925d7c97 100644 --- a/src/containerapp/azext_containerapp/_constants.py +++ b/src/containerapp/azext_containerapp/_constants.py @@ -9,6 +9,8 @@ SHORT_POLLING_INTERVAL_SECS = 3 LONG_POLLING_INTERVAL_SECS = 10 +ACR_IMAGE_SUFFIX = ".azurecr.io" + LOG_ANALYTICS_RP = "Microsoft.OperationalInsights" CONTAINER_APPS_RP = "Microsoft.App" @@ -21,6 +23,9 @@ MSA_SECRET_SETTING_NAME = "msa-provider-authentication-secret" TWITTER_SECRET_SETTING_NAME = "twitter-provider-authentication-secret" APPLE_SECRET_SETTING_NAME = "apple-provider-authentication-secret" -UNAUTHENTICATED_CLIENT_ACTION = ['RedirectToLoginPage', 'AllowAnonymous', 'RejectWith401', 'RejectWith404'] +UNAUTHENTICATED_CLIENT_ACTION = ['RedirectToLoginPage', 'AllowAnonymous', 'Return401', 'Return403'] FORWARD_PROXY_CONVENTION = ['NoProxy', 'Standard', 'Custom'] CHECK_CERTIFICATE_NAME_AVAILABILITY_TYPE = "Microsoft.App/managedEnvironments/certificates" + +NAME_INVALID = "Invalid" +NAME_ALREADY_EXISTS = "AlreadyExists" \ No newline at end of file diff --git a/src/containerapp/azext_containerapp/_params.py b/src/containerapp/azext_containerapp/_params.py index fdc0b412b68..3eba9a7af63 100644 --- a/src/containerapp/azext_containerapp/_params.py +++ b/src/containerapp/azext_containerapp/_params.py @@ -138,6 +138,7 @@ def load_arguments(self, _): 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 create') as c: c.argument('zone_redundant', options_list=["--zone-redundant", "-z"], help="Enable zone redundancy on the environment. Cannot be used without --infrastructure-subnet-resource-id. If used with --location, the subnet's location must match") diff --git a/src/containerapp/azext_containerapp/commands.py b/src/containerapp/azext_containerapp/commands.py index 55ba6f170ff..41efcd534e1 100644 --- a/src/containerapp/azext_containerapp/commands.py +++ b/src/containerapp/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 azext_containerapp._client_factory import ex_handler_factory, cf_containerapps, cf_managedenvs, cf_revisions, cf_replicas +from azext_containerapp._client_factory import ex_handler_factory, cf_containerapps, cf_managedenvs, cf_revisions, cf_replicas, cf_dapr_components from ._validators import validate_ssh @@ -61,22 +61,22 @@ def load_command_table(self, _): with self.command_group('containerapp logs') as g: g.custom_show_command('show', 'stream_containerapp_logs', validator=validate_ssh) # TODO - with self.command_group('containerapp env') as g: + with self.command_group('containerapp env', client_factory=cf_managedenvs) 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: + with self.command_group('containerapp env dapr-component', client_factory=cf_dapr_components) 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 certificate') as g: - g.custom_command('list', 'list_certificates') - g.custom_command('upload', 'upload_certificate') - g.custom_command('delete', 'delete_certificate', confirmation=True, exception_handler=ex_handler_factory()) + g.custom_command('list', 'list_certificates') # TODO: Testing + g.custom_command('upload', 'upload_certificate') # TODO: Testing + g.custom_command('delete', 'delete_certificate', confirmation=True, exception_handler=ex_handler_factory()) # TODO: Testing with self.command_group('containerapp env storage', is_preview=True) as g: g.custom_show_command('show', 'show_storage') diff --git a/src/containerapp/azext_containerapp/custom.py b/src/containerapp/azext_containerapp/custom.py index 6cb457dba7a..6f3fbbcc7db 100644 --- a/src/containerapp/azext_containerapp/custom.py +++ b/src/containerapp/azext_containerapp/custom.py @@ -638,6 +638,7 @@ def delete_containerapp(cmd, client, name, resource_group_name): def create_managed_environment(cmd, + client, name, resource_group_name, logs_customer_id=None, @@ -675,52 +676,26 @@ def create_managed_environment(cmd, 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 + from azure.mgmt.appcontainers.models import LogAnalyticsConfiguration, AppLogsConfiguration, ManagedEnvironment, VnetConfiguration - app_logs_config_def = AppLogsConfigurationModel - app_logs_config_def["destination"] = "log-analytics" - app_logs_config_def["logAnalyticsConfiguration"] = log_analytics_config_def + log_analytics_config_def = LogAnalyticsConfiguration(customer_id=logs_customer_id, shared_key=logs_key) - 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 - managed_env_def["properties"]["zoneRedundant"] = zone_redundant + app_logs_config_def = AppLogsConfiguration(destination="log-analytics", log_analytics_configuration=log_analytics_config_def) - 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 + vnet_config_def = VnetConfiguration(internal = internal_only, infrastructure_subnet_id = infrastructure_subnet_resource_id, docker_bridge_cidr=docker_bridge_cidr, platform_reserved_cidr=platform_reserved_cidr, platform_reserved_dns_ip=platform_reserved_dns_ip) 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) + managed_env_def = ManagedEnvironment(location=location, app_logs_configuration=app_logs_config_def, tags=tags, zone_redundant=zone_redundant, dapr_ai_instrumentation_key=instrumentation_key, vnet_configuration=vnet_config_def) - 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)) + try: + poller = client.begin_create_or_update(resource_group_name=resource_group_name, environment_name=name, environment_envelope=managed_env_def) + if not no_wait: + r = LongRunningOperation(cmd.cli_ctx)(poller) + else: + r = client.get(resource_group_name=resource_group_name, environment_name=name) not disable_warnings and logger.warning("\nContainer Apps environment created. To deploy a container app, use: az containerapp create --help\n") @@ -730,6 +705,7 @@ def create_managed_environment(cmd, def update_managed_environment(cmd, + client, name, resource_group_name, tags=None, @@ -737,35 +713,35 @@ def update_managed_environment(cmd, raise CLIInternalError('Containerapp env update is not yet supported.') -def show_managed_environment(cmd, name, resource_group_name): +def show_managed_environment(cmd, client, name, resource_group_name): _validate_subscription_registered(cmd, CONTAINER_APPS_RP) try: - return ManagedEnvironmentClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + return client.get(resource_group_name=resource_group_name, environment_name=name) except CLIError as e: handle_raw_exception(e) -def list_managed_environments(cmd, resource_group_name=None): +def list_managed_environments(cmd, client, resource_group_name=None): _validate_subscription_registered(cmd, CONTAINER_APPS_RP) try: managed_envs = [] if resource_group_name is None: - managed_envs = ManagedEnvironmentClient.list_by_subscription(cmd=cmd) + managed_envs = client.list_by_subscription() else: - managed_envs = ManagedEnvironmentClient.list_by_resource_group(cmd=cmd, resource_group_name=resource_group_name) + managed_envs = client.list_by_resource_group(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): +def delete_managed_environment(cmd, client, name, resource_group_name): _validate_subscription_registered(cmd, CONTAINER_APPS_RP) try: - return ManagedEnvironmentClient.delete(cmd=cmd, name=name, resource_group_name=resource_group_name, no_wait=no_wait) + return client.begin_delete(environment_name=name, resource_group_name=resource_group_name) except CLIError as e: handle_raw_exception(e) @@ -1913,66 +1889,41 @@ def disable_dapr(cmd, name, resource_group_name, no_wait=False): handle_raw_exception(e) -def list_dapr_components(cmd, resource_group_name, environment_name): +def list_dapr_components(cmd, client, resource_group_name, environment_name): _validate_subscription_registered(cmd, CONTAINER_APPS_RP) - return DaprComponentClient.list(cmd, resource_group_name, environment_name) + return client.list(resource_group_name=resource_group_name, environment_name=environment_name) -def show_dapr_component(cmd, resource_group_name, dapr_component_name, environment_name): +def show_dapr_component(cmd, client, resource_group_name, dapr_component_name, environment_name): _validate_subscription_registered(cmd, CONTAINER_APPS_RP) - return DaprComponentClient.show(cmd, resource_group_name, environment_name, name=dapr_component_name) + return client.get(resource_group_name=resource_group_name, environment_name=environment_name, component_name=dapr_component_name) -def create_or_update_dapr_component(cmd, resource_group_name, environment_name, dapr_component_name, yaml): +def create_or_update_dapr_component(cmd, client, resource_group_name, environment_name, dapr_component_name, yaml): _validate_subscription_registered(cmd, CONTAINER_APPS_RP) - yaml_containerapp = load_yaml_file(yaml) - if type(yaml_containerapp) != dict: # pylint: disable=unidiomatic-typecheck + yaml_component = load_yaml_file(yaml) + if type(yaml_component) != 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 + return client.create_or_update(resource_group_name=resource_group_name, environment_name=environment_name, dapr_component_envelope=yaml_component, component_name=dapr_component_name) except Exception as e: handle_raw_exception(e) -def remove_dapr_component(cmd, resource_group_name, dapr_component_name, environment_name): +def remove_dapr_component(cmd, client, resource_group_name, dapr_component_name, environment_name): _validate_subscription_registered(cmd, CONTAINER_APPS_RP) try: - DaprComponentClient.show(cmd, resource_group_name, environment_name, name=dapr_component_name) + client.get(resource_group_name=resource_group_name, environment_name=environment_name, component_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 + return client.delete(resource_group_name=resource_group_name, environment_name=environment_name, component_name=dapr_component_name) except Exception as e: handle_raw_exception(e) diff --git a/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_env_dapr_components.yaml b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_env_dapr_components.yaml index 6dedc1040bb..d7ce5e8a794 100644 --- a/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_env_dapr_components.yaml +++ b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_env_dapr_components.yaml @@ -13,12 +13,12 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.6 (macOS-10.16-x86_64-i386-64bit) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"northeurope","tags":{"product":"azurecli","cause":"automation","date":"2022-05-12T20:42:14Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"northeurope","tags":{"product":"azurecli","cause":"automation","date":"2022-06-20T22:22:48Z"},"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:42:17 GMT + - Mon, 20 Jun 2022 22:22:52 GMT expires: - '-1' pragma: @@ -60,12 +60,12 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.6 (macOS-10.16-x86_64-i386-64bit) + - AZURECLI/2.37.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004?api-version=2021-12-01-preview response: body: - string: '{"properties":{"customerId":"c5353e83-03e4-4e5d-8613-5fb55d8065e9","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2022-05-12T20:42:22.3850204Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2022-05-13T13:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2022-05-12T20:42:22.3850204Z","modifiedDate":"2022-05-12T20:42:22.3850204Z"},"location":"northeurope","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004","name":"containerapp-env000004","type":"Microsoft.OperationalInsights/workspaces"}' + string: '{"properties":{"customerId":"9f53d8fb-4665-4e86-9825-09ac0eacfbd7","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2022-06-20T22:23:01.0191295Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2022-06-21T11:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2022-06-20T22:23:01.0191295Z","modifiedDate":"2022-06-20T22:23:01.0191295Z"},"location":"northeurope","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004","name":"containerapp-env000004","type":"Microsoft.OperationalInsights/workspaces"}' headers: access-control-allow-origin: - '*' @@ -78,7 +78,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:42:23 GMT + - Mon, 20 Jun 2022 22:23:03 GMT expires: - '-1' location: @@ -114,12 +114,12 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.6 (macOS-10.16-x86_64-i386-64bit) + - AZURECLI/2.37.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004?api-version=2021-12-01-preview response: body: - string: '{"properties":{"customerId":"c5353e83-03e4-4e5d-8613-5fb55d8065e9","provisioningState":"Succeeded","sku":{"name":"PerGB2018","lastSkuUpdate":"2022-05-12T20:42:22.3850204Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2022-05-13T13:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2022-05-12T20:42:22.3850204Z","modifiedDate":"2022-05-12T20:42:22.3850204Z"},"location":"northeurope","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004","name":"containerapp-env000004","type":"Microsoft.OperationalInsights/workspaces"}' + string: '{"properties":{"customerId":"9f53d8fb-4665-4e86-9825-09ac0eacfbd7","provisioningState":"Succeeded","sku":{"name":"PerGB2018","lastSkuUpdate":"2022-06-20T22:23:01.0191295Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2022-06-21T11:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2022-06-20T22:23:01.0191295Z","modifiedDate":"2022-06-20T22:23:01.0191295Z"},"location":"northeurope","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004","name":"containerapp-env000004","type":"Microsoft.OperationalInsights/workspaces"}' headers: access-control-allow-origin: - '*' @@ -132,7 +132,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:42:53 GMT + - Mon, 20 Jun 2022 22:23:33 GMT expires: - '-1' pragma: @@ -170,12 +170,12 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.6 (macOS-10.16-x86_64-i386-64bit) + - AZURECLI/2.37.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004/sharedKeys?api-version=2020-08-01 response: body: - string: '{"primarySharedKey":"+owroJ8ojyAlmjnIpc9PWpD5rmMm/Z9VCqmEkTox3ql+G5wwM/e17B2p3XwzrNjKHodZuhuN5j+3ocvuGzHopQ==","secondarySharedKey":"TfpnTOWvOyVa5uhKHrqGaSE7w2GbMkJlr4BISAup18oFMSlhmc9R4IsX/zyLcV9HsbkghtzWxkoG7R8Gpp1Bbw=="}' + string: '{"primarySharedKey":"X4vI0hz42AMGK2Ut2J3ZqiPJFeJaCMVQXqT/UQGK47/zAlB1hZ7YX+sQ38Ow5NlIwqO5H+bgGLNEF4ZflHzkkA==","secondarySharedKey":"5h8oHfQsECxUX1f9a4ofB68b4tLiIRWRoTZ0ed74v+tlDqlNtswiOd3iKODxvMyRBP9OB376q0dM3lXIHYEW4w=="}' headers: access-control-allow-origin: - '*' @@ -188,7 +188,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:42:57 GMT + - Mon, 20 Jun 2022 22:23:36 GMT expires: - '-1' pragma: @@ -226,12 +226,12 @@ interactions: ParameterSetName: - -g -n --logs-workspace-id --logs-workspace-key User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.6 (macOS-10.16-x86_64-i386-64bit) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"northeurope","tags":{"product":"azurecli","cause":"automation","date":"2022-05-12T20:42:14Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"northeurope","tags":{"product":"azurecli","cause":"automation","date":"2022-06-20T22:22:48Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -240,7 +240,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:42:57 GMT + - Mon, 20 Jun 2022 22:23:36 GMT expires: - '-1' pragma: @@ -268,41 +268,57 @@ interactions: ParameterSetName: - -g -n --logs-workspace-id --logs-workspace-key User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.6 (macOS-10.16-x86_64-i386-64bit) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"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"}' + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","Canada Central","West + Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany + West Central","Japan East","UK South","West US","Central US","North Central + US","South Central US","Korea Central"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' headers: cache-control: - no-cache content-length: - - '2863' + - '4223' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:42:57 GMT + - Mon, 20 Jun 2022 22:23:36 GMT expires: - '-1' pragma: @@ -330,41 +346,57 @@ interactions: ParameterSetName: - -g -n --logs-workspace-id --logs-workspace-key User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.6 (macOS-10.16-x86_64-i386-64bit) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"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"}' + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","Canada Central","West + Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany + West Central","Japan East","UK South","West US","Central US","North Central + US","South Central US","Korea Central"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' headers: cache-control: - no-cache content-length: - - '2863' + - '4223' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:42:57 GMT + - Mon, 20 Jun 2022 22:23:37 GMT expires: - '-1' pragma: @@ -379,13 +411,13 @@ interactions: code: 200 message: OK - request: - body: '{"location": "northeurope", "tags": null, "properties": {"daprAIInstrumentationKey": - null, "vnetConfiguration": null, "internalLoadBalancerEnabled": false, "appLogsConfiguration": - {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": - "c5353e83-03e4-4e5d-8613-5fb55d8065e9", "sharedKey": "+owroJ8ojyAlmjnIpc9PWpD5rmMm/Z9VCqmEkTox3ql+G5wwM/e17B2p3XwzrNjKHodZuhuN5j+3ocvuGzHopQ=="}}}}' + body: '{"location": "northeurope", "properties": {"vnetConfiguration": {"internal": + false}, "appLogsConfiguration": {"destination": "log-analytics", "logAnalyticsConfiguration": + {"customerId": "9f53d8fb-4665-4e86-9825-09ac0eacfbd7", "sharedKey": "X4vI0hz42AMGK2Ut2J3ZqiPJFeJaCMVQXqT/UQGK47/zAlB1hZ7YX+sQ38Ow5NlIwqO5H+bgGLNEF4ZflHzkkA=="}}, + "zoneRedundant": false}}' headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -393,23 +425,23 @@ interactions: Connection: - keep-alive Content-Length: - - '404' + - '357' Content-Type: - application/json ParameterSetName: - -g -n --logs-workspace-id --logs-workspace-key User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002","name":"containerapp-e2e-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:43:04.6673096Z","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:43:04.6673096Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangoisland-210df61a.northeurope.azurecontainerapps.io","staticIp":"20.223.72.144","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"c5353e83-03e4-4e5d-8613-5fb55d8065e9"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002","name":"containerapp-e2e-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-20T22:23:41.8294634Z","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-20T22:23:41.8294634Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"ashyrock-09d818b9.northeurope.azurecontainerapps.io","staticIp":"20.105.113.105","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9f53d8fb-4665-4e86-9825-09ac0eacfbd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - - 2022-01-01-preview, 2022-03-01 + - 2022-01-01-preview, 2022-03-01, 2022-05-01 azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/managedEnvironmentOperationStatuses/b07d51bd-7a0b-43dc-9fa5-22b5e26c16e7?api-version=2022-03-01&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/managedEnvironmentOperationStatuses/c244a095-352e-4f64-894b-5eda70e5c53b?api-version=2022-03-01&azureAsyncOperation=true cache-control: - no-cache content-length: @@ -417,7 +449,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:43:06 GMT + - Mon, 20 Jun 2022 22:23:43 GMT expires: - '-1' pragma: @@ -451,73 +483,23 @@ interactions: ParameterSetName: - -g -n --logs-workspace-id --logs-workspace-key User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002","name":"containerapp-e2e-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:43:04.6673096","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:43:04.6673096"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangoisland-210df61a.northeurope.azurecontainerapps.io","staticIp":"20.223.72.144","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"c5353e83-03e4-4e5d-8613-5fb55d8065e9"}},"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: - - Thu, 12 May 2022 20: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 env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/managedEnvironmentOperationStatuses/c244a095-352e-4f64-894b-5eda70e5c53b?api-version=2022-03-01&azureAsyncOperation=true response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002","name":"containerapp-e2e-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:43:04.6673096","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:43:04.6673096"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangoisland-210df61a.northeurope.azurecontainerapps.io","staticIp":"20.223.72.144","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"c5353e83-03e4-4e5d-8613-5fb55d8065e9"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/managedEnvironmentOperationStatuses/c244a095-352e-4f64-894b-5eda70e5c53b","name":"c244a095-352e-4f64-894b-5eda70e5c53b","status":"InProgress","startTime":"2022-06-20T22:23:43.1661734"}' headers: api-supported-versions: - - 2022-01-01-preview, 2022-03-01 + - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '811' + - '289' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:43:12 GMT + - Mon, 20 Jun 2022 22:23:48 GMT expires: - '-1' pragma: @@ -551,23 +533,23 @@ interactions: ParameterSetName: - -g -n --logs-workspace-id --logs-workspace-key User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/managedEnvironmentOperationStatuses/c244a095-352e-4f64-894b-5eda70e5c53b?api-version=2022-03-01&azureAsyncOperation=true response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002","name":"containerapp-e2e-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:43:04.6673096","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:43:04.6673096"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangoisland-210df61a.northeurope.azurecontainerapps.io","staticIp":"20.223.72.144","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"c5353e83-03e4-4e5d-8613-5fb55d8065e9"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/managedEnvironmentOperationStatuses/c244a095-352e-4f64-894b-5eda70e5c53b","name":"c244a095-352e-4f64-894b-5eda70e5c53b","status":"InProgress","startTime":"2022-06-20T22:23:43.1661734"}' headers: api-supported-versions: - - 2022-01-01-preview, 2022-03-01 + - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '811' + - '289' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:43:17 GMT + - Mon, 20 Jun 2022 22:24:18 GMT expires: - '-1' pragma: @@ -601,23 +583,23 @@ interactions: ParameterSetName: - -g -n --logs-workspace-id --logs-workspace-key User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/managedEnvironmentOperationStatuses/c244a095-352e-4f64-894b-5eda70e5c53b?api-version=2022-03-01&azureAsyncOperation=true response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002","name":"containerapp-e2e-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:43:04.6673096","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:43:04.6673096"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangoisland-210df61a.northeurope.azurecontainerapps.io","staticIp":"20.223.72.144","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"c5353e83-03e4-4e5d-8613-5fb55d8065e9"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northeurope/managedEnvironmentOperationStatuses/c244a095-352e-4f64-894b-5eda70e5c53b","name":"c244a095-352e-4f64-894b-5eda70e5c53b","status":"Succeeded","startTime":"2022-06-20T22:23:43.1661734"}' headers: api-supported-versions: - - 2022-01-01-preview, 2022-03-01 + - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '811' + - '288' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:43:23 GMT + - Mon, 20 Jun 2022 22:24:49 GMT expires: - '-1' pragma: @@ -651,215 +633,15 @@ interactions: ParameterSetName: - -g -n --logs-workspace-id --logs-workspace-key User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002","name":"containerapp-e2e-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:43:04.6673096","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:43:04.6673096"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangoisland-210df61a.northeurope.azurecontainerapps.io","staticIp":"20.223.72.144","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"c5353e83-03e4-4e5d-8613-5fb55d8065e9"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002","name":"containerapp-e2e-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-20T22:23:41.8294634","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-20T22:23:41.8294634"},"properties":{"provisioningState":"Succeeded","defaultDomain":"ashyrock-09d818b9.northeurope.azurecontainerapps.io","staticIp":"20.105.113.105","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9f53d8fb-4665-4e86-9825-09ac0eacfbd7"}},"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: - - Thu, 12 May 2022 20: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 env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002","name":"containerapp-e2e-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:43:04.6673096","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:43:04.6673096"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangoisland-210df61a.northeurope.azurecontainerapps.io","staticIp":"20.223.72.144","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"c5353e83-03e4-4e5d-8613-5fb55d8065e9"}},"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: - - Thu, 12 May 2022 20: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 env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002","name":"containerapp-e2e-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:43:04.6673096","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:43:04.6673096"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangoisland-210df61a.northeurope.azurecontainerapps.io","staticIp":"20.223.72.144","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"c5353e83-03e4-4e5d-8613-5fb55d8065e9"}},"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: - - Thu, 12 May 2022 20: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 env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002","name":"containerapp-e2e-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:43:04.6673096","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:43:04.6673096"},"properties":{"provisioningState":"Waiting","defaultDomain":"mangoisland-210df61a.northeurope.azurecontainerapps.io","staticIp":"20.223.72.144","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"c5353e83-03e4-4e5d-8613-5fb55d8065e9"}},"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: - - Thu, 12 May 2022 20: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 env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002?api-version=2022-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002","name":"containerapp-e2e-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:43:04.6673096","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:43:04.6673096"},"properties":{"provisioningState":"Succeeded","defaultDomain":"mangoisland-210df61a.northeurope.azurecontainerapps.io","staticIp":"20.223.72.144","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"c5353e83-03e4-4e5d-8613-5fb55d8065e9"}},"zoneRedundant":false}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01 + - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: @@ -867,7 +649,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:43:43 GMT + - Mon, 20 Jun 2022 22:24:50 GMT expires: - '-1' pragma: @@ -901,41 +683,57 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.6 (macOS-10.16-x86_64-i386-64bit) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"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"}' + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","Canada Central","West + Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany + West Central","Japan East","UK South","West US","Central US","North Central + US","South Central US","Korea Central"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' headers: cache-control: - no-cache content-length: - - '2863' + - '4223' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:43:44 GMT + - Mon, 20 Jun 2022 22:24:50 GMT expires: - '-1' pragma: @@ -953,7 +751,7 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -963,15 +761,15 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002","name":"containerapp-e2e-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:43:04.6673096","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:43:04.6673096"},"properties":{"provisioningState":"Succeeded","defaultDomain":"mangoisland-210df61a.northeurope.azurecontainerapps.io","staticIp":"20.223.72.144","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"c5353e83-03e4-4e5d-8613-5fb55d8065e9"}},"zoneRedundant":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002","name":"containerapp-e2e-env000002","type":"Microsoft.App/managedEnvironments","location":"northeurope","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-20T22:23:41.8294634","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-20T22:23:41.8294634"},"properties":{"provisioningState":"Succeeded","defaultDomain":"ashyrock-09d818b9.northeurope.azurecontainerapps.io","staticIp":"20.105.113.105","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"9f53d8fb-4665-4e86-9825-09ac0eacfbd7"}},"zoneRedundant":false}}' headers: api-supported-versions: - - 2022-01-01-preview, 2022-03-01 + - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: @@ -979,7 +777,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:43:45 GMT + - Mon, 20 Jun 2022 22:24:53 GMT expires: - '-1' pragma: @@ -1013,41 +811,57 @@ interactions: ParameterSetName: - -n -g --dapr-component-name --yaml User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.6 (macOS-10.16-x86_64-i386-64bit) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"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"}' + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","Canada Central","West + Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany + West Central","Japan East","UK South","West US","Central US","North Central + US","South Central US","Korea Central"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' headers: cache-control: - no-cache content-length: - - '2863' + - '4223' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:43:46 GMT + - Mon, 20 Jun 2022 22:24:53 GMT expires: - '-1' pragma: @@ -1063,12 +877,11 @@ interactions: message: OK - request: body: '{"properties": {"componentType": "state.azure.blobstorage", "version": - "v1", "ignoreErrors": false, "initTimeout": null, "secrets": [{"name": "storage-account-name", - "value": "storage-account-name"}], "metadata": [{"name": "accountName", "value": - null, "secretRef": "storage-account-name"}], "scopes": null}}' + "v1", "secrets": [{"name": "storage-account-name", "value": "storage-account-name"}], + "metadata": [{"name": "accountName", "secretRef": "storage-account-name"}]}}' headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -1076,29 +889,29 @@ interactions: Connection: - keep-alive Content-Length: - - '308' + - '233' Content-Type: - application/json ParameterSetName: - -n -g --dapr-component-name --yaml User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002/daprComponents/dapr-component000003?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002/daprComponents/dapr-component000003","name":"dapr-component000003","type":"Microsoft.App/managedEnvironments/daprComponents","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:43:47.104441Z","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:43:47.104441Z"},"properties":{"componentType":"state.azure.blobstorage","version":"v1","ignoreErrors":false,"secrets":[{"name":"storage-account-name"}],"metadata":[{"name":"accountName","secretRef":"storage-account-name"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002/daprComponents/dapr-component000003","name":"dapr-component000003","type":"Microsoft.App/managedEnvironments/daprComponents","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-20T22:24:54.5038263Z","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-20T22:24:54.5038263Z"},"properties":{"componentType":"state.azure.blobstorage","version":"v1","ignoreErrors":false,"secrets":[{"name":"storage-account-name"}],"metadata":[{"name":"accountName","secretRef":"storage-account-name"}]}}' headers: api-supported-versions: - - 2022-01-01-preview, 2022-03-01 + - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '735' + - '739' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:43:48 GMT + - Mon, 20 Jun 2022 22:24:55 GMT expires: - '-1' pragma: @@ -1114,7 +927,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET status: @@ -1134,41 +947,57 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.6 (macOS-10.16-x86_64-i386-64bit) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"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"}' + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","Canada Central","West + Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany + West Central","Japan East","UK South","West US","Central US","North Central + US","South Central US","Korea Central"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' headers: cache-control: - no-cache content-length: - - '2863' + - '4223' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:43:49 GMT + - Mon, 20 Jun 2022 22:24:56 GMT expires: - '-1' pragma: @@ -1186,7 +1015,7 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -1196,23 +1025,23 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002/daprComponents?api-version=2022-03-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002/daprComponents/dapr-component000003","name":"dapr-component000003","type":"Microsoft.App/managedEnvironments/daprComponents","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:43:47.104441","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:43:47.104441"},"properties":{"componentType":"state.azure.blobstorage","version":"v1","ignoreErrors":false,"secrets":[{"name":"storage-account-name"}],"metadata":[{"name":"accountName","secretRef":"storage-account-name"}]}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002/daprComponents/dapr-component000003","name":"dapr-component000003","type":"Microsoft.App/managedEnvironments/daprComponents","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-20T22:24:54.5038263","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-20T22:24:54.5038263"},"properties":{"componentType":"state.azure.blobstorage","version":"v1","ignoreErrors":false,"secrets":[{"name":"storage-account-name"}],"metadata":[{"name":"accountName","secretRef":"storage-account-name"}]}}]}' headers: api-supported-versions: - - 2022-01-01-preview, 2022-03-01 + - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '745' + - '749' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:43:50 GMT + - Mon, 20 Jun 2022 22:24:58 GMT expires: - '-1' pragma: @@ -1246,41 +1075,57 @@ interactions: ParameterSetName: - -n -g --dapr-component-name User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.6 (macOS-10.16-x86_64-i386-64bit) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"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"}' + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","Canada Central","West + Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany + West Central","Japan East","UK South","West US","Central US","North Central + US","South Central US","Korea Central"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' headers: cache-control: - no-cache content-length: - - '2863' + - '4223' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:43:51 GMT + - Mon, 20 Jun 2022 22:24:59 GMT expires: - '-1' pragma: @@ -1298,7 +1143,7 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -1308,23 +1153,23 @@ interactions: ParameterSetName: - -n -g --dapr-component-name User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002/daprComponents/dapr-component000003?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002/daprComponents/dapr-component000003","name":"dapr-component000003","type":"Microsoft.App/managedEnvironments/daprComponents","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:43:47.104441","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:43:47.104441"},"properties":{"componentType":"state.azure.blobstorage","version":"v1","ignoreErrors":false,"secrets":[{"name":"storage-account-name"}],"metadata":[{"name":"accountName","secretRef":"storage-account-name"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002/daprComponents/dapr-component000003","name":"dapr-component000003","type":"Microsoft.App/managedEnvironments/daprComponents","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-20T22:24:54.5038263","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-20T22:24:54.5038263"},"properties":{"componentType":"state.azure.blobstorage","version":"v1","ignoreErrors":false,"secrets":[{"name":"storage-account-name"}],"metadata":[{"name":"accountName","secretRef":"storage-account-name"}]}}' headers: api-supported-versions: - - 2022-01-01-preview, 2022-03-01 + - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '733' + - '737' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:43:53 GMT + - Mon, 20 Jun 2022 22:25:02 GMT expires: - '-1' pragma: @@ -1358,41 +1203,57 @@ interactions: ParameterSetName: - -n -g --dapr-component-name User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.6 (macOS-10.16-x86_64-i386-64bit) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"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"}' + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","Canada Central","West + Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany + West Central","Japan East","UK South","West US","Central US","North Central + US","South Central US","Korea Central"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' headers: cache-control: - no-cache content-length: - - '2863' + - '4223' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:43:52 GMT + - Mon, 20 Jun 2022 22:25:03 GMT expires: - '-1' pragma: @@ -1410,7 +1271,7 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -1420,23 +1281,23 @@ interactions: ParameterSetName: - -n -g --dapr-component-name User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002/daprComponents/dapr-component000003?api-version=2022-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002/daprComponents/dapr-component000003","name":"dapr-component000003","type":"Microsoft.App/managedEnvironments/daprComponents","systemData":{"createdBy":"silasstrawn@microsoft.com","createdByType":"User","createdAt":"2022-05-12T20:43:47.104441","lastModifiedBy":"silasstrawn@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-05-12T20:43:47.104441"},"properties":{"componentType":"state.azure.blobstorage","version":"v1","ignoreErrors":false,"secrets":[{"name":"storage-account-name"}],"metadata":[{"name":"accountName","secretRef":"storage-account-name"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002/daprComponents/dapr-component000003","name":"dapr-component000003","type":"Microsoft.App/managedEnvironments/daprComponents","systemData":{"createdBy":"haroonfeisal@microsoft.com","createdByType":"User","createdAt":"2022-06-20T22:24:54.5038263","lastModifiedBy":"haroonfeisal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-20T22:24:54.5038263"},"properties":{"componentType":"state.azure.blobstorage","version":"v1","ignoreErrors":false,"secrets":[{"name":"storage-account-name"}],"metadata":[{"name":"accountName","secretRef":"storage-account-name"}]}}' headers: api-supported-versions: - - 2022-01-01-preview, 2022-03-01 + - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: - - '733' + - '737' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:43:57 GMT + - Mon, 20 Jun 2022 22:25:06 GMT expires: - '-1' pragma: @@ -1460,7 +1321,7 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -1472,7 +1333,7 @@ interactions: ParameterSetName: - -n -g --dapr-component-name User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002/daprComponents/dapr-component000003?api-version=2022-03-01 response: @@ -1480,11 +1341,11 @@ interactions: string: '' headers: api-supported-versions: - - 2022-01-01-preview, 2022-03-01 + - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache date: - - Thu, 12 May 2022 20:43:59 GMT + - Mon, 20 Jun 2022 22:25:07 GMT expires: - '-1' pragma: @@ -1516,41 +1377,57 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.6 (macOS-10.16-x86_64-i386-64bit) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Windows-10-10.0.19044-SP0) 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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["North + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["North + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["North + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"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","Central US EUAP"],"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"}' + US 2","East Asia","Australia East","Germany West Central","Japan East","UK + South","West US","Central US EUAP","East US 2 EUAP","Central US","North Central + US","South Central US","Korea Central"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"},{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","Canada Central","West + Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany + West Central","Japan East","UK South","West US","Central US","North Central + US","South Central US","Korea Central"],"apiVersions":["2022-03-01","2022-01-01-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' headers: cache-control: - no-cache content-length: - - '2863' + - '4223' content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:43:59 GMT + - Mon, 20 Jun 2022 22:25:08 GMT expires: - '-1' pragma: @@ -1568,7 +1445,7 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -1578,7 +1455,7 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.8.6 (macOS-10.16-x86_64-i386-64bit) AZURECLI/2.36.0 + - AZURECLI/2.37.0 azsdk-python-mgmt-appcontainers/1.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002/daprComponents?api-version=2022-03-01 response: @@ -1586,7 +1463,7 @@ interactions: string: '{"value":[]}' headers: api-supported-versions: - - 2022-01-01-preview, 2022-03-01 + - 2022-01-01-preview, 2022-03-01, 2022-05-01 cache-control: - no-cache content-length: @@ -1594,7 +1471,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 20:44:00 GMT + - Mon, 20 Jun 2022 22:25:11 GMT expires: - '-1' pragma: diff --git a/src/containerapp/azext_containerapp/tests/latest/test_containerapp_env_commands.py b/src/containerapp/azext_containerapp/tests/latest/test_containerapp_env_commands.py index 0bee02cc9ae..95258b97381 100644 --- a/src/containerapp/azext_containerapp/tests/latest/test_containerapp_env_commands.py +++ b/src/containerapp/azext_containerapp/tests/latest/test_containerapp_env_commands.py @@ -82,7 +82,7 @@ def test_containerapp_env_dapr_components(self, resource_group): containerapp_env = self.cmd('containerapp env show -g {} -n {}'.format(resource_group, env_name)).get_output_in_json() - while containerapp_env["properties"]["provisioningState"].lower() == "waiting": + while containerapp_env["provisioningState"].lower() == "waiting": time.sleep(5) containerapp_env = self.cmd('containerapp env show -g {} -n {}'.format(resource_group, env_name)).get_output_in_json() @@ -99,10 +99,10 @@ def test_containerapp_env_dapr_components(self, resource_group): self.cmd('containerapp env dapr-component show -n {} -g {} --dapr-component-name {}'.format(env_name, resource_group, dapr_comp_name), checks=[ JMESPathCheck('name', dapr_comp_name), - JMESPathCheck('properties.version', 'v1'), - JMESPathCheck('properties.secrets[0].name', 'storage-account-name'), - JMESPathCheck('properties.metadata[0].name', 'accountName'), - JMESPathCheck('properties.metadata[0].secretRef', 'storage-account-name'), + JMESPathCheck('version', 'v1'), + JMESPathCheck('secrets[0].name', 'storage-account-name'), + JMESPathCheck('metadata[0].name', 'accountName'), + JMESPathCheck('metadata[0].secretRef', 'storage-account-name'), ]) self.cmd('containerapp env dapr-component remove -n {} -g {} --dapr-component-name {}'.format(env_name, resource_group, dapr_comp_name)) From 727044ddb3d0b2f645960a6aac4f7cf6a3a7b003 Mon Sep 17 00:00:00 2001 From: Haroon Feisal Date: Mon, 20 Jun 2022 15:59:44 -0700 Subject: [PATCH 15/15] Updated certificates. --- .../azext_containerapp/_client_factory.py | 8 +++- src/containerapp/azext_containerapp/_utils.py | 12 +++-- .../azext_containerapp/commands.py | 4 +- src/containerapp/azext_containerapp/custom.py | 47 ++++++++++--------- .../latest/test_containerapp_commands.py | 6 +-- 5 files changed, 43 insertions(+), 34 deletions(-) diff --git a/src/containerapp/azext_containerapp/_client_factory.py b/src/containerapp/azext_containerapp/_client_factory.py index 4b0fc62355d..1323352c6df 100644 --- a/src/containerapp/azext_containerapp/_client_factory.py +++ b/src/containerapp/azext_containerapp/_client_factory.py @@ -98,4 +98,10 @@ def cf_replicas(cli_ctx, *_): return app_client_factory(cli_ctx).container_apps_revision_replicas def cf_dapr_components(cli_ctx, *_): - return app_client_factory(cli_ctx).dapr_components \ No newline at end of file + return app_client_factory(cli_ctx).dapr_components + +def cf_certificates(cli_ctx, *_): + return app_client_factory(cli_ctx).certificates + +def cf_namespaces(cli_ctx, *_): + return app_client_factory(cli_ctx).namespaces \ No newline at end of file diff --git a/src/containerapp/azext_containerapp/_utils.py b/src/containerapp/azext_containerapp/_utils.py index ededfff9b06..b01b24bdf92 100644 --- a/src/containerapp/azext_containerapp/_utils.py +++ b/src/containerapp/azext_containerapp/_utils.py @@ -1270,14 +1270,16 @@ def load_cert_file(file_path, cert_password=None): def check_cert_name_availability(cmd, resource_group_name, name, cert_name): - name_availability_request = {} - name_availability_request["name"] = cert_name - name_availability_request["type"] = CHECK_CERTIFICATE_NAME_AVAILABILITY_TYPE + from ._client_factory import cf_namespaces + from azure.mgmt.appcontainers.models import CheckNameAvailabilityRequest + client = cf_namespaces(cmd.cli_ctx) + + name_availability_request = CheckNameAvailabilityRequest(name=cert_name, type=CHECK_CERTIFICATE_NAME_AVAILABILITY_TYPE) try: - r = ManagedEnvironmentClient.check_name_availability(cmd, resource_group_name, name, name_availability_request) + r = client.check_name_availability(resource_group_name=resource_group_name, environment_name=name, check_name_availability_request=name_availability_request) except CLIError as e: handle_raw_exception(e) - return r["nameAvailable"] + return r def validate_hostname(cmd, resource_group_name, name, hostname): diff --git a/src/containerapp/azext_containerapp/commands.py b/src/containerapp/azext_containerapp/commands.py index 41efcd534e1..8b27921e731 100644 --- a/src/containerapp/azext_containerapp/commands.py +++ b/src/containerapp/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 azext_containerapp._client_factory import ex_handler_factory, cf_containerapps, cf_managedenvs, cf_revisions, cf_replicas, cf_dapr_components +from azext_containerapp._client_factory import ex_handler_factory, cf_containerapps, cf_managedenvs, cf_revisions, cf_replicas, cf_dapr_components, cf_certificates from ._validators import validate_ssh @@ -73,7 +73,7 @@ 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 certificate') as g: + with self.command_group('containerapp env certificate', client_factory=cf_certificates) as g: g.custom_command('list', 'list_certificates') # TODO: Testing g.custom_command('upload', 'upload_certificate') # TODO: Testing g.custom_command('delete', 'delete_certificate', confirmation=True, exception_handler=ex_handler_factory()) # TODO: Testing diff --git a/src/containerapp/azext_containerapp/custom.py b/src/containerapp/azext_containerapp/custom.py index 6f3fbbcc7db..f343de00d7d 100644 --- a/src/containerapp/azext_containerapp/custom.py +++ b/src/containerapp/azext_containerapp/custom.py @@ -70,7 +70,7 @@ 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, MICROSOFT_SECRET_SETTING_NAME, FACEBOOK_SECRET_SETTING_NAME, GITHUB_SECRET_SETTING_NAME, - GOOGLE_SECRET_SETTING_NAME, TWITTER_SECRET_SETTING_NAME, APPLE_SECRET_SETTING_NAME, CONTAINER_APPS_RP) + GOOGLE_SECRET_SETTING_NAME, TWITTER_SECRET_SETTING_NAME, APPLE_SECRET_SETTING_NAME, CONTAINER_APPS_RP, NAME_ALREADY_EXISTS, NAME_INVALID, ACR_IMAGE_SUFFIX) logger = get_logger(__name__) @@ -2109,14 +2109,14 @@ def containerapp_up_logic(cmd, resource_group_name, name, managed_env, image, en return create_containerapp(cmd=cmd, name=name, resource_group_name=resource_group_name, managed_env=managed_env, image=image, env_vars=env_vars, ingress=ingress, target_port=target_port, registry_server=registry_server, registry_user=registry_user, registry_pass=registry_pass) -def list_certificates(cmd, name, resource_group_name, location=None, certificate=None, thumbprint=None): +def list_certificates(cmd, client, name, resource_group_name, location=None, certificate=None, thumbprint=None): _validate_subscription_registered(cmd, CONTAINER_APPS_RP) def location_match(c): - return c["location"] == location or not location + return c.location == location or not location def thumbprint_match(c): - return c["properties"]["thumbprint"] == thumbprint or not thumbprint + return c.thumbprint == thumbprint or not thumbprint def both_match(c): return location_match(c) and thumbprint_match(c) @@ -2127,19 +2127,20 @@ def both_match(c): else: certificate_name = certificate try: - r = ManagedEnvironmentClient.show_certificate(cmd, resource_group_name, name, certificate_name) + + r = client.get(resource_group_name=resource_group_name, environment_name=name, certificate_name=certificate_name) return [r] if both_match(r) else [] except Exception as e: handle_raw_exception(e) else: try: - r = ManagedEnvironmentClient.list_certificates(cmd, resource_group_name, name) + r = client.list(resource_group_name=resource_group_name, environment_name=name) return list(filter(both_match, r)) except Exception as e: handle_raw_exception(e) -def upload_certificate(cmd, name, resource_group_name, certificate_file, certificate_name=None, certificate_password=None, location=None, prompt=False): +def upload_certificate(cmd, client, name, resource_group_name, certificate_file, certificate_name=None, certificate_password=None, location=None, prompt=False): _validate_subscription_registered(cmd, CONTAINER_APPS_RP) blob, thumbprint = load_cert_file(certificate_file, certificate_password) @@ -2165,30 +2166,30 @@ def upload_certificate(cmd, name, resource_group_name, certificate_file, certifi while not cert_name: random_name = generate_randomized_cert_name(thumbprint, name, resource_group_name) check_result = check_cert_name_availability(cmd, resource_group_name, name, random_name) - if check_result["nameAvailable"]: + if check_result.name_available: cert_name = random_name - elif not check_result["nameAvailable"] and (check_result["reason"] == NAME_INVALID): - raise ValidationError(check_result["message"]) - - certificate = ContainerAppCertificateEnvelopeModel - certificate["properties"]["password"] = certificate_password - certificate["properties"]["value"] = blob - certificate["location"] = location - if not certificate["location"]: + elif not check_result.name_available and (check_result.reason == NAME_INVALID): + raise ValidationError(check_result.message) + + from azure.mgmt.appcontainers.models import ContainerAppCertificateEnvelope + + if not location: try: - managed_env = ManagedEnvironmentClient.show(cmd, resource_group_name, name) - certificate["location"] = managed_env["location"] + from ._client_factory import cf_managedenvs + managed_env = cf_managedenvs(cmd.cli_ctx).get(resource_group_name=resource_group_name, environment_name=name) + location = managed_env.location except Exception as e: handle_raw_exception(e) + certificate_def = ContainerAppCertificateEnvelope(password=certificate_password, value=blob, location=location) + try: - r = ManagedEnvironmentClient.create_or_update_certificate(cmd, resource_group_name, name, cert_name, certificate) - return r + return client.create_or_update(resource_group_name=resource_group_name, environment_name=name, certificate_name=cert_name, certificate_envelope=certificate_def) except Exception as e: handle_raw_exception(e) -def delete_certificate(cmd, resource_group_name, name, location=None, certificate=None, thumbprint=None): +def delete_certificate(cmd, client, resource_group_name, name, location=None, certificate=None, thumbprint=None): _validate_subscription_registered(cmd, CONTAINER_APPS_RP) if not certificate and not thumbprint: @@ -2196,8 +2197,8 @@ def delete_certificate(cmd, resource_group_name, name, location=None, certificat certs = list_certificates(cmd, name, resource_group_name, location, certificate, thumbprint) for cert in certs: try: - ManagedEnvironmentClient.delete_certificate(cmd, resource_group_name, name, cert["name"]) - logger.warning('Successfully deleted certificate: {}'.format(cert["name"])) + client.delete_certificate(resource_group_name=resource_group_name, environment_name=name, certificate_name=cert.name) + logger.warning('Successfully deleted certificate: {}'.format(cert.name)) except Exception as e: handle_raw_exception(e) diff --git a/src/containerapp/azext_containerapp/tests/latest/test_containerapp_commands.py b/src/containerapp/azext_containerapp/tests/latest/test_containerapp_commands.py index 24ecca95e36..fa30782e2e9 100644 --- a/src/containerapp/azext_containerapp/tests/latest/test_containerapp_commands.py +++ b/src/containerapp/azext_containerapp/tests/latest/test_containerapp_commands.py @@ -279,7 +279,7 @@ def test_containerapp_custom_domains_e2e(self, resource_group): containerapp_env = self.cmd('containerapp env show -g {} -n {}'.format(resource_group, env_name)).get_output_in_json() - while containerapp_env["properties"]["provisioningState"].lower() == "waiting": + while containerapp_env["provisioningState"].lower() == "waiting": time.sleep(5) containerapp_env = self.cmd('containerapp env show -g {} -n {}'.format(resource_group, env_name)).get_output_in_json() @@ -303,7 +303,7 @@ def test_containerapp_custom_domains_e2e(self, resource_group): txt_name_2 = "asuid.{}".format(subdomain_2) hostname_1 = "{}.{}".format(subdomain_1, zone_name) hostname_2 = "{}.{}".format(subdomain_2, zone_name) - verification_id = app["properties"]["customDomainVerificationId"] + verification_id = app["customDomainVerificationId"] self.cmd("appservice domain create -g {} --hostname {} --contact-info=@'{}' --accept-terms".format(resource_group, zone_name, contacts)).get_output_in_json() self.cmd('network dns record-set txt add-record -g {} -z {} -n {} -v {}'.format(resource_group, zone_name, txt_name_1, verification_id)).get_output_in_json() self.cmd('network dns record-set txt add-record -g {} -z {} -n {} -v {}'.format(resource_group, zone_name, txt_name_2, verification_id)).get_output_in_json() @@ -326,7 +326,7 @@ def test_containerapp_custom_domains_e2e(self, resource_group): cert_thumbprint = self.cmd('containerapp env certificate list -n {} -g {} -c {}'.format(env_name, resource_group, cert_id), checks=[ JMESPathCheck('length(@)', 1), JMESPathCheck('[0].id', cert_id), - ]).get_output_in_json()[0]["properties"]["thumbprint"] + ]).get_output_in_json()[0]["thumbprint"] # add binding by cert thumbprint self.cmd('containerapp hostname bind -g {} -n {} --hostname {} --thumbprint {}'.format(resource_group, ca_name, hostname_2, cert_thumbprint), expect_failure=True)